Comments (7)
During wallet recovery, client will try to sync with validator for the latest sequence number. As the client/wallet generates address deterministically, if the same mnemonic file is used, the account might already exists on chain. In this case, cli/wallet will need the latest sequence number to submit transaction. 429 is from rate limit and is supposed to be transient, and it should work with retry.
from diem.
Oh, I saw you set the child number to 500. It will recover 500 accounts and issue 500 rpc calls to validator, which is over the limit. Please try with a small number first and we will fix it with a more flexible solution.
from diem.
Glad you noticed that. A suggestion: the sequence number sync should only occur when a transaction that relies on a valid sequence number is issued. So on generating e.g. 500 addresses, they could all start with sequence number -1, and then when an address is queried for balance or a transaction is issued, first submit a sync rpc.
from diem.
@kf106 are you still experiencing this issue?
from diem.
@kf106, the changes already merged. Can you run again and verify?
from diem.
On it now.
from diem.
Verified as improved.
from diem.
Related Issues (20)
- [Parallel Executor] [VM] Allow transaction execution to be suspended / resumed on reads.
- [Parallel Executor] Add integration and unit tests
- [Parallel Executor] [VM] Deprecate Read-Write set estimator
- [Flaky Test] shuffle::shuffle-forge-integration-tests::shuffle::sample-package-end-to-end HOT 1
- [Flaky Test] shuffle::shuffle-forge-cli-tests::shuffle::transactions-with-networks-raw-address-flags HOT 1
- [Bug]
- [Bug] The blockchain stucks when there are some malicious nodes
- [Bug]
- [Bug] Wrong command to install Move CLI in the documentation HOT 1
- [Bug] Testnet not work! Server error: VM Validation error: BAD_CHAIN_ID
- [Feature Request]
- [Feature Request]
- [Bug] whenever compile move-cli has failed HOT 13
- [Bug] The leader election maybe not fair when there is a malicious node
- RUSTSEC in dependencies in branch latest
- [Bug] Getting error while building: failed to run custom build command for `openssl-sys v0.9.60`
- [Bug] Getting `use of undeclared crate or module plotters_bitmap` in `cargo install --git https://github.com/diem/diem move-cli`
- [Bug]
- [Bug] Some copyright and license issues with Aptos
- $ cargo install --git https://github.com/diem/diem move-cli
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from diem.