From 8af64ea6a71ec825506a02ec00f62bb1a261081b Mon Sep 17 00:00:00 2001 From: Alexandra Date: Mon, 28 Jan 2019 11:08:41 -0500 Subject: [PATCH] adding placeholders for methods implemented in commits that were reordered --- aion_vm_api | 2 +- .../mcf/vm/types/KernelInterfaceForFastVM.java | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/aion_vm_api b/aion_vm_api index a16ba91210..e609864af9 160000 --- a/aion_vm_api +++ b/aion_vm_api @@ -1 +1 @@ -Subproject commit a16ba9121079cf2dfb7b739581f968d546b632f7 +Subproject commit e609864af94a5053a3a1d01a61d8ecfd7c131cb3 diff --git a/modMcf/src/org/aion/mcf/vm/types/KernelInterfaceForFastVM.java b/modMcf/src/org/aion/mcf/vm/types/KernelInterfaceForFastVM.java index 407c814ce6..a115b05214 100644 --- a/modMcf/src/org/aion/mcf/vm/types/KernelInterfaceForFastVM.java +++ b/modMcf/src/org/aion/mcf/vm/types/KernelInterfaceForFastVM.java @@ -75,6 +75,11 @@ public void putStorage(Address address, byte[] key, byte[] value) { this.repositoryCache.addStorageRow(address, storageKey, storageValue); } + @Override + public void removeStorage(Address address, byte[] key) { + // TODO: remove this placeholder for changes made in a reorganized commit + } + @Override public byte[] getStorage(Address address, byte[] key) { ByteArrayWrapper storageKey = new DataWord(key).toWrapper(); @@ -121,6 +126,16 @@ public void deductEnergyCost(Address address, BigInteger energyCost) { } } + @Override + public void refundAccount(Address address, BigInteger amount) { + // TODO: remove this placeholder for changes made in a reorganized commit + } + + @Override + public void payMiningFee(Address miner, BigInteger fee) { + // TODO: remove this placeholder for changes made in a reorganized commit + } + @Override public boolean accountNonceEquals(Address address, BigInteger nonce) { return (this.isLocalCall) ? true : getNonce(address).equals(nonce);