Commit 80b300ec authored by Kelvin Fichter's avatar Kelvin Fichter Committed by GitHub

Add state batch deleted event (#145)

parent b4feae2f
...@@ -450,6 +450,11 @@ contract OVM_StateCommitmentChain is iOVM_StateCommitmentChain, iRingBufferOverw ...@@ -450,6 +450,11 @@ contract OVM_StateCommitmentChain is iOVM_StateCommitmentChain, iRingBufferOverw
0 0
) )
); );
emit StateBatchDeleted(
_batchHeader.batchIndex,
_batchHeader.batchRoot
);
} }
/** /**
......
...@@ -22,6 +22,11 @@ interface iOVM_StateCommitmentChain { ...@@ -22,6 +22,11 @@ interface iOVM_StateCommitmentChain {
bytes _extraData bytes _extraData
); );
event StateBatchDeleted(
uint256 indexed _batchIndex,
bytes32 _batchRoot
);
/******************** /********************
* Public Functions * * Public Functions *
********************/ ********************/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment