aboutsummaryrefslogtreecommitdiff
path: root/plugin/evm/export_tx.go
diff options
context:
space:
mode:
authorAaron Buchwald <[email protected]>2020-10-06 16:12:56 -0400
committerAaron Buchwald <[email protected]>2020-10-06 16:12:56 -0400
commita5b80ffc01821becffbe4f36d937f778c911af5f (patch)
tree801b7448bac78cb61ad12a2748796e55d7d0cdd6 /plugin/evm/export_tx.go
parentd833a96a315eaf3385316c6cfc89a2c7b5f32c73 (diff)
Add semantic verification tests for import tx
Diffstat (limited to 'plugin/evm/export_tx.go')
-rw-r--r--plugin/evm/export_tx.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugin/evm/export_tx.go b/plugin/evm/export_tx.go
index 037f875..067252a 100644
--- a/plugin/evm/export_tx.go
+++ b/plugin/evm/export_tx.go
@@ -228,6 +228,7 @@ func (vm *VM) newExportTx(
return tx, utx.Verify(vm.ctx.XChainID, vm.ctx, vm.txFee, vm.ctx.AVAXAssetID)
}
+// EVMStateTransfer executes the state update from the atomic export transaction
func (tx *UnsignedExportTx) EVMStateTransfer(vm *VM, state *state.StateDB) error {
addrs := map[[20]byte]uint64{}
for _, from := range tx.Ins {