Skip to content

Fixes transaction parameters for different transaction types.#293

Closed
MicahZoltu wants to merge 1 commit intoethereum:masterfrom
MicahZoltu:patch-3
Closed

Fixes transaction parameters for different transaction types.#293
MicahZoltu wants to merge 1 commit intoethereum:masterfrom
MicahZoltu:patch-3

Conversation

@MicahZoltu
Copy link

Note: The type should be a single value literal for each transaction type, but I don't know how to do that. I moved the type into the specific transactions in hopes that someone will be able to fix it to be the appropriate literal instead of a byte for each.

Note: The `type` should be a single value literal for each transaction type, but I don't know how to do that.  I moved the type into the specific transactions in hopes that someone will be able to fix it to be the appropriate literal instead of a byte for each.
@codecov-commenter
Copy link

Codecov Report

Merging #293 (9b9a1e6) into master (b08fd04) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #293   +/-   ##
=======================================
  Coverage   93.55%   93.55%           
=======================================
  Files          28       28           
  Lines        1676     1676           
=======================================
  Hits         1568     1568           
  Misses        108      108           
Flag Coverage Δ
unittests 93.55% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b08fd04...9b9a1e6. Read the comment docs.

@timbeiko
Copy link
Contributor

timbeiko commented Aug 4, 2021

@MicahZoltu who should I ping to review this as a sanity check ?

@SamWilsn SamWilsn added the A-spec-rpc Area: Specification JSON RPC label Aug 5, 2021
@MicahZoltu
Copy link
Author

@lightclient or @alita-moore would probably be a good candidate.

@lightclient
Copy link
Member

@MicahZoltu 1) I think this should be moved to the eth1.0-apis repo since this spec is deprecated now and 2) since some of these changes are breaking v -> yParity we'll need to discuss how to properly handle that.

@lightclient
Copy link
Member

I opened an issue on that repo to track this: ethereum/execution-apis#41

@MicahZoltu
Copy link
Author

Ah, I didn't realize that we moved JSON-RPC spec.

@MicahZoltu MicahZoltu closed this Aug 7, 2021
danceratopz added a commit to danceratopz/execution-specs that referenced this pull request Oct 22, 2025
…eum#293)

* style: fix spelling for cspell

* framework: add a code class to generate switch-case expressions

* tests: refactor tstorage reentrancy test to use switch

* framework: replace STOP with a JUMP to end of switch-case construct

This allows using Switch nested within other bytecode.

* framework: add tests for switch with large jump lengths

* refactor: give JUMP length variable a more consistent name

* style: add comment explaining bytecode construction

* style: fix typo in docstring

* refactor: simplify action_jump_length calculation in loop

* style: fix/improve explanation in comment

* framework: rename BytecodeCase; add CalldataCase (#25)

* tools: Rename BytecodeCase, add case_calldata

* tests/cancun: update switch tests

* style: use black formatting

* refactor: rewrite case_calldata() as a dataclass CalldataCase

* tests: refactor tstorage reentrancy test to use CalldataCase

---------

Co-authored-by: danceratopz <danceratopz@gmail.com>

---------

Co-authored-by: Mario Vega <marioevz@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-spec-rpc Area: Specification JSON RPC

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants