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

Fix: Failing integration tests #1370

Merged
merged 1 commit into from
May 26, 2023

Conversation

mustermeiszer
Copy link
Collaborator

Description

The logic previously fetched events at block zero, which where simply not existing as not populated. Substrate changed to panicking now, when somebody does this. This change fetches events only starting at block 1.

Copy link
Contributor

@NunoAlexandre NunoAlexandre left a comment

Choose a reason for hiding this comment

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

Sweet

@NunoAlexandre NunoAlexandre merged commit e92f2c4 into polkadot-v0.9.38 May 26, 2023
9 of 11 checks passed
@NunoAlexandre NunoAlexandre deleted the fix/inte-fetch-genesis-events branch May 26, 2023 11:58
NunoAlexandre added a commit that referenced this pull request May 31, 2023
* Diener 0.9.38 + cargo update

* fix import

* wip on GeneralKey and xcm configs

* fixup

* Update docker images to 0.9.38

* Fix dup dependencies

* wip

* Add missing features to root, dev, connectors

* wip

* Add getrandom js

* Fix missing features

* cargo update

* cargo update

* tmp: Add std features to integration-tests

* Fix all pallet's missing features

* Fix missing features of all libs

* wip

* wip

* fix: remove unused rand from integration tests

* fix: remove unused dep

* fix: missing std feat in pool-system

* chore: revert rust nightly version to latest supported

* cargo update

* Fix connectors weight issue

* xcm updates

* pallet_authorship::Config updates

* wip: Update xcm Trader

* Update xtokens Config

* Update more configs

* Dry AccountIdToMultiLocation

* Weights v2 updates

* Use ConvertedConcreteId instead

ConvertedConcreteAssetId is now deprecated

* wip

* wip

* fmt

* Update pallet_transaction_payment_rpc_runtime_api::TransactionPaymentApi

* wip

* wip

* Update impl xcm_executor::Config

* Fix imports

* wip

* wip

* Fix node, service and evm issues

* fmt

* Fix integration tests compilation errors

* wip: Fix xcm transfer tests

* wip: Fix xcm tests

* Fix transfer_ausd_to_centrifuge

* fix xcm tests

* fmt

* fixup

* clippy fix

* Update xcm v1 -> v3 in some tests

* more fixes

* fmt

* Add note on failing test

* Re-enable all other e2e tests

* fmt

* fixup

* Drop comments

* Test handling of XCM v2 multilocations in storage

* fmt

* fixup

* fixup

* Fix from_xcm_versioned_address_works

* Revive and fix kusama/currency_id_convert tests

* xcm: Simplify CurrencyIdConvert

* fmt

* fmt

* Address @wischli's review comments

* Fix all missing cargo features

* Fix cargo doc by bumping toolchain

The issue we are experiencing now apparently by bumping to polkadot
0.9.38 seems to have been fixed bacm in Nov 2022 but our current
toolchain version didn't yet include it. So we bump the toolchain
version. Working well locally.

* fmt

* clippy

* Fix: Failing integration tests (#1370)

* deps: Update RUST_TOOLCHAIN to nightly-2023-02-07

* Document general_key fn

* Fix clippy

* fmt

---------

Co-authored-by: William Freudenberger <w.freude@icloud.com>
Co-authored-by: Frederik Gartenmeister <mustermeiszer@posteo.de>
Co-authored-by: cdamian <17934949+cdamian@users.noreply.github.com>
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.

None yet

2 participants