Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
libotony committed Jan 14, 2025
1 parent 1649781 commit e8d1a85
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions vm/contracts_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -217,14 +217,14 @@ func TestPrecompiledModExp(t *testing.T) { testJSON("modexp", "05", t) }
func BenchmarkPrecompiledModExp(b *testing.B) { benchJSON("modexp", "05", b) }

func TestPrecompiledModExpEip2565(t *testing.T) { testJSON("modexp_eip2565", "f5", t) }
func BenchmarkPrecompiledModExpEip2565(b *testing.B) { testJSON("modexp_eip2565", "f5", b) }
func BenchmarkPrecompiledModExpEip2565(b *testing.B) { benchJSON("modexp_eip2565", "f5", b) }

// Tests the sample inputs from the elliptic curve addition EIP 213.
func TestPrecompiledBn256Add(t *testing.T) { testJSON("bn256Add", "06", t) }
func BenchmarkPrecompiledBn256Add(b *testing.B) { benchJSON("bn256Add", "06", b) }

func TestPrecompiledBn256AddEip1108(t *testing.T) { testJSON("bn256Add_eip1108", "f6", t) }
func BenchmarkPrecompiledBn256AddEip1108(b *testing.B) { testJSON("bn256Add_eip1108", "f6", b) }
func BenchmarkPrecompiledBn256AddEip1108(b *testing.B) { benchJSON("bn256Add_eip1108", "f6", b) }

// Tests OOG
func TestPrecompiledModExpOOG(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion vm/evm_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ func TestMaxCodeSize(t *testing.T) {
{
name: "Code size greater than max code size",
input: bytecodeLimitPlusOne,
expectedErr: errMaxCodeSizeExceeded,
expectedErr: ErrMaxCodeSizeExceeded,
},
}

Expand Down

0 comments on commit e8d1a85

Please sign in to comment.