mirror of
https://github.com/status-im/ethereumj-personal.git
synced 2025-01-11 12:24:13 +00:00
minor fix for last commit
This commit is contained in:
parent
7c129164c3
commit
1dd17488ac
@ -3,19 +3,19 @@
|
||||
##### TODO list:
|
||||
----------------
|
||||
|
||||
- [X] **State management** trie for storage hash calculation
|
||||
- [x] **State management** trie for storage hash calculation
|
||||
and update hash into AccountState
|
||||
- [ ] **GUI screen** a screen that will hold table with full state representation
|
||||
- [ ] **SerpentCompiler** compile create(gas, mem_start, import("examples/mul2.se"))
|
||||
https://github.com/ethereum/wiki/wiki/Serpent
|
||||
- [ ] **SerpentCompiler** compile return(array) correct
|
||||
- [ ] **VM execution:** SUICIDE op adjust
|
||||
- [x] **VM execution:** SUICIDE op adjust
|
||||
- [ ] **ProgramPlayDialog** support internal calls
|
||||
- [ ] **Build:** extract core module and studio application
|
||||
- [ ] **Performance:** BigInteger math change for constant arrays implementation
|
||||
economy for memory allocation
|
||||
- [ ] **Command Line:** add the headless run option
|
||||
- [ ] **Testing by JSON files:** follow cpp client performs test case by getting json file contains the test describe
|
||||
- [x] **Testing by JSON files:** follow cpp client performs test case by getting json file contains the test describe
|
||||
- [ ] **SerpentCompiler** Serpent new syntax:
|
||||
(@> @< @/ @%) - unsigned operations
|
||||
> < / % - default are all signed operations
|
||||
|
@ -232,12 +232,13 @@ public class Repository {
|
||||
|
||||
public void saveCode(byte[] address, byte[] code) {
|
||||
|
||||
if (code == null) return;
|
||||
|
||||
if (logger.isDebugEnabled())
|
||||
logger.debug("saveCode: \n address: [ {} ], \n code: [ {} ]",
|
||||
Hex.toHexString(address),
|
||||
Hex.toHexString(code));
|
||||
|
||||
if (code == null) return;
|
||||
|
||||
AccountState state = getAccountState(address);
|
||||
if (state == null) return;
|
||||
|
@ -190,6 +190,11 @@ public class TestRunner {
|
||||
}
|
||||
}
|
||||
|
||||
// TODO: assert that you have no extra accounts in the repository
|
||||
// TODO: -> basically the deleted by suicide should be deleted
|
||||
// TODO: -> and no unexpected created
|
||||
|
||||
|
||||
List<org.ethereum.vm.CallCreate> resultCallCreates =
|
||||
program.getResult().getCallCreateList();
|
||||
|
||||
|
@ -74,6 +74,8 @@ public class ProgramResult {
|
||||
|
||||
public void addDeleteAccounts(List<DataWord> accounts){
|
||||
|
||||
if (accounts == null) return;
|
||||
|
||||
if (deleteAccounts == null){
|
||||
deleteAccounts = new ArrayList<>();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user