Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions giga/executor/vm/evmc/vm.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"math"

"github.com/ethereum/evmc/v12/bindings/go/evmc"
"github.com/ethereum/go-ethereum/core"
"github.com/sei-protocol/sei-chain/giga/executor/types"
)

Expand All @@ -30,3 +31,8 @@
ret, left, _, _, err := v.hostContext.Call(evmc.Call, evmc.Address(to), evmc.Address(sender), evmc.Hash(value), input, int64(gas), 0, false, evmc.Hash{}, evmc.Address(to))
return ret, uint64(left), err //nolint:gosec
}

func (v *VMImpl) ApplyMessage(msg *core.Message, gp *core.GasPool) (*core.ExecutionResult, error) {
executionResult, err := core.ApplyMessage(v.evm, msg, gp)

Check failure on line 36 in giga/executor/vm/evmc/vm.go

View workflow job for this annotation

GitHub Actions / lint

v.evm undefined (type *VMImpl has no field or method evm) (typecheck)

Check failure on line 36 in giga/executor/vm/evmc/vm.go

View workflow job for this annotation

GitHub Actions / Test sei-chain

v.evm undefined (type *VMImpl has no field or method evm)
return executionResult, err
}
Loading