Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EVM Precompiles: Metaverse Pallet #254

Open
wants to merge 107 commits into
base: feature/evm-precompiles
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
107 commits
Select commit Hold shift + click to select a range
b3a1f50
initial metaverse pallet precompile implementation
chexware Nov 23, 2022
aea9183
added pallets prefixes and metaverse pallet precompile to the precomp…
chexware Nov 25, 2022
5823f5d
precompiles set with include metaverse precompile builds correctly
chexware Nov 25, 2022
adabd68
Merge branch 'bit-country:master' into feature/evm-precompiles
chexware Dec 2, 2022
4d23f08
fixed formatting
chexware Dec 12, 2022
5ae9602
fixed metaverse pallet test error and added its precompile interface …
chexware Dec 12, 2022
2c59b6b
updated solidity contract custom selectors
chexware Dec 12, 2022
157b623
fix documentation comments errors in the metaverse precompile interfa…
chexware Dec 13, 2022
c28be0a
fixed metaverse pallet interface types compile errors + typos
chexware Jan 5, 2023
66eba2c
Merge branch 'bit-country:master' into feature/metaverse-pallet-preco…
chexware Jan 8, 2023
9e424c1
updated relevant error messages and added commented implementation of…
chexware Jan 17, 2023
fd6a19b
updated precompile interface address
chexware Jan 23, 2023
7971d91
Merge remote-tracking branch 'upstream/feature/evm-precompiles' into …
chexware Apr 27, 2023
0a611a1
updated metaverse pallet name in common runtime to prevent errors in…
chexware Apr 27, 2023
873c62a
Merge pull request #277 from chexware/feature/nft-pallet-precompile
justinphamnz May 1, 2023
2907ebb
exposed stackable collection balances and transfer to NFTTrait
chexware May 3, 2023
04063d2
initial stackable nft marketplace implementation with no balance res…
chexware May 4, 2023
16f9b54
added test for creating auction and buy now with stackable nft
chexware May 4, 2023
2462da7
added test for transferring stackable nfts after buy now
chexware May 4, 2023
2e36df5
allowed listing same stackable nft multiple times + added stackable n…
chexware May 5, 2023
7b4a126
Merge pull request #276 from bit-country/feature/evm-precompiles
justinphamnz May 5, 2023
7172058
added safe addition of current reserve stackable amount
chexware May 7, 2023
777d0d8
enabled reserved balance check when transferring new stackable NFT ou…
chexware May 8, 2023
470a84c
fixed test errors
chexware May 8, 2023
fc7bc23
fixed formatting
chexware May 8, 2023
893d647
updated nft pallet benchmarking
chexware May 9, 2023
e124a7a
updated all pallets versions to polkadot-v0.9.38
chexware May 18, 2023
96d8d79
updated pioneer runtime to polkadot 0.9.38
chexware May 18, 2023
26f4c93
updated serde version
chexware May 18, 2023
ad41d33
updated integration tests to polkadot 0.9.380
chexware May 19, 2023
a3cb4f8
Added storage migration
chexware May 22, 2023
965c97e
remove unused comments
chexware May 22, 2023
4019a0f
fixed building error for signature::Signature trait
chexware May 22, 2023
58f8cbf
update xcm Multilocation definition in primitives folder
chexware May 22, 2023
98bfd9d
fix missing xcm GeneralKey import after xcm version update
chexware May 23, 2023
310ae46
updated runtime config Event type to RuntimeEvent in relevant configu…
chexware May 30, 2023
54d4bfb
updated Origin type to RuntimeOrigin in relevant runtime definitions …
chexware May 31, 2023
e3052fb
weights format updated
chexware Jun 1, 2023
523ac1b
updated Call to RuntimeCall in runtime definitions & mocks + Origin t…
chexware Jun 2, 2023
3ee6595
added CurrencyHooks for orml_tokens config
chexware Jun 5, 2023
ea0e2c8
updated Weight return values for runtime upgrade and hooks
chexware Jun 5, 2023
1b82ada
updated precompile utils xcm definitions
chexware Jun 5, 2023
7328bf6
updated non-benchmarked weights to Weights v2, updated xcm MultiLocat…
chexware Jun 6, 2023
13cd567
fixed relaychain module XCM deffinition + updated Origin type to Runt…
chexware Jun 6, 2023
d9cbae9
fixed weight to gas mapping errors, common runtime build ererors, bri…
chexware Jun 8, 2023
fa6571c
fixed runtime definitions for grandpa, vesting, scheduler, preimage, …
chexware Jun 8, 2023
57e3d5f
fixed ContractsApi runtime definition
chexware Jun 8, 2023
f73bafd
fixed pallet_evm metaverse runtime and common mock definitions
chexware Jun 8, 2023
e701084
fixed leftover metaverse runtime build errors
chexware Jun 8, 2023
46a0f36
updated pallets mock definitions
chexware Jun 8, 2023
8b3c051
fixed pioneer and continuum runtime definitions
chexware Jun 9, 2023
99bfcd7
updated tests Origin and Event naming to RuntimeOrigin and RuntimeEve…
chexware Jun 9, 2023
d888101
fixed node chain_spec and service for metaverse runtime
chexware Jun 12, 2023
5a712b4
fixed cli config
chexware Jun 12, 2023
686e784
fixed rpc_metaverse config
chexware Jun 12, 2023
b6972ef
runtime builds without error
chexware Jun 12, 2023
1a18fb3
Fixed tests build errors and updated pioneer and continuum service co…
chexware Jun 13, 2023
92c9c13
pioneer and continuum runtimes build correctly
chexware Jun 13, 2023
5752b2a
updated EnsureOrigin successful_origin to try_successful_origin in ru…
chexware Jun 14, 2023
f4a7a89
updated workflow files
chexware Jun 15, 2023
32e75c9
updated workflow files setup
chexware Jun 15, 2023
d2e690d
benchmarking builds correctly
chexware Jun 19, 2023
853e30d
enabled benchmakring BenchmarkStorageCmd for runtime benchmarking
chexware Jun 19, 2023
cc79c00
re-enabled SystemBench benchmark for pioneer and continuum runtimes
chexware Jun 19, 2023
4485b3a
cleaned weights
chexware Jun 20, 2023
824c5c5
fixed local governance mock
chexware Jun 20, 2023
877a65b
Merge pull request #279 from chexware/feature/stackable-nfts-on-marke…
justinphamnz Jun 20, 2023
ced36d4
updated MAXIMUM_BLOCK_WEIGHT and pallet_contracts MaxCodeLen values t…
chexware Jun 21, 2023
f8c3514
removed old weights template and benchmarked all relevant pallets; up…
chexware Jun 21, 2023
8dcd70d
Merge branch 'master' into runtime-upgrade/polkadot-v0.9.38
chexware Jun 21, 2023
948bd57
fixed error after merge with master + benchmarked nft and auction pal…
chexware Jun 21, 2023
9a04891
update continuum runtime definition + added continuum runtime specs j…
chexware Jun 24, 2023
37a356f
added initial workspace dependencies
chexware Jun 27, 2023
c3361f0
all orml pallets are using workspace config
chexware Jun 27, 2023
18f00c9
polkadot + xcm pallets versions added using workspace config
chexware Jun 27, 2023
bf7ef86
frontier pallets version set through workspace
chexware Jun 28, 2023
7c32d07
cumulus pallets version set through workspace + leftover xcm pallet v…
chexware Jun 28, 2023
9fe9b6d
scale-info version is defined through workspace
chexware Jun 28, 2023
bedb1ec
Bump node version
justinphamnz Jun 28, 2023
3333bc6
Update bridge unit test
justinphamnz Jun 28, 2023
91a30ec
Fix test build compilation issue
justinphamnz Jun 28, 2023
69a038a
Bump pioneer version
justinphamnz Jun 28, 2023
48dc31c
Merge pull request #280 from chexware/runtime-upgrade/polkadot-v0.9.38
justinphamnz Jun 28, 2023
59f2169
using node template RPC and frame pallets version defined in worksp…
chexware Jul 5, 2023
01f2cfb
updated docker configs rust version + all substrate primitives and n…
chexware Jul 6, 2023
d565473
added missing docker file changes
chexware Jul 6, 2023
6102f07
alsl substrate pallets versions are defined through workspace toml file
chexware Jul 6, 2023
a66632c
serde version is set through workspace config
chexware Jul 6, 2023
2c7c2e3
leftover gereral rust and serde pallet definitons are using workspace…
chexware Jul 6, 2023
7d3825b
updated serde config version to use workspace for metaverse primitives
chexware Jul 6, 2023
df00025
Merge branch 'master' into runtime-optimisation
chexware Jul 6, 2023
5953d66
updated codec config for common runtime
chexware Jul 6, 2023
c981b8d
reverted sha3 version definiton in precompile primitives to version 0…
chexware Jul 10, 2023
06445da
added initial chopsticks config
chexware Jul 11, 2023
63b092b
bump test workflow version
chexware Jul 12, 2023
12d2a11
revert test workflow version
chexware Jul 12, 2023
93f97a0
bump ubuntu version in test workflow config
chexware Jul 12, 2023
4c5071a
revert ubuntu version on test workflow
chexware Jul 12, 2023
682183f
Merge pull request #281 from chexware/runtime-optimisation
justinphamnz Jul 21, 2023
31e473a
Include protobuf complier when build docker
justinphamnz Jul 24, 2023
6132e66
Update rust toolchain to 9.37 to fix the wasm build issue
justinphamnz Jul 30, 2023
25c7ba5
updated chopsticks setup for runtime-upgrade
chexware Aug 8, 2023
8ce5d29
Merge branch 'master' into feature/metaverse-pallet-precompile
chexware Aug 30, 2023
4b071b4
updated rust version + setup for metaverse pallet precompile testing
chexware Aug 31, 2023
1291e5c
fixed formatting + exposed metaverse owner access to precompile get f…
chexware Sep 1, 2023
15742ee
fixed transfer_metaverse precompile action
chexware Sep 1, 2023
01a2dd4
fixed MetaverseInterface Solidity contract
chexware Sep 1, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/rust-benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ jobs:
- uses: actions/checkout@v3

