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

polkadot-v0.9.17 #789

Merged
merged 193 commits into from
Mar 22, 2022
Merged

polkadot-v0.9.17 #789

merged 193 commits into from
Mar 22, 2022

Conversation

seunlanlege
Copy link
Contributor

No description provided.

andor0 and others added 30 commits January 12, 2022 23:01
* CU-200y9ka - Auction: generate a file with weights

* Make clippy happier

* Fix tests
* Add remark check in CI

* Add a config file for remark

* Update config of CI

* Make remark happier
* refactor crowdloan benchmarking

* revert benchmarking integration of crowdloan rewards
…#486)

* move crowdloan from SignedExtension to ValidateUnsigned

* revert transaction version upgrade as we removed the SignedExtra
* Check including wasm build

* Add std feature check
…lidation (#492)

* introduce `Validated` and `Validate` for custom codec validation

* add missing Deref/AsRef, use WrapperTypeEncode and introduce `And`
* devnet release

* Build everything

* Use self hosted runners

* use pre-installed cargo

Co-authored-by: Karel L. Kubat <k.l.kubat@gmail.com>
* fix

* only on main
* oracle api clarification

Signed-off-by: Dzmitry Lahoda <dzmitry@lahoda.pro>

* fixing pr comments

Signed-off-by: Dzmitry Lahoda <dzmitry@lahoda.pro>

* fixed comment

Signed-off-by: Dzmitry Lahoda <dzmitry@lahoda.pro>

* crazy fmt issue

Signed-off-by: Dzmitry Lahoda <dzmitry@lahoda.pro>

* just something to tirgget build after fail

Signed-off-by: Dzmitry Lahoda <dzmitry@lahoda.pro>

* fixed price, added ratio test

Signed-off-by: Dzmitry Lahoda <dzmitry@lahoda.pro>

* fixed comments

Signed-off-by: Dzmitry Lahoda <dzmitry@lahoda.pro>
Removed "--features develop" flag from local build command instructions.

Signed-off-by: Dominik Roth <dominik@composable.finance>
…oan tests, bonded finance tests implementation (#487)

* add generated types and refactor tests, add eth sign to crowdloan

* Pulling bondPrice for bondedFinance Tests from variable

* test(bondedFinance TX Tests, Added mocha config file, Cleanup.):

(txBondedFinanceTests.ts): bondedFinance Extrinsic test
implementation.
(BondedFinance Pallet): MinReward now exposed through a
constant query.
(queryCrowdloanRewardsTests.ts): Updated checks and
timeout.

Following files have been removed, due to problems with the
new type implementation.
(queryTokenTests.ts): Removed Query Token Tests
(Partial stub and stopped working)
(querySystemAccountTests.ts): Removed
Query System Account Tests (Stopped working)

Added .mocharc.json configuration file.
Cleanup

Signed-off-by: Dominik Roth <dominik@composable.finance>

* test(bondedFinance TX Tests, bondedFinance pallet, Runtime Tests ReadMe):

(txBondedFinanceTests.ts): Moved test handlers into a folder to reduce
the file length. Also added additional tests.

(BondedFinance Pallet):
In cancel function, set keep-alive of second Transfer function to false.
Since clears the wallet of the staking account, and wasn't working
therefore.

(README.md): Changed timeout example to not show an infinite
timeout. Added run information for the type generator.

Signed-off-by: Dominik Roth <dominik@composable.finance>

Co-authored-by: Dominik Roth <96540347+Dom-Roth@users.noreply.github.com>
Co-authored-by: Dominik Roth <dominik@composable.finance>
* check_runtime workflow

* check_runtime workflow

* Updates weights for picasso-dev

* update benchmark script

* update benchmark script

* support -> frame_support

* Updates weights for picasso-dev

* Updates weights for dali-dev

* fix conflict

* Add cargo.lock

* fix runtime.sh

* replace boldprint with echo

* adds set_changes_trie_config  to weights

* adds set_changes_trie_config  to weights

* Updates weights for picasso-dev

* hotpatch substrate

* fmt & clippy

* Updates weights for picasso-dev

* Update simnode script

* Update github workflow

* Update github workflow

* Updates weights for dali-dev

* Update github workflow

* Update github workflow

* Updates weights for composable-dev

* Add condition to ignore check_runtime on draft PR

* fmt

* adds +nighly to checks

* add git pull

* Finalizing cleanup

* Finalizing cleanup

* fmt fixes

* clippy fixes

* use +nightly-2021-11-29 for fmt

* Updates weights for picasso-dev

Co-authored-by: Seun Lanlege <seunlanlege@gmail.com>
Co-authored-by: haroldsphinx <haroldsphinx@gmail.com>
* oracle api clarification

Signed-off-by: Dzmitry Lahoda <dzmitry@lahoda.pro>

* fixing pr comments

Signed-off-by: Dzmitry Lahoda <dzmitry@lahoda.pro>

* fixed comment

Signed-off-by: Dzmitry Lahoda <dzmitry@lahoda.pro>

* crazy fmt issue

Signed-off-by: Dzmitry Lahoda <dzmitry@lahoda.pro>

* just something to tirgget build after fail

Signed-off-by: Dzmitry Lahoda <dzmitry@lahoda.pro>

* fixed lending

Signed-off-by: Dzmitry Lahoda <dzmitry@lahoda.pro>

* fixed price, added ratio test

Signed-off-by: Dzmitry Lahoda <dzmitry@lahoda.pro>

* fixed comments of review

Signed-off-by: Dzmitry Lahoda <dzmitry@lahoda.pro>

* fixed comments

Signed-off-by: Dzmitry Lahoda <dzmitry@lahoda.pro>
* Update Makefile

* Update release

* Update

* Updating release

* Added runtime check

* Consolidate all branches into main

* Update check_runtime

* update benchmark workflow

* fix makefile

* diff base branch

* diff base branch

* diff base branch

* fix makefile

* github.ref

* i give up

* show-current

* use commit sha

* fetch main branch

* try again

Co-authored-by: Seun Lanlege <seunlanlege@gmail.com>
The public polkadotjs api signRaw is wrapping the message in this tag.
* Update benchmarks of pallet-dutch-auction

* Update benchmarks of pallet-dutch-auction
* fix asset count to change an existing asset

* remove unused slash amount

* remove lingering slash amount

* handle better then default

* remove unwrap or defaults from asset_info

* fix benchmarks
* Rollout Cleanup to fix max buffer error
* fix check runtime for main & releases

* fix diffs

* conditionl artifact build

* fix syntax

* fix syntax

* testing

* take 2

* take 3

* seun 1 - 0 CI

* needs-benchmarks

* Update .maintain/client_release.sh

* fix release notes
* fix workflow syntax

* Add cleanup step

* add bump version

* bump version and changelog

* bump version and changelog

* bump version and changelog

* bump version and changelog
* Cleanup CI and add rust-toolchain.toml

* remove .yarn

* fmt
* Add BoundedSortedVec and SortedVec

* fail on unsorted decodes
* added paritytech

* update branch trigger

* update run machines

* Update .github/workflows/paritytech.yml

* Apply suggestions from code review

* update cargo nightly

* update cargo exec path

* Update .github/workflows/check.yml

Co-authored-by: Seun Lanlege <seun@composable.finance>

* update check.yml

* use llvm-cov action

* prevent rust-toolchain.toml from overriding parity:ci

* update workflow file

* fix hadolint

* update hadolint to action

* remove image for unit test

* fix syntax error

* install cargo-llvm manually

* use image

* skip hadolint and remark

* add llvm-tools-preview

* run llvm-cov on runner

* update workflow file

* update workflow file

* force install

* llvm-cov in paritytech/ci-linux:production

* rustup show

* install llvm

* remove sudo

* one-line install

* apt-get install wget

* apt-get install wget

* apt-get install wget

* gnupg2

* run code-cov on runner

* path to cargo bin

* remove llvm installation

* use specific nightly version

* please just work

* sigh

Co-authored-by: Seun Lanlege <seun@composable.finance>
Co-authored-by: Seun Lanlege <seunlanlege@gmail.com>
Co-authored-by: haroldsphinx <adedayoakinpelu@gmail.com>
vimukthi-git and others added 12 commits March 17, 2022 14:54
* [Pablo] Minimal ConstantProductPool Integration

* Updates with tests

* Minor

* [cu-23v2xkb] Tests fixed

* Linter seems confused

* Review and try lint

* try lint

* try lint
* feat(mosaic): introduce `min_transfer_size` for networks

* feat(vesting): introduce check to avoid `vested_transfer` to caller

* chore(style): apply make style
* attempt to bump to polkadot-v0.9.17

* chore(polkadot): upgrade to v0.9.17

* chore(style): apply make style

* fix(tests): `storage_root` now expect a `StateVersion`

* fix(tests): no more Default for AccountId

* bump simnode

* chore(polkadot): upgrade to v0.9.17

* chore(style): apply make style

* fix(tests): no more Default for AccountId

* chore(polkadot): upgrade integration tests

* feat(ci): upgrade codecov

* cargo fmt

* taplo fmt

* remove --raw arg from single pass benchmarking

* sigh fix run_benchmarks

* bump cumulus

* Pushing benchmark changes

* adds support for simnode to composable-runtime

* fix(bench): revert curve benchmarking

* fix(bench): revert uni benchmarking

* make non-production release buil faster by disabling linking opt

* fix(bench): revert curve/uni weights

* feat(ci): make git diff visible for taplo check

* chore(style): apply make style

* fix(lint): unused test attribute in bonded finance

* fix permission issue with simnode

* ci benchmark changes

* chore(cargo): update Cargo.lock

* feat(ci): pin codecov nightly

* wip

* wip

* chore(polkadot): upgrade pablo pallet

* chore(style): apply make style

* chore(ci): duplicate checkout

* bump simnode

* adds proper rococo chainspec

* cargo fmt

* fix clippy

Co-authored-by: Hussein Ait Lahcen <hussein.aitlahcen@gmail.com>
Co-authored-by: seunlanlege <seunlanlege@users.noreply.github.com>
Co-authored-by: haroldsphinx <haroldsphinx@gmail.com>
* Constant Product Tests

* test config added

* helper added.

* Deleted extra file
Add common_test_functions module and update add_remove_lp() test to use it.
Minor refactoring to use references when possible.
* xcmp kusd picasso

Signed-off-by: Dzmitry Lahoda <dzmitry@lahoda.pro>

* fixed comment, added links

Signed-off-by: Dzmitry Lahoda <dzmitry@lahoda.pro>

* force proper features

Signed-off-by: Dzmitry Lahoda <dzmitry@lahoda.pro>

* finally catched condition

Signed-off-by: Dzmitry Lahoda <dzmitry@lahoda.pro>

* fixes after review

Signed-off-by: Dzmitry Lahoda <dzmitry@lahoda.pro>

* merge fix

Signed-off-by: Dzmitry Lahoda <dzmitry@lahoda.pro>

* 9/17 migration fixes

Signed-off-by: Dzmitry Lahoda <dzmitry@lahoda.pro>

* all version must be exact

Signed-off-by: Dzmitry Lahoda <dzmitry@lahoda.pro>
* test(Runtime Integration Tests): Fixed crowdloanRewards tests.

* test(Runtime Integration Tests): Crowdloan Fix, removed temporary waitForBlocks(n) call.

* test(Runtime Integration Tests): Crowdloan Rewards Fix.
Removed redundant import in mintingHelper.ts.

* test(Runtime Integration Tests): Added toggle flag to claim test.
Updated types.

* test(Runtime Integration Tests): Crowdloan Rewards Tests added documentation.
* [cu-23v2xng][Pablo] Integrate Liquidity Bootstrapping Pool

* visualizations

* Review

* Fix for main

* Try fix

* Try fix
Copy link

@composable-sre composable-sre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This pull request does not contain a valid label. Please add one of the following labels: ['major', 'minor', 'patch']

composable-sre
composable-sre previously approved these changes Mar 21, 2022
@codecov-commenter
Copy link

Codecov Report

❗ No coverage uploaded for pull request base (releases@51afd37). Click here to learn what that means.
The diff coverage is n/a.

❗ Current head e8a52d3 differs from pull request most recent head 72c60d8. Consider uploading reports for the commit 72c60d8 to get more accurate results

@@             Coverage Diff             @@
##             releases     #789   +/-   ##
===========================================
  Coverage            ?   71.24%           
===========================================
  Files               ?      189           
  Lines               ?    29351           
  Branches            ?        0           
===========================================
  Hits                ?    20910           
  Misses              ?     8441           
  Partials            ?        0           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 51afd37...72c60d8. Read the comment docs.

@seunlanlege seunlanlege added minor and removed patch labels Mar 22, 2022
@seunlanlege seunlanlege merged commit c202942 into releases Mar 22, 2022
@seunlanlege seunlanlege deleted the seun-main-merge branch March 22, 2022 07:43
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.