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 7, 2023
1 parent 30ad00e commit a55382f
Show file tree
Hide file tree
Showing 10 changed files with 235 additions and 281 deletions.
6 changes: 3 additions & 3 deletions .github/workflow-templates/dev-tests/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ runs:
run: |
chmod uog+x target/release/moonbeam
cd test
pnpm install
bun compile-solidity
bun moonwall test ${{ inputs.moonwall_environment }}
# pnpm i
pnpm moonwall test ${{ inputs.moonwall_environment }}
- name: Upload HTML report
if: always()
uses: actions/upload-artifact@v3.1.2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -513,8 +513,8 @@ jobs:
- name: "Install and run upgrade test"
run: |
cd test
pnpm install
bun moonwall test upgrade_${{matrix.chain}}
pnpm i
pnpm moonwall test upgrade_${{matrix.chain}}
zombie_upgrade_test:
runs-on:
Expand Down
5 changes: 4 additions & 1 deletion test/helpers/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,10 @@ export function sortObjectByKeys(unsortedObject: Record<string, any>): Record<st
}, {});
}

export async function getMappingInfo(context: DevModeContext, authorId: string) {
export async function getMappingInfo(
context: DevModeContext,
authorId: string
): Promise<{ account: string; deposit: BigInt } | null> {
const mapping = await context.polkadotJs().query.authorMapping.mappingWithDeposit(authorId);
if (mapping.isSome) {
return {
Expand Down
13 changes: 4 additions & 9 deletions test/moonwall.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -188,20 +188,15 @@
"binPath": "../target/release/moonbeam",
"newRpcBehaviour": true,
"options": [
"--execution=Native",
"--wasm-execution=interpreted-i-know-what-i-do",
"--ethapi=txpool",
"--dev",
"--no-hardware-benchmarks",
"--no-telemetry",
"--reserved-only",
"--no-grandpa",
"--no-prometheus",
"--force-authoring",
"--rpc-cors=all",
"--alice",
"--chain=moonbase-dev",
"--no-grandpa",
"--sealing=manual",
"--tmp"
"--force-authoring",
"--no-prometheus"
]
}
]
Expand Down
13 changes: 6 additions & 7 deletions test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
"license": "ISC",
"devDependencies": {
"@moonbeam-network/api-augment": "^0.2400.0",
"@moonwall/cli": "^4.0.9",
"@moonwall/util": "^4.0.8",
"@moonwall/cli": "^3.0.11",
"@moonwall/util": "^3.0.11",
"@polkadot/api": "^10.9.1",
"@polkadot/api-augment": "^10.9.1",
"@polkadot/types": "^10.9.1",
Expand All @@ -37,7 +37,7 @@
},
"dependencies": {
"@acala-network/chopsticks": "^0.7.3",
"@openzeppelin/contracts": "^4.9.3",
"@openzeppelin/contracts": "^4.9.2",
"@polkadot/api-derive": "^10.9.1",
"@polkadot/apps-config": "^0.132.1",
"@polkadot/keyring": "^12.3.2",
Expand All @@ -52,10 +52,9 @@
"eth-object": "github:aurora-is-near/eth-object#master",
"json-bigint": "^1.0.0",
"json-stable-stringify": "^1.0.2",
"merkle-patricia-tree": "^4.2.4",
"node-fetch": "^3.3.2",
"rlp": "^3.0.0",
"semver": "^7.5.4",
"node-fetch": "^3.3.1",
"rimraf": "^5.0.1",
"semver": "^7.5.2",
"solc": "0.8.19",
"viem": "^1.5.3",
"vitest": "^0.31.4"
Expand Down

0 comments on commit a55382f

Please sign in to comment.