-
Notifications
You must be signed in to change notification settings - Fork 2.2k
EIP 158 + 160 protocol update #3381
Conversation
c6b2d44
to
2c8757b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We must merge #3378 first and rebase this one.
@@ -688,7 +689,7 @@ void Block::performIrregularModifications() | |||
Addresses allDAOs = childDaos(); | |||
for (Address const& dao: allDAOs) | |||
m_state.transferBalance(dao, recipient, m_state.balance(dao)); | |||
m_state.commit(); | |||
m_state.commit(false); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These bool flags are very annoying. Can you try using enum: bool
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, let's convert this into an enum - although I'm not sure if : bool
is required.
Short test against solidity caused this:
|
What test? |
just the solidity end to end tests |
Sorry, false alarm, I think I did not include your fixes to the other PR. |
suicide issue test failing |
@chfast Build error on both windows and linux - could you please take a look?
|
06198df
to
6b29490
Compare
Rebased and squashed some commits. |
@@ -33,6 +33,7 @@ if "%TESTS%"=="On" ( | |||
REM Clone the end-to-end test repo, and point environment variable at it. | |||
cd .. | |||
git clone --depth 1 https://github.com/ethereum/tests.git | |||
git checkout eip158 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please fix the tests repo and remove this before merging.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes. this is to see the green tests
b553839
to
f76ce6c
Compare
@@ -6,3 +6,7 @@ | |||
path = evmjit | |||
url = https://github.com/ethereum/evmjit | |||
branch = develop | |||
[submodule "libjson-rpc-cpp"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not needed in develop branch so it should not be here.
Argh, could you please fix that, @winsvega ? |
This implements ethereum/EIPs#158 and ethereum/EIPs#160 and ethereum/EIPs#170
Still to do: