mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-02-26 07:37:20 +00:00
Here I am proposing two small changes to the exported API for EIP-7702: (1) `Authorization` has a very generic name, but it is in fact only used for one niche use case: authorizing code in a `SetCodeTx`. So I propose calling it `SetCodeAuthorization` instead. The signing function is renamed to `SignSetCode` instead of `SignAuth`. (2) The signing function for authorizations should take key as the first parameter, and the authorization second. The key will almost always be in a variable, while the authorization can be given as a literal. |
||
|---|---|---|
| .. | ||
| evm-benchmarks@d8b88f4046 | ||
| fuzzers | ||
| solidity | ||
| testdata@faf33b4714 | ||
| block_test.go | ||
| block_test_util.go | ||
| difficulty_test.go | ||
| difficulty_test_util.go | ||
| gen_btheader.go | ||
| gen_difficultytest.go | ||
| gen_stauthorization.go | ||
| gen_stenv.go | ||
| gen_sttransaction.go | ||
| init.go | ||
| init_test.go | ||
| rlp_test.go | ||
| rlp_test_util.go | ||
| state_test.go | ||
| state_test_util.go | ||
| transaction_test.go | ||
| transaction_test_util.go | ||