Skip to content

Commit

Permalink
Update to support Substrate v0.9.18 and Frontier/Ethereum/EVM + EIP-1…
Browse files Browse the repository at this point in the history
…559 (#635)

* Remove unused Orml crates

* Import reward_active_validator with MintedForValidator

* Bump to v4.3.0

* Run `make format`

* Update to polkadot-v0.9.18

* Fix gateway and test

 * Remove musig2

 * Fix test

* Fix chainx-runtime and malan-runtime

* Use chainx primitives types

* Add ChainX frontier

* Add xpallet-assets-bridge

* Add migrations fot chainx and malan runtime

* Use chainx-adaptor features
As we all know, ChainX decimals=8, Metamask supports evm chain with decimals=18 by default.
In order to be compatible with Metamask, chainx-frontier has done the following for Native Currency Balance
(1) `wasm -> evm` (get_Balance): expand 10^10
(2) `evm -> wasm` (calc gas fee): shrink 10^10

* Add EthereumChainIdMigration migration

* Fix Makefile

* Skip FrontierBlockImport NoFound

* Fix CI

* Fix PurgeChain subcommand

* Fix typo

Co-authored-by: icodezjb <[email protected]>
Co-authored-by: AAweidai <[email protected]>
  • Loading branch information
3 people authored May 25, 2022
1 parent 17fcad5 commit eda44b8
Show file tree
Hide file tree
Showing 213 changed files with 7,709 additions and 4,239 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ jobs:
run: make test

- name: 4-Benchmark
run: make benchmark
run: make pre-benchmarks
Loading

0 comments on commit eda44b8

Please sign in to comment.