-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Fix state not using "account_starting_nonce" #1830
Conversation
|
||
let secret = Secret::from_str("8a283037bb19c4fed7b1c569e40c7dcff366165eb869110a1b11532963eb9cb2").unwrap(); | ||
let tester = EthTester::from_spec_provider(|| Spec::load(POSITIVE_NONCE_SPEC)); | ||
let address = tester.accounts.insert_account(secret, "").unwrap(); |
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.
why inserting it at all? the original fail case was when the account didn't exist, wasn't it?
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.
@gavofyork
i guess it is when there were no transaction for existing address also?
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.
But it doesn't matter if it's a local account or no, you could test 0x0
adddress and it would be fine.
Sorry, about the JSON, I wasn't aware that there are other inline specs in this file, I was rather thinking of putting the files to |
@tomusdrw |
test is failing |
so i changed |
* failng test * use account_starting_nonce instead of zero * simplier test * jsons are getting closer * incorrect test client and incorrect tests fix * null_morden is using 0x0 starting nonce * replaced json with the correct one * superwhatever line
* Fix up the VM trace. * Fix test. * Fix state not using "account_starting_nonce" (#1830) * failng test * use account_starting_nonce instead of zero * simplier test * jsons are getting closer * incorrect test client and incorrect tests fix * null_morden is using 0x0 starting nonce * replaced json with the correct one * superwhatever line * Bump json-ipc-server again (#1839) * bump ipc version * bumping once more * v1.2.4 * Fixed reported max height and transaction propagation (#1852) * Fixed max height and transaction propagation * Fixed tests
No description provided.