Commit aa4699aa authored by Joshua Gutow's avatar Joshua Gutow Committed by GitHub

Merge pull request #5116 from ncitron/fix-contract-creation-deposit-to

fix(spec): use correct to field for contract creation deposits
parents 35d4a37c 24e264a7
......@@ -323,7 +323,7 @@ transaction are determined by the corresponding `TransactionDeposited` event emi
1. `from` is unchanged from the emitted value (though it may have been transformed to an alias in
the deposit feed contract).
2. `to` is any 20-byte address (including the zero address)
- In case of a contract creation (cf. `isCreation`), this address is always zero.
- In case of a contract creation (cf. `isCreation`), this address is set to `null`.
3. `mint` is set to the emitted value.
4. `value` is set to the emitted value.
5. `gaslimit` is unchanged from the emitted value. It must be at least 21000.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment