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

Upgrade to polkadot-v0.9.37 #5

Open
wants to merge 551 commits into
base: subsocial/staking
Choose a base branch
from

Conversation

TarekkMA
Copy link

Please merge #4 first

@TarekkMA TarekkMA force-pushed the tarekkma/upgrade-to-polkadot-24 branch from 6b3a7ab to 9b97841 Compare August 11, 2022 10:57
timbrinded and others added 27 commits November 21, 2022 15:03
* Added standard eth RPC tests

* reduced line length

* Added testskip for FullFilter pool
* remove useless job docker-parachain

* fix if condition for exterrnal PRs

solution find here: https://github.com/orgs/community/discussions/25217

* apply suggestion
…on#1955)

* Added xcm failures smoke test

* Lint

* fixed spelling

* New smoke test to detect emulated Ethereum txn failures (moonbeam-foundation#1961)

* Progress on paysFee

* Added new eth fail test

* Added tests new eth failed txn tests

* Lint

* Reverted vsc settings.json

* Update settings.json

for some reason prettier was flagging this as error despite on ignore list.

* Update settings.json

* prettier

* prettier
* UPdate tomls

* bump ethereum types

* pallet-staking: RuntimeEvent, RUntimeCall, RuntimeOrigin

* asset-manager: RuntimeEvent, RUntimeCall, RuntimeOrigin

* author-mapping: RuntimeEvent, RUntimeCall, RuntimeOrigin

* ethereum-xcm: RuntimeEvent, RUntimeCall, RuntimeOrigin

* maintenance-mode: RuntimeEvent, RUntimeCall, RuntimeOrigin

* migrations: RuntimeEvent, RUntimeCall, RuntimeOrigin

* moonbeam-orbiters: RuntimeEvent, RUntimeCall, RuntimeOrigin

* proxy-genesis: RuntimeEvent, RUntimeCall, RuntimeOrigin

* randomness: RuntimeEvent, RUntimeCall, RuntimeOrigin

* xcm-transactor: RuntimeEvent, RUntimeCall, RuntimeOrigin

* FMT

* assets-erc20-precomp: RuntimeEvent, RUntimeCall, RuntimeOrigin and new weights

* author-mapping-precomp: RuntimeEvent, RUntimeCall, RuntimeOrigin and new weights

* balances-precomp: RuntimeEvent, RUntimeCall, RuntimeOrigin and new weights

* batch-precomp: RuntimeEvent, RUntimeCall, RuntimeOrigin and new weights

* call-permit: RuntimeEvent, RUntimeCall, RuntimeOrigin and new weights

* collective-precomp: RuntimeEvent, RUntimeCall, RuntimeOrigin and new weights

* crowdloan-precomp: RuntimeEvent, RUntimeCall, RuntimeOrigin and new weights

* new cargo lock

* Fix error on toml

* pallet-democracy:runtimecall, runtime:origin

* staking-precomp:runtimecall, runtime:origin

* democracy-precomp:runtimecall, runtimeorigin

* randomness-precomp:runtimecall, runtimeorigin

* relay-encoder-precomp:runtimecall, runtimeorigin

* xcm-transactor-precomp:runtimecall, runtimeorigin

* xcm-utils-precomp:runtimecall, runtimeorigin

* xtokens-precomp:runtimecall, runtimeorigin

* precompile fmt

* Adapting moonbase to RuntimeEvent, RuntimeCall, RuntimeOrigin

* Fix moonbase runtime, which compiles now

* Adapt moonriver runtime to: democracy changes, RuntimeOrigin, RuntimeEvent, RuntimeCall

* moonbeam

* Adapt everything to clap 4.0.9

* FMT and fix democracy precompiles

* Start fixing pallet-democracy precompile tests

* BRing back note_preimage tests, imminent is removed

* Bring back imminent preimage

* moonbase tests updated

* FMT

* moonriver tests working

* install protoc in ci

* try again without sudo

* try again, this time manually

* Moonriver fmt, test fixes

* Fix moonbeam rust tests

* Fix last rust tests

* Adapt weight calculus to new weight system

* start fixing typescript tests

* Keep fixing tests

* Dispatch info now returns with base weight

* fix queue now new weight

* Keep fixing new weight related tests

* remove proto installation

* fix again github job

* Point at official evm and ethereum crates

* Debugging scheduler not working

* Keep fixing bounded democracy test calls

* Fix crowdloan democracy test

* Keep fixing tests

* More fixes related to weights and democracy

* FMT

* toml sort

* prettier

* more prettier

* compile benchmarks

* toml sort

* remove warning

* remove unused var

* Cargo lock

* fix proxy-governance test

* change democracy-proposal test

* More fixes

* Fix latest of democracy tests

* Add remaining migrations from BoundedCall

* Upgrade to 0.9.32

* FMT

* toml sort

* prettier

* editorconfig

* update polkadot api

* fix ega

* add proxy filters, this time in create_pure and kill_pure

* Add couple of db reads

* remove some as anys

* Revert "remove some as anys"

This reverts commit 5c9294a.

* fix try-runtime

* try-runtime hooks being executed

* Add pr suggestions

* warnings cleared

* more unused imports

* Fix merge error

* prettier

* add when runtime migrations were completed

* remove migrations that have already run and that require maintenance

* Preimage lazy migration (moonbeam-foundation#1962)

* migration call

* add new migration Call to runtimes

* unit tests

* benchmarking

* Benchmarking from the benchmarking server

* toml fmt

Co-authored-by: girazoki <[email protected]>

* fmt

* 0.9.31 ts fixes (moonbeam-foundation#1966)

* ts fixes

* small fixes

* lint

Co-authored-by: nanocryk <[email protected]>
Co-authored-by: Tim B <[email protected]>
Co-authored-by: Crystalin <[email protected]>
* typescript API v0.1901.0"

* regen typescript api

* update moonbeam/moonbeam-types-bundle/package-lock.json

* Updates dependencies

* Typescript api 2000 (moonbeam-foundation#1973)

* fix staking benchmark tests (moonbeam-foundation#1951)

* remove reward for delegator warn logs (moonbeam-foundation#1895)

* Add once (moonbeam-foundation#1857)

* Added tests for standard eth RPC methods (moonbeam-foundation#1949)

* Added standard eth RPC tests

* reduced line length

* Added testskip for FullFilter pool

* bump client and runtime versions (moonbeam-foundation#1910)

* Fix CI for external pr (moonbeam-foundation#1963)

* remove useless job docker-parachain

* fix if condition for exterrnal PRs

solution find here: https://github.com/orgs/community/discussions/25217

* apply suggestion

* Fixing type errors on new pkgs (moonbeam-foundation#1964)

* New smoke tests for detecting XCM and ETH failures (moonbeam-foundation#1955)

* Added xcm failures smoke test

* Lint

* fixed spelling

* New smoke test to detect emulated Ethereum txn failures (moonbeam-foundation#1961)

* Progress on paysFee

* Added new eth fail test

* Added tests new eth failed txn tests

* Lint

* Reverted vsc settings.json

* Update settings.json

for some reason prettier was flagging this as error despite on ignore list.

* Update settings.json

* prettier

* prettier

* update sha3 and libsecp256k1 dependencies (moonbeam-foundation#1959)

* fix(ci): job prepare-polkadot must never be skipped (moonbeam-foundation#1967)

* Moonbeam polkadot v0.9.32 (moonbeam-foundation#1933)

* UPdate tomls

* bump ethereum types

* pallet-staking: RuntimeEvent, RUntimeCall, RuntimeOrigin

* asset-manager: RuntimeEvent, RUntimeCall, RuntimeOrigin

* author-mapping: RuntimeEvent, RUntimeCall, RuntimeOrigin

* ethereum-xcm: RuntimeEvent, RUntimeCall, RuntimeOrigin

* maintenance-mode: RuntimeEvent, RUntimeCall, RuntimeOrigin

* migrations: RuntimeEvent, RUntimeCall, RuntimeOrigin

* moonbeam-orbiters: RuntimeEvent, RUntimeCall, RuntimeOrigin

* proxy-genesis: RuntimeEvent, RUntimeCall, RuntimeOrigin

* randomness: RuntimeEvent, RUntimeCall, RuntimeOrigin

* xcm-transactor: RuntimeEvent, RUntimeCall, RuntimeOrigin

* FMT

* assets-erc20-precomp: RuntimeEvent, RUntimeCall, RuntimeOrigin and new weights

* author-mapping-precomp: RuntimeEvent, RUntimeCall, RuntimeOrigin and new weights

* balances-precomp: RuntimeEvent, RUntimeCall, RuntimeOrigin and new weights

* batch-precomp: RuntimeEvent, RUntimeCall, RuntimeOrigin and new weights

* call-permit: RuntimeEvent, RUntimeCall, RuntimeOrigin and new weights

* collective-precomp: RuntimeEvent, RUntimeCall, RuntimeOrigin and new weights

* crowdloan-precomp: RuntimeEvent, RUntimeCall, RuntimeOrigin and new weights

* new cargo lock

* Fix error on toml

* pallet-democracy:runtimecall, runtime:origin

* staking-precomp:runtimecall, runtime:origin

* democracy-precomp:runtimecall, runtimeorigin

* randomness-precomp:runtimecall, runtimeorigin

* relay-encoder-precomp:runtimecall, runtimeorigin

* xcm-transactor-precomp:runtimecall, runtimeorigin

* xcm-utils-precomp:runtimecall, runtimeorigin

* xtokens-precomp:runtimecall, runtimeorigin

* precompile fmt

* Adapting moonbase to RuntimeEvent, RuntimeCall, RuntimeOrigin

* Fix moonbase runtime, which compiles now

* Adapt moonriver runtime to: democracy changes, RuntimeOrigin, RuntimeEvent, RuntimeCall

* moonbeam

* Adapt everything to clap 4.0.9

* FMT and fix democracy precompiles

* Start fixing pallet-democracy precompile tests

* BRing back note_preimage tests, imminent is removed

* Bring back imminent preimage

* moonbase tests updated

* FMT

* moonriver tests working

* install protoc in ci

* try again without sudo

* try again, this time manually

* Moonriver fmt, test fixes

* Fix moonbeam rust tests

* Fix last rust tests

* Adapt weight calculus to new weight system

* start fixing typescript tests

* Keep fixing tests

* Dispatch info now returns with base weight

* fix queue now new weight

* Keep fixing new weight related tests

* remove proto installation

* fix again github job

* Point at official evm and ethereum crates

* Debugging scheduler not working

* Keep fixing bounded democracy test calls

* Fix crowdloan democracy test

* Keep fixing tests

* More fixes related to weights and democracy

* FMT

* toml sort

* prettier

* more prettier

* compile benchmarks

* toml sort

* remove warning

* remove unused var

* Cargo lock

* fix proxy-governance test

* change democracy-proposal test

* More fixes

* Fix latest of democracy tests

* Add remaining migrations from BoundedCall

* Upgrade to 0.9.32

* FMT

* toml sort

* prettier

* editorconfig

* update polkadot api

* fix ega

* add proxy filters, this time in create_pure and kill_pure

* Add couple of db reads

* remove some as anys

* Revert "remove some as anys"

This reverts commit 5c9294a.

* fix try-runtime

* try-runtime hooks being executed

* Add pr suggestions

* warnings cleared

* more unused imports

* Fix merge error

* prettier

* add when runtime migrations were completed

* remove migrations that have already run and that require maintenance

* Preimage lazy migration (moonbeam-foundation#1962)

* migration call

* add new migration Call to runtimes

* unit tests

* benchmarking

* Benchmarking from the benchmarking server

* toml fmt

Co-authored-by: girazoki <[email protected]>

* fmt

* 0.9.31 ts fixes (moonbeam-foundation#1966)

* ts fixes

* small fixes

* lint

Co-authored-by: nanocryk <[email protected]>
Co-authored-by: Tim B <[email protected]>
Co-authored-by: Crystalin <[email protected]>

* fix workflow check features (moonbeam-foundation#1970)

* types for runtime 2000

Co-authored-by: Nisheeth Barthwal <[email protected]>
Co-authored-by: Amar Singh <[email protected]>
Co-authored-by: bear <[email protected]>
Co-authored-by: Tim B <[email protected]>
Co-authored-by: Éloïs <[email protected]>
Co-authored-by: Qinxuan Chen <[email protected]>
Co-authored-by: girazoki <[email protected]>
Co-authored-by: nanocryk <[email protected]>

* Updates test api-augment

* Upgrade typescripts

Co-authored-by: crystalin <[email protected]>
Co-authored-by: librelois <[email protected]>
Co-authored-by: Crystalin <[email protected]>
Co-authored-by: Alan Sapede <[email protected]>
Co-authored-by: Nisheeth Barthwal <[email protected]>
Co-authored-by: Amar Singh <[email protected]>
Co-authored-by: bear <[email protected]>
Co-authored-by: Tim B <[email protected]>
Co-authored-by: Qinxuan Chen <[email protected]>
Co-authored-by: girazoki <[email protected]>
Co-authored-by: nanocryk <[email protected]>
* Added preimage bal check for staging

* WIP (need format)

* Adds referenda pallet support

* Fix zrong types

* Fixes smoke test for referenda

Co-authored-by: Alan Sapede <[email protected]>
Co-authored-by: Crystalin <[email protected]>
* fix tracing tests

* better setup for tracing tests

* Add `--blocks-pruning=archive`

Co-authored-by: tgmichel <[email protected]>
* Add base deposit to pallet-preimages

* add base deposit to democracy ts tests
…m-foundation#1979)

* Remove test for too expensive, as it is quite a common error

* acctidenaly removed file
* Bump frontier from 69e7c5b to 1f715c5

* Check gasUsedRatio against array fill
* Fixes smoke tests for weight v2

* prettier
…#1983)

* Fixes smoke tests forexisting networks

* Better check for weight format

* clean
* initial attempt

* Working first test

* Added new foreign chain tests

* lint

* lint

* lint

* Using imported RPC endpoints
* update substrate fork

* impl backward ed25519 compatibility
* Fix `eth-fee-history` ts tests

* prettier
librelois and others added 29 commits April 17, 2023 13:17
* update substrate

* enable proof recording in dev mode

* editorconfig
…eam-foundation#2226)

* Import extract_genesis_wasm function instead of duplicating it

* Remove a few clones of strings
* refactor EvmData (now solidity::Codec)

* feature for xcm codec

* refactor revert mod

* refactor revert mod

* move hand and costs in evm mod

* move logs mod in evm mod

* typo

* fix revert encoding

* update macro ui tests

* update error messages

* remove generate_function_selector

* unused imports

* update ui macro tests

* remove direct usage of Reader/Writer

* Use absolute path in macro

Co-authored-by: Éloïs <[email protected]>

* refactor interface test

* rename execute_returns/execute_returns_encoded

* fmt

* improve SubcallOutput usage

* rm unused imports

* update macro stderr

---------

Co-authored-by: Éloïs <[email protected]>
* Trying bare-metal CI

* Add rustup install to the build

* better sccache

* Trigger CI

* Trigger CI 2

* display rustc version

* Change TMPDIR (to revert)

* remove tmp folder

* all on baremetal

* copy Target ?

* Test docker login

* fixes yaml

* move docker build into ubuntu

* symlink for build target

* split tests

* bigger cache to 100gb

* removing incremental build for sccache

* make para-test without docker

* moves cargo clippy to ubuntu

* disable sccache from GHA

* Add build for features

* set proper rustc wrapper

* adds protoc for cargo clippy

* cargo clippy to bare metal

* Removes binary based rust test

* fmt

* move para test to bare metal

* Increase timeout for RT Chopstick tests

* removes test

* forgot to fully remove the tests

* adds log to CI

* makes docker rm resilient

* trying para on ubuntu

* put features in separate artifact

* Removes para tests

* Disable para tests (for real)
* remove check features workflow

* replace cargo lock check by --locked and optimize cargo params

* no_std should be set only in crate root
…on#2247)

* Avoid binary search over potentially unsorted data

* Slight improvement in regression test

* Err, this is how you would test empty vec...

* Better test

* Toml sort

---------

Co-authored-by: crystalin <[email protected]>
* cleanup migrations

* remove migrations tests

* remove migrations tests 2

* remove unused imports & fmt

* remove rust migrations tests

* fmt
* Added RT upgrade to CI

* PR comments

* prettier

* Fixed cache path

* updated moonwall pkg ver

* Added upgrade test CI to build workflow

* fixed CI

* updated gh actions

* Fixed RT test

* updated check-tags to new GH format

* replaced set-output from CI

* Replaced more set-outputs in CI

* Added logging

* Logging

* Update GH actions

* moved RT upload before test

* prettier

* Removed GH action warnings

* Rearranged build workflow

* progress towards zombie CI

* Added para CI test

* Updated srtool script

* small progress

* Updated zombie moonbase CI

* prettier

* prettier again somehow

* typo

* fix permissions

* fix tests

* updated pkg ver

* added moonriver to CI

* added modify specs script

* added moonbeam ci

* prettier

* Fixes

* increase min candidate stake

* removed parachain staking params

* improved logging

* added build step for released RTs

* fixed deps

* chmod

* removed legacy para tests

* typo

* Fixing env var

* fix env var

* Moving CI to bare-metal (moonbeam-foundation#2242)

* Trying bare-metal CI

* Add rustup install to the build

* better sccache

* Trigger CI

* Trigger CI 2

* display rustc version

* Change TMPDIR (to revert)

* remove tmp folder

* all on baremetal

* copy Target ?

* Test docker login

* fixes yaml

* move docker build into ubuntu

* symlink for build target

* split tests

* bigger cache to 100gb

* removing incremental build for sccache

* make para-test without docker

* moves cargo clippy to ubuntu

* disable sccache from GHA

* Add build for features

* set proper rustc wrapper

* adds protoc for cargo clippy

* cargo clippy to bare metal

* Removes binary based rust test

* fmt

* move para test to bare metal

* Increase timeout for RT Chopstick tests

* removes test

* forgot to fully remove the tests

* adds log to CI

* makes docker rm resilient

* trying para on ubuntu

* put features in separate artifact

* Removes para tests

* Disable para tests (for real)

* readme

* updated to use bare-metal

* using docker to fetch RT binary

* fetch polkadot binary from docker

* typo of sha8

* typo

* move to set tags

* fix tags

* change to curl

* typo

* fix tag

* fixing tags

* removed whitespace

* typo

* using curl

* fix tags

* another attempt

* fixed quotes

* typo

* typo

* fixing tags!

* refactor names

* fix

* Removed comments

* moved tests to bare-metal

* finally linted

* Fix pkg vers

* Fixed typescript tests

* pr comment

* fix env var

---------

Co-authored-by: Alan Sapede <[email protected]>
* added pallet-multisig to moonbase

* added pallet-multisig to Moonbeam and Moonriver

* fixed DepositBase and DepositFactor

* fixed Cargo.toml files

* removed multisigs from Moonbeam and Moonriver
* add TS tests for erc20-xcm

* finish send two local erc20

* fmt

* fix comments

* finish tests

* fix trap test and split file

* trap test

* Merge branch 'master' into agustin-tests-erc20-xcm

* fix build.yml

* fmt

* compute fees and code refactor

* remove getBalance function

* fmt
* add ui and expand tests for name macro

* fix other compile_error typos

* update expand + remove unused import
* Set `Weight::MAX`

* benchmark

* editorconfig

* oops
…foundation#2258)

* enable features try-runtime, runtime-benchmarks for clippy
* Refactored RateLimiter

* Update tests/util/common.ts

Co-authored-by: Éloïs <[email protected]>

* prettier

---------

Co-authored-by: Éloïs <[email protected]>
)

* Increase XCM benchmark overrides to max weight

* Format
* begin multisig tests

* add more tests

* fmt

* fix comments

* refactor tests

* fix tests relying on others
…am-foundation#2269)

* CI: create a cargo profile for rust test that enable debug-assertions

and overflow-checks

* fix fee handler

* multi asset can't have amount zero

* fmt
* fail step when subshell fails

* use explicit check for variable
@TarekkMA TarekkMA changed the title Upgrade to polkadot-v0.9.24 Upgrade to polkadot-v0.9.37 May 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.