Skip to content

Commit

Permalink
Dependency (Substrate/Polkadot/Frontier/Cumulus/...) update to v0.9.43 (
Browse files Browse the repository at this point in the history
#2377)

* begin upgrade to v0.9.43

* make client/vrf compile

* make pallet-author-mapping compile

* make pallet-erc20-xcm-bridge compile

* make primitives/session-keys compile

* fix test in pallet-parachain-staking

* make pallet-moonbeam-orbiters compile

* make pallet-asset-manager compile

* fix dependencies

* make pallet-xcm-transactor compile

* make pallet-migrations compile

* make pallet-randomness compile

* fix schnorrkel in randomness

* enable insecure_zero_ed flag

* update frontier fork

* use moonbeam forks

* impl TypeInfo for TxPoolResponse

* use our evm fork

* AssetId non-Copy

* make moonbase runtime compile

* moonbeam runtime compiles

* moonriver runtime compiles

* start fixing client & node

* fix frontier sql

* fix mocks

* fix relay-encoder

* fix pallet-ethereum dep

* prepare moonbase mocks & tests

* prepare moonbeam mocks & tests

* prepare moonriver mocks & tests

* fix integration tests (costs)

* fix node service

* fix xcm tests

* update cumulus pin

* Merge branch 'master' into upgrade-v0.9.43

* remove changes in settings.json

* fix rpc-port in dev & para node

* fix randomness benchmarks

* enable newRpcBehaviour on Moonwall

* fmt

* update moonkit pin

* make tests compile with runtime-benchmarks feature

* Update node invocations to use rpc-port instead of ws-port (#2388)

* Update node invocations to use rpc-port instead of ws-port

* Prettier

* Removed unneeded options from moonwall config

* Removed unused arg

* Cargo.toml files fmt

* Update RelayEncoder to be 9430 compatible (#2376)

* Update RelayEncoder stake calls to latest changes

* fmt

* Naming

* fmt

* Fix tests

* Completely removed old calls

* fmt

* Update Solidity contract

* Updated tests

* Review

* Updated tests

* fmt

* Prettier

* Prettier

* Updated encodeNominate param type

---------

Co-authored-by: Francisco Gamundi <francisco@purestake.com>

* Updated encodeSetPayee selector

* clippy fixes in moonkit

* clippy fixes in moonbeam

* fix some rust benchmark tests

* fix genesis balance for TS tests

* fix some TS tests

* fix fees & gas cost in TS tests

* fix rust tests

* Upgrade polkadot-js and support weight v2 for fees

* update substrate & frontier pin

* WasmExecutor ignore onchain heap pages

* Fix moonwall chopsticks test

* Fix zombie

* moonwall dev fixes

* restored APIs

* add provider to chospticks storage

* update polkadot pin

* remove wasm overrideP

* update substrate pin to fix pov tests

* fix test

* eth test fix

* prettier

* chopsticks fixes

* disabled test

* fix reducible balance TS test

* fix moonwall

* changed base ext weight

* fix eth-tx-types TS tests

* fix precompile assets-erc20 TS tests

* status.isFrozen fix in precompile TS tests

* fix test-txpool-fairness

* fix proxy-governance TS tests

* prettier

* adjusted fillBlock input param

* update frontier pin

* fix fee-multiplier TS test

* fix test-filter-api-pending

* ED of zero in more mocks

* remove unnecessary clone

* change test-staking-locks timeout

* change timeout in test-precompile-referenda

* timeout again

* upgrade rust to 1.71

* fix rust warning: unused mut

* update substrate pin

* proposer: enable feature ensure_proof_size_limit_after_each_extrinsic

* fix clippy warnings

* fix rust tests compilation

* timeout

* migrate to moonkit (#2384)

* migrate to moonkit

* make it compile

* fix rust tests & clippy

---------

Co-authored-by: agus <agusrodriguez2456@gmail.com>

* minor changes

---------

Co-authored-by: librelois <c@elo.tf>
Co-authored-by: Nisheeth Barthwal <nbaztec@gmail.com>
Co-authored-by: Francisco Gamundi <52399794+fgamundi@users.noreply.github.com>
Co-authored-by: Crystalin <alan@moonsonglabs.com>
Co-authored-by: Francisco Gamundi <francisco@purestake.com>
Co-authored-by: Francisco Gamundi <francisco@moonsonglabs.com>
Co-authored-by: timbrinded <79199034+timbrinded@users.noreply.github.com>
Co-authored-by: girazoki <gorka.irazoki@gmail.com>
  • Loading branch information
9 people committed Aug 3, 2023
1 parent f4fe97a commit 93548ee
Show file tree
Hide file tree
Showing 232 changed files with 7,222 additions and 12,903 deletions.
19 changes: 18 additions & 1 deletion .github/workflow-templates/dev-tests/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,22 @@ runs:
node-version: 18.x
cache: "pnpm"
cache-dependency-path: test/pnpm-lock.yaml

- name: Setup Moonbeam PolkadotJS types
shell: bash
run: |
#### Preparing the legacy types
cd moonbeam-types-bundle
npm ci
npm run build
#### Preparing the typescript api
cd ../typescript-api
npm ci
cd ../test
pnpm i ../typescript-api
- name: "Install and run dev test"
shell: bash
env:
Expand All @@ -26,8 +42,9 @@ runs:
run: |
chmod uog+x target/release/moonbeam
cd test
pnpm i
# pnpm i
pnpm moonwall test ${{ inputs.moonwall_environment }}
- name: Upload HTML report
if: always()
uses: actions/upload-artifact@v3.1.2
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -499,16 +499,20 @@ jobs:
node-version: 18.x
cache: "pnpm"
cache-dependency-path: test/pnpm-lock.yaml
- name: Create local folders
run: |
mkdir -p target/release/wbuild/${{ matrix.chain }}-runtime/
mkdir -p test/tmp
- name: "Download runtime"
uses: actions/download-artifact@v3.0.2
with:
name: runtimes
path: test/runtimes
path: target/release/wbuild/${{ matrix.chain }}-runtime/
- name: "Install and run upgrade test"
run: |
cd test
pnpm i
pnpm moonwall test CI_upgrade_RT_${{matrix.chain}}
pnpm moonwall test upgrade_${{matrix.chain}}
zombie_upgrade_test:
runs-on:
Expand Down
2 changes: 0 additions & 2 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
"-linfo",
"--port=${dbgconfig:port_p2p}",
"--rpc-port=${dbgconfig:port_rpc}",
"--ws-port=${dbgconfig:port_ws}",
"--tmp"
],
"cwd": "${workspaceFolder}",
Expand All @@ -39,7 +38,6 @@
"-linfo",
"--port=${dbgconfig:port_p2p}",
"--rpc-port=${dbgconfig:port_rpc}",
"--ws-port=${dbgconfig:port_ws}",
"--tmp"
],
"cwd": "${workspaceFolder}",
Expand Down
3 changes: 1 addition & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
"lldb.dbgconfig": {
"rustc_path": "${env:HOME}/.rustup/toolchains/nightly-2021-01-13-x86_64-unknown-linux-gnu/lib/rustlib/src/rust",
"port_p2p": 30333,
"port_rpc": 9933,
"port_ws": 9944
"port_rpc": 9944
}
}

0 comments on commit 93548ee

Please sign in to comment.