- name: Set-Up
run: sudo apt install -y cmake pkg-config libssl-dev git build-essential clang libclang-dev curl
run: sudo apt install -y protobuf-compiler cmake pkg-config libssl-dev git build-essential clang libclang-dev curl

- name: Install Rustup
run: |
curl https://sh.rustup.rs -sSf | sh -s -- -y
source ~/.cargo/env
rustup default nightly && rustup update
rustup default nightly-2022-05-11
rustup target add wasm32-unknown-unknown --toolchain nightly-2022-05-11
rustup default nightly-2023-01-24
rustup target add wasm32-unknown-unknown --toolchain nightly-2023-01-24
- name: Check Rust version
run: rustup show
- name: Check Format
Expand Down
40 changes: 0 additions & 40 deletions .github/workflows/rust-build-benchmarking.yml

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/rust-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ jobs:
- uses: actions/checkout@v3

- name: Set-Up
run: sudo apt install -y cmake pkg-config libssl-dev git build-essential clang libclang-dev curl
run: sudo apt install -y protobuf-compiler cmake pkg-config libssl-dev git build-essential clang libclang-dev curl

- name: Install Rustup
run: |
curl https://sh.rustup.rs -sSf | sh -s -- -y
source ~/.cargo/env
rustup default nightly && rustup update
rustup default nightly-2022-05-11
rustup target add wasm32-unknown-unknown --toolchain nightly-2022-05-11
rustup default nightly-2023-01-24
rustup target add wasm32-unknown-unknown --toolchain nightly-2023-01-24
- name: Check Rust version
run: rustup show
- name: Check Format
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/rust-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ jobs:
- uses: actions/checkout@v3

- name: Set-Up
run: sudo apt install -y cmake pkg-config libssl-dev git build-essential clang libclang-dev curl
run: sudo apt install -y protobuf-compiler cmake pkg-config libssl-dev git build-essential clang libclang-dev curl

- name: Install Rustup
run: |
curl https://sh.rustup.rs -sSf | sh -s -- -y
source ~/.cargo/env
rustup default nightly && rustup update
rustup default nightly-2022-05-11
rustup target add wasm32-unknown-unknown --toolchain nightly-2022-05-11
rustup default nightly-2023-01-24
rustup target add wasm32-unknown-unknown --toolchain nightly-2023-01-24
- name: Check Rust version
run: rustup show
- name: Run all test cases
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
# The cache for chain data in container
.local

# chopsticks DB
db.sqlite

.vscode
*.code-workspace
Expand Down
Loading