Merge branch 'feat/nv18-fevm' into raulk/events-integrate-fvm

This commit is contained in:
Raúl Kripalani 2022-11-15 14:47:23 +00:00
commit 4313917e4c
2 changed files with 6 additions and 4 deletions

View File

@ -12,6 +12,7 @@ import (
cbg "github.com/whyrusleeping/cbor-gen"
"github.com/filecoin-project/go-address"
"github.com/filecoin-project/lotus/itests/kit"
)
@ -73,7 +74,6 @@ func TestFEVMBasic(t *testing.T) {
require.NoError(t, err)
wait := client.EVM().InvokeSolidity(ctx, fromAddr, idAddr, entryPoint, inputData)
require.True(t, wait.Receipt.ExitCode.IsSuccess(), "contract execution failed")
result, err := cbg.ReadByteArray(bytes.NewBuffer(wait.Receipt.Return), uint64(len(wait.Receipt.Return)))

View File

@ -5,16 +5,18 @@ import (
"context"
"encoding/binary"
"github.com/stretchr/testify/require"
cbg "github.com/whyrusleeping/cbor-gen"
"github.com/filecoin-project/go-address"
"github.com/filecoin-project/go-state-types/abi"
"github.com/filecoin-project/go-state-types/big"
builtintypes "github.com/filecoin-project/go-state-types/builtin"
"github.com/filecoin-project/go-state-types/builtin/v10/eam"
"github.com/filecoin-project/lotus/api"
"github.com/filecoin-project/lotus/chain/actors"
"github.com/filecoin-project/lotus/chain/types"
"github.com/stretchr/testify/require"
cbg "github.com/whyrusleeping/cbor-gen"
)
// EVM groups EVM-related actions.