aboutsummaryrefslogtreecommitdiff
path: root/plugin/evm/vm.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/evm/vm.go')
-rw-r--r--plugin/evm/vm.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugin/evm/vm.go b/plugin/evm/vm.go
index e1fdc33..b77e480 100644
--- a/plugin/evm/vm.go
+++ b/plugin/evm/vm.go
@@ -639,6 +639,12 @@ func (vm *VM) getCachedStatus(blockID ids.ID) choices.Status {
return status
}
+// SaveBlock persists a block to the database.
+// Right now this is a no-op and is only here to satisfy the ChainVM interface.
+func (vm *VM) SaveBlock(snowman.Block) error {
+ return nil
+}
+
func (vm *VM) getBlock(id ids.ID) *Block {
if blockIntf, ok := vm.blockCache.Get(id); ok {
return blockIntf.(*Block)