Onchain Flashtestation Verification
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- solidity
- Domain
- blockchain
Research direction
Start by finding and reading the design document written by @Ruteri, then compare its proposed transaction layouts with the current flashtestation flow. Decide on a design that supports both smart-contract verification and the end-of-block transaction hash commitment; done means the selected design is implemented and both verification requirements work.
Written by the indexing model from the issue text.
Description
Currently there is no way for a smart contract to verify that the current block is built by a fair-ordering block builder. This is because the flashtestation transaction is placed bottom of block (i.e. the last transaction in the block) so that it can commit to a hash of all the block's transactions (minus itself) in the event it emits for offchain verifiers.
But, there are alternative designs for the flashtestation transaction that break it up into multiple transactions, one at top of block so smart contracts can verify, and then one at the end that commits to a hash of the block's transactions (minus itself).
@Ruteri had written up a doc discussing different options for how to do this, so we should consult that, decide on a design, and implement it
- Dominant language
- Solidity
- Stars
- 4
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from flashbots/flashtestations
-
Difficulty 4/5 3-5 days Newbie friendliness 42/100
flashbots/flashtestations#58 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
flashbots/flashtestations#57 ·
-
v2
Difficulty 4/5 3-5 days Newbie friendliness 38/100
flashbots/flashtestations#52 ·
-
v2
Difficulty 5/5 Over a week Newbie friendliness 35/100
flashbots/flashtestations#49 ·
-
v2
Difficulty 5/5 Over a week Newbie friendliness 30/100
flashbots/flashtestations#47 ·
All issues in flashbots/flashtestations
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
MystenLabs/sui#28056 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
filecoin-project/solstice#76 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
CypherBoxLLC/Cypher-Box#283 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
blinklabs-io/bursa#904 ·