├── soon ├── withdrwl ├── hol ├── if ├── README.md ├── go ├── err ├── func ├── strc ├── import └── nil /soon: -------------------------------------------------------------------------------- 1 | soondrop.txt -------------------------------------------------------------------------------- /withdrwl: -------------------------------------------------------------------------------- 1 | package withdrawals 2 | -------------------------------------------------------------------------------- /hol: -------------------------------------------------------------------------------- 1 | "github.com/holiman/uint256" 2 | -------------------------------------------------------------------------------- /if: -------------------------------------------------------------------------------- 1 | if bytes.Equal(value, expected) 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # drop_checker 2 | checker_infxfg 3 | -------------------------------------------------------------------------------- /go: -------------------------------------------------------------------------------- 1 | "github.com/ethereum/go-ethereum/common" 2 | -------------------------------------------------------------------------------- /err: -------------------------------------------------------------------------------- 1 | return fmt.Errorf("failed to encode rlp: %w", err 2 | -------------------------------------------------------------------------------- /func: -------------------------------------------------------------------------------- 1 | func GenerateProofDB(proof []string) *proofDB 2 | -------------------------------------------------------------------------------- /strc: -------------------------------------------------------------------------------- 1 | type proofDB struct { 2 | m map[string][]byte 3 | -------------------------------------------------------------------------------- /import: -------------------------------------------------------------------------------- 1 | import ( 2 | "bytes" 3 | "errors" 4 | "fmt" 5 | stateRoot, 6 | proof.Address 7 | -------------------------------------------------------------------------------- /nil: -------------------------------------------------------------------------------- 1 | func (p *proofDB) Has(key []byte) (bool, error) { 2 | _, ok := p.m[string(key)] 3 | return ok, nil 4 | --------------------------------------------------------------------------------