tests: update to latest tests (#22290)
This updates the consensus tests to commit 31d6630 and adds support for access list transactions in the test runner. Co-authored-by: Martin Holst Swende <martin@swende.se>
This commit is contained in:
committed by
GitHub
parent
5a81dd97d5
commit
cd316d7c71
@ -14,6 +14,7 @@ import (
|
||||
|
||||
var _ = (*vmExecMarshaling)(nil)
|
||||
|
||||
// MarshalJSON marshals as JSON.
|
||||
func (v vmExec) MarshalJSON() ([]byte, error) {
|
||||
type vmExec struct {
|
||||
Address common.UnprefixedAddress `json:"address" gencodec:"required"`
|
||||
@ -37,6 +38,7 @@ func (v vmExec) MarshalJSON() ([]byte, error) {
|
||||
return json.Marshal(&enc)
|
||||
}
|
||||
|
||||
// UnmarshalJSON unmarshals from JSON.
|
||||
func (v *vmExec) UnmarshalJSON(input []byte) error {
|
||||
type vmExec struct {
|
||||
Address *common.UnprefixedAddress `json:"address" gencodec:"required"`
|
||||
|
Reference in New Issue
Block a user