Skip to content

Commit

Permalink
Rebase timbo-dev-migrate-2 branch to 0.9.43 (#2420)
Browse files Browse the repository at this point in the history
* Dependency (Substrate/Polkadot/Frontier/Cumulus/...) update to v0.9.43 (#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>

* fix CI

* changes

* fix CI

* fixed some tests

* more test fixes

* fixed tests

* lint

* editor config

* pkg fix

---------

Co-authored-by: Agustín Rodriguez <agus@moonsonglabs.com>
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: girazoki <gorka.irazoki@gmail.com>
  • Loading branch information
9 people committed Aug 6, 2023
1 parent 99222aa commit 32cdce8
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 71 deletions.
67 changes: 1 addition & 66 deletions test/moonwall.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@
{
"name": "moonbeam",
"binPath": "../target/release/moonbeam",
"newRpcBehaviour": true,
"options": [
"--execution=Native",
"--wasm-execution=interpreted-i-know-what-i-do",
Expand Down Expand Up @@ -318,72 +319,6 @@
"endpoints": ["ws://127.0.0.1:8000"]
}
]
},
{
"name": "CI_upgrade_RT_moonbeam",
"testFileDir": ["suites/rt-upgrade/"],
"foundation": {
"type": "chopsticks",
"rtUpgradePath": "./runtimes/moonbeam_runtime.compact.compressed.wasm",
"launchSpec": [
{
"name": "mb",
"type": "parachain",
"configPath": "./configs/moonbeam.yml"
}
]
},
"connections": [
{
"name": "MB",
"type": "polkadotJs",
"endpoints": ["ws://127.0.0.1:8000"]
}
]
},
{
"name": "CI_upgrade_RT_moonriver",
"testFileDir": ["suites/rt-upgrade/"],
"foundation": {
"type": "chopsticks",
"rtUpgradePath": "./runtimes/moonriver_runtime.compact.compressed.wasm",
"launchSpec": [
{
"name": "mb",
"type": "parachain",
"configPath": "./configs/moonriver.yml"
}
]
},
"connections": [
{
"name": "MB",
"type": "polkadotJs",
"endpoints": ["ws://127.0.0.1:8000"]
}
]
},
{
"name": "CI_upgrade_RT_moonbase",
"testFileDir": ["suites/rt-upgrade/"],
"foundation": {
"type": "chopsticks",
"rtUpgradePath": "./runtimes/moonbase_runtime.compact.compressed.wasm",
"launchSpec": [
{
"name": "mb",
"type": "parachain",
"configPath": "./configs/alphanet.yml"
}
]
},
"connections": [
{
"name": "MB",
"type": "polkadotJs",
"endpoints": ["ws://127.0.0.1:8000"]
}
]
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ describeSuite({
id: "",
title: "should not succeed in clearing an association for an unregistered author",
test: async function () {
expect(await getMappingInfo(context, BALTATHAR_SESSION_ADDRESS)).to.eq(null);
expect(await getMappingInfo(context, BALTATHAR_SESSION_ADDRESS)).toBeUndefined();
const api = context.polkadotJs();
const { result } = await context.createBlock(
api.tx.authorMapping.clearAssociation(BALTATHAR_SESSION_ADDRESS),
Expand Down
6 changes: 3 additions & 3 deletions test/suites/dev/test-eth-pool/test-eth-pool-error.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,16 +77,16 @@ describeSuite({
id: "T03",
title: "nonce too low",
test: async function () {
const nonce = await context.viem().getTransactionCount({ address: ALITH_ADDRESS });
const tx1 = await createEthersTransaction(context, {
const nonce = await context.viem().getTransactionCount({ address: CHARLETH_ADDRESS });
const tx1 = await context.createTxn!({
to: BALTATHAR_ADDRESS,
value: 1n,
nonce,
privateKey: CHARLETH_PRIVATE_KEY,
});
await context.createBlock(tx1);

const tx2 = await createEthersTransaction(context, {
const tx2 = await context.createTxn!({
to: DOROTHY_ADDRESS,
value: 2n,
nonce: Math.max(nonce - 1, 0),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ describeSuite({
it({
id: "T02",
title: "returns different address on modified message",
modifier: "only",
test: async function () {
const msg = context.web3().utils.sha3("Hello World!");
const sig = context.web3().eth.accounts.sign(msg!, ALITH_PRIVATE_KEY);
Expand Down

0 comments on commit 32cdce8

Please sign in to comment.