-
Notifications
You must be signed in to change notification settings - Fork 86
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 v1.1.0 Integration Tests #1776
Conversation
Fudge updated, now using same |
bd15cc8
to
aab01d7
Compare
* main changes * integration-tests: Fix test envs * runtime: Implement parachains pallets for runtimes * runtime: Enable multilocation convert for CurrencyIdConvert * runtime: Remove extra paras pallets * integration-tests: Update expected balances --------- Co-authored-by: lemunozm <[email protected]>
Currently failing just 3 test.
All have as common denominator the call of |
@lemunozm yes, it seems that the fee calculations that we have there are no longer valid, I manually updated those expected values in the branch that I had here. |
The value of I'm not sure why we do that check. But IMO, we could just remove those lines because they're not related to the test itself. WDYT @cdamian @wischli? For reference the failing asserts are: assert_eq!(
orml_tokens::Pallet::<T>::free_balance(currency_id, &Keyring::Bob.into()),
transfer_amount - fee(meta.decimals)
); assert_eq!(alice_initial_dot, dot(3) - dot_fee()); |
I wouldn't mind having those checks in there to be honest. I think we might catch any unexpected changes to the fees that are charged when doing those kind of transfers. |
And how would you solve the current issue then? Without hardcoding the values. Or maybe we're having the issue right now, because from what I can see, if it worked before, it should work now |
@lemunozm I hardcoded those values in some of the other tests. We can either do that or fix the |
The problem with hardcoding is that we're losing the "why it fails". Other would see this failing without any reason on the why. I'll give a try to see why |
I'll merge this by now. Issues should be addressed in #1756 |
* all dependencies set * migrate libs/* * migrate pallet-anchors * migrate pallet-rewards * migrate pallet-liquidity-rewards * migrate pallet-fees pallet-bridge * migrate pallet-keystore * migrate restricted-tokens * migrate restricted-xtokens * migrate block-rewards * migrate-interest-accrual * migrate oracle-feed * migrate oracle-collection * migrate collator-allowlist * migrate transfer-allowlist * migrate crowdloan pallets * migrate permissions * migrate order-book * migrate pallet-swaps * migrate pallet-token-mux * migrate investments * migrate foreign-investments * migrate loans * migrate pool-fees * migrate liquidity-pools-gateway * migrate axelar-gateway-precompile * migrate liquidity-pools-gateway-routers & patch moonbeam deps * use precompile-utils from moonbeam from now * simplify mock initialization * simplify some mocks * migrate ethereum-transaction * simplify minor stuff * disable runtimes by now * migrate pool-system * migrate pool-registry * migrate liquidity-pools * polish patch section * dirty fix for unaccesible Pending storage * minor dependency update * minor extend comment * migrate runtime-common * minor fixes * Revert "dirty fix for unaccesible Pending storage" This reverts commit 975060d. * pointing to the updated pallet-ethereum * fix pool-system compilation with benchmarks * fix serde dependencies * required changes for runtime to work * development runtime failing because of serde * patch all required dependencies to make moonbeam works * fix xcm types * add serde to no_std * minor * migrate altair & centrifuge * minor fixes * support runtime-benchmarking in runtimes * Polkadot v1.1.0: Node required changes (#1789) * make it compile * minor change * prepare changes for modify deprecated code * fix ExportGenesisState and remove unused warnings * update benchmark CLI * remove completelly try-runtime-cli * minor clean * fix try-runtime CI job * Polkadot v1.1.0 Integration Tests (#1776) * legacy-test migration wip * main changes * remove unused dependency * basic stuff migrated * uncomment fudge_env * update fudge * integration-tests: Fix test envs (#1780) * main changes * integration-tests: Fix test envs * runtime: Implement parachains pallets for runtimes * runtime: Enable multilocation convert for CurrencyIdConvert * runtime: Remove extra paras pallets * integration-tests: Update expected balances --------- Co-authored-by: lemunozm <[email protected]> --------- Co-authored-by: Cosmin Damian <[email protected]> * fixed issues compiling with rust 1.78 * fix clippy * taplo Signed-off-by: lemunozm <[email protected]> * reading value from deposit_creating * remove locked from taplo-cli * update scripts * fix docs * fix integration tests * add collator-selection migration * makes try-runtime idempotent checks work * revert fixed point serialization, remove unused Location code * comment TODOs and deprecated until 1.3.0 * fix fixed_point serialization for std * correct features for dev dependency * apply Cosmin NITs * remove comments regarding v1.3.0 * revert benchmarking HostFunction * Polkadot v1.1.0: Account converter changes (#1806) * Modify AccountConverter types * fix some imports * fix: polkadot v1.1.0 client (#1808) * fix: deprecate parachain CLI * chore: cleanup deprecated chain specs * fix: clippy --------- Signed-off-by: lemunozm <[email protected]> Co-authored-by: Cosmin Damian <[email protected]> Co-authored-by: William Freudenberger <[email protected]>
Description
PR over
polkadot-v1.1.0
containing integration-tests changes