-
Notifications
You must be signed in to change notification settings - Fork 699
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
Make CheckNonce refuse transactions signed by accounts with no providers #1578
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a test.
3d637c3
to
a54a5ff
Compare
a54a5ff
to
aca2eba
Compare
aca2eba
to
7589baa
Compare
let mut header = Header { | ||
parent_hash, | ||
number, | ||
state_root, | ||
extrinsics_root, | ||
state_root: Default::default(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AIUI state_root
and extrinsics_root
are not used by Core_initialize_block
and should just be set to 0 here.
vec![Transfer { | ||
from: AccountKeyring::Alice.into(), | ||
from: AccountKeyring::One.into(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alice has no balance in the genesis state. As this test runtime has no transaction fees I think this was just resulting in the transaction failing. With the CheckNonce
change the transaction was invalid and causing the runtime to panic.
This will make #1725 harder |
* master: (33 commits) ci: set CI_IMAGE back to (now updated) .ci-unified (#1854) ci: bump ci image to rust 1.73.0 (#1830) Refactor Identity to benchmark v2 (#1838) PVF worker: bump landlock, update ABI docs (#1850) Xcm emulator nits (#1649) Fixes path issue in derive-impl (#1823) upgrade to macro_magic 0.4.3 (#1832) Use safe math when pruning statuses (#1835) remote-ext: fix state download stall on slow connections and reduce memory usage (#1295) Update testnet bootnode dns name (#1712) [FRAME] Warn on unchecked weight witness (#1818) [xcm] Use `Weight::MAX` for `reserve_asset_deposited`, `receive_teleported_asset` benchmarks (#1726) Update bridges subtree (#1803) Check for parent of first ready block being on chain (#1812) Make CheckNonce refuse transactions signed by accounts with no providers (#1578) Fix Asset Hub collator crashing when starting from genesis (#1788) Mixnet integration (#1346) [xcm-emulator] Decouple the `AccountId` type from `AccountId32` (#1458) Treasury spends various asset kinds (#1333) chore: bump zombienter version (#1806) ...
…o providers (paritytech#1578)" This reverts commit 93d9c8c. Serai's coin-pallets doesn't set a provider as we plan to rip out these systems. Accordingly, this error would prevent users from submitting transactions.
This pull request has been mentioned on Polkadot Forum. There might be relevant details there: https://forum.polkadot.network/t/polkadot-release-analysis-v1-3-0/4614/1 |
Broken in upstream in paritytech/polkadot-sdk#1578
…ers (paritytech#1578) See paritytech#1453. Co-authored-by: Bastian Köcher <git@kchr.de>
* do not wait for tx status forever * more logging
* do not wait for tx status forever * more logging
* do not wait for tx status forever * more logging
* do not wait for tx status forever * more logging
* do not wait for tx status forever * more logging
* do not wait for tx status forever * more logging
* do not wait for tx status forever * more logging
* do not wait for tx status forever * more logging
* do not wait for tx status forever * more logging
* do not wait for tx status forever * more logging
* do not wait for tx status forever * more logging
* do not wait for tx status forever * more logging
* do not wait for tx status forever * more logging
* do not wait for tx status forever * more logging
* do not wait for tx status forever * more logging
* do not wait for tx status forever * more logging
See #1453.