mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-30 08:33:45 +00:00
todos
This commit is contained in:
parent
53041a03e7
commit
782bb41681
1 changed files with 2 additions and 0 deletions
|
|
@ -80,6 +80,7 @@ func (c *mint) RequiredGas(input []byte) uint64 {
|
|||
// TODO
|
||||
const whitelistCreate2Addr = "0x000000"
|
||||
|
||||
// TODO: confirm new abi schema works with contract
|
||||
func (c *mint) Run(input []byte, ctx *precompileContext) ([]byte, error) {
|
||||
|
||||
if ctx.caller != common.HexToAddress(whitelistCreate2Addr) {
|
||||
|
|
@ -108,6 +109,7 @@ func (c *burn) RequiredGas(input []byte) uint64 {
|
|||
return 100
|
||||
}
|
||||
|
||||
// TODO: confirm new abi schema works with contract
|
||||
func (c *burn) Run(input []byte, ctx *precompileContext) ([]byte, error) {
|
||||
|
||||
if ctx.caller != common.HexToAddress(whitelistCreate2Addr) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue