go-ethereum/internal/ethapi
Felix Lange 9d4b29f291
core/types: updates for EIP-7702 API functions (#30933)
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.
2024-12-18 19:10:53 +01:00
..
override internal/ethapi: add block override to estimateGas (#30695) 2024-12-12 12:39:03 +01:00
testdata all: exclude empty outputs in requests commitment (#30670) 2024-11-28 11:48:50 +01:00
addrlock.go all: update license information (#16089) 2018-02-14 13:49:11 +01:00
api.go core/types: updates for EIP-7702 API functions (#30933) 2024-12-18 19:10:53 +01:00
api_test.go all: implement eip-7702 set code tx (#30078) 2024-12-16 11:29:37 +01:00
backend.go core, eth, internal, cmd: rework EVM constructor (#30745) 2024-11-20 12:35:52 +01:00
dbapi.go all: remove concept of public/private API definitions (#25053) 2022-06-21 12:05:43 +03:00
errors.go internal/ethapi: eth_multicall (#27720) 2024-09-06 11:31:00 +02:00
logtracer.go internal/ethapi: eth_multicall (#27720) 2024-09-06 11:31:00 +02:00
simulate.go internal/ethapi: add block override to estimateGas (#30695) 2024-12-12 12:39:03 +01:00
simulate_test.go internal/ethapi: add block override to estimateGas (#30695) 2024-12-12 12:39:03 +01:00
transaction_args.go core/types: updates for EIP-7702 API functions (#30933) 2024-12-18 19:10:53 +01:00
transaction_args_test.go core, eth, internal, cmd: rework EVM constructor (#30745) 2024-11-20 12:35:52 +01:00