Comments (2)
we originally chose genesis but it's not a hard requirement
it's actually not ideal, depending on how you look at it (we want to check pre-conditions immediately before the benchmarking starts, not a long time ago)
this can be easily achieved by changing this:
polkadot-stps/utils/sender/src/pre/mod.rs
Lines 32 to 42 in 0a88e9c
where genesis can be simply replaced with head and the effect would be the same
from polkadot-stps.
The above would work for relaychains specifically, but when we target parachains things would again get a bit more complicated since we need to check the last parachain block.
The quick fix which comes to my mind is simply doing what we do in tps
, passing the latest para head to the parachain subxt client and checking the accounts from the last included parablock.
Edit
Actually, not sure if it is possible to check the accounts in the parablock in the same way exactly. If it is, then I suspect it would be fine to just look at the last finalised head, and run the pre-checks as usual since the node_url is specifically either a collator, or relay chain node. 🤔 There are two commits on the associated PR which adds some more context.
from polkadot-stps.
Related Issues (20)
- Zombienet k8 Cluster for sTPS measurements
- Verifying extrinsic success HOT 2
- Double check the configs HOT 2
- Use `.env` file to make `polkadot` accessible in `kubernetes` and `native` HOT 2
- dispatch transactions to multiple nodes in parallel HOT 3
- Error: Rpc(Transport(Error in the WebSocket handshake: i/o error: unexpected end of file HOT 30
- Manually set the nonce for signing
- Large `funded-accounts.json` causes invalid chain spec HOT 5
- Once public, consider posing about this repo on various SE posts HOT 1
- sending transactions from pods HOT 1
- Generate pre-funded accounts in Polkadot format
- Block finalisation checks HOT 5
- How many transfer events fits in one parablock? HOT 7
- Setting both --genesis and --para-finality for `tps`
- Pass in para_id argument to tps
- Add versi metadata HOT 1
- Investigate why transactions aren't counted HOT 2
- Make the sender parallel
- Clarity on TPS estimates with recent product roadmap updates with Async Backing / Agile Coretime etc. HOT 2
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 polkadot-stps.