mirror of https://github.com/status-im/evmc.git
Merge pull request #132 from ethereum/storagestore
Rename EVMC_STORAGE_MODIFIED_DIRTY to EVMC_STORAGE_MODIFIED_AGAIN
This commit is contained in:
commit
62ed4a14d3
|
@ -39,10 +39,11 @@ const (
|
||||||
type StorageStatus int
|
type StorageStatus int
|
||||||
|
|
||||||
const (
|
const (
|
||||||
StorageUnchanged StorageStatus = C.EVMC_STORAGE_UNCHANGED
|
StorageUnchanged StorageStatus = C.EVMC_STORAGE_UNCHANGED
|
||||||
StorageModified StorageStatus = C.EVMC_STORAGE_MODIFIED
|
StorageModified StorageStatus = C.EVMC_STORAGE_MODIFIED
|
||||||
StorageAdded StorageStatus = C.EVMC_STORAGE_ADDED
|
StorageModifiedAgain StorageStatus = C.EVMC_STORAGE_MODIFIED_AGAIN
|
||||||
StorageDeleted StorageStatus = C.EVMC_STORAGE_DELETED
|
StorageAdded StorageStatus = C.EVMC_STORAGE_ADDED
|
||||||
|
StorageDeleted StorageStatus = C.EVMC_STORAGE_DELETED
|
||||||
)
|
)
|
||||||
|
|
||||||
func goAddress(in C.struct_evmc_address) common.Address {
|
func goAddress(in C.struct_evmc_address) common.Address {
|
||||||
|
|
|
@ -438,20 +438,20 @@ enum evmc_storage_status
|
||||||
*/
|
*/
|
||||||
EVMC_STORAGE_MODIFIED = 1,
|
EVMC_STORAGE_MODIFIED = 1,
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A storage item has been modified after being modified before: X -> Y -> Z.
|
||||||
|
*/
|
||||||
|
EVMC_STORAGE_MODIFIED_AGAIN = 2,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A new storage item has been added: 0 -> X.
|
* A new storage item has been added: 0 -> X.
|
||||||
*/
|
*/
|
||||||
EVMC_STORAGE_ADDED = 2,
|
EVMC_STORAGE_ADDED = 3,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A storage item has been deleted: X -> 0.
|
* A storage item has been deleted: X -> 0.
|
||||||
*/
|
*/
|
||||||
EVMC_STORAGE_DELETED = 3,
|
EVMC_STORAGE_DELETED = 4
|
||||||
|
|
||||||
/**
|
|
||||||
* A storage item has been modified after being modified before: X -> Y -> Z.
|
|
||||||
*/
|
|
||||||
EVMC_STORAGE_MODIFIED_DIRTY = 4
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue