Skip to content

Commit

Permalink
Move predeploy-contracts into ./blockchain
Browse files Browse the repository at this point in the history
Move predeploy-contracts into `./blockchain`
  • Loading branch information
balqaasem committed Feb 15, 2024
1 parent 4d7b0c9 commit a66ec36
Show file tree
Hide file tree
Showing 47 changed files with 2 additions and 20 deletions.
4 changes: 0 additions & 4 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
[submodule "predeploy-contracts"]
path = blockchain/submodules/predeploy-contracts
url = https://github.com/Setheum-Labs/predeploy-contracts.git

[submodule "orml"]
path = orml
url = https://github.com/Slixon-Technologies/open-runtime-module-library.git
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -125,4 +125,4 @@ endif
.PHONY: generate-tokens
generate-tokens:
cargo test -p setheum-primitives -- --ignored
cd blockchain/submodules/predeploy-contracts && yarn && yarn run generate-bytecode
cd blockchain/predeploy-contracts && yarn && yarn run generate-bytecode
16 changes: 1 addition & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ sudo apt-get install -y git make clang curl pkg-config libssl-dev llvm libudev-d

You may need additional dependencies, checkout [substrate.io](https://docs.substrate.io/v3/getting-started/installation) for more info.

Make sure you have `submodule.recurse` set to true to configure submodules.
Make sure you have `submodule.recurse` set to true to ease submodule use.

```bash
git config --global submodule.recurse true
Expand Down Expand Up @@ -210,12 +210,6 @@ Update Cargo:
make update
```

Update Submodules:

```bash
make update-submodules
```

Update ORML:

```bash
Expand All @@ -224,14 +218,6 @@ git add orml
cargo update check-all
```

Update Predeploy-Contracts:

```bash
cd blockchain/submodules/predeploy-contracts && git checkout master && git pull
git add predeploy-contracts
cargo update check-all
```

__Note:__ All build command from Makefile are designed for local development purposes and hence have `SKIP_WASM_BUILD` enabled to speed up build time and use `--execution native` to only run using native execution mode.

## 4.0. Nodes
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit a66ec36

Please sign in to comment.