Skip to content

Commit

Permalink
adding placeholders for methods implemented in commits that were reor…
Browse files Browse the repository at this point in the history
…dered
  • Loading branch information
AlexandraRoatis committed Jan 28, 2019
1 parent 32e4408 commit 8af64ea
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion aion_vm_api
15 changes: 15 additions & 0 deletions modMcf/src/org/aion/mcf/vm/types/KernelInterfaceForFastVM.java
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 8af64ea

Please sign in to comment.