mirror of https://github.com/status-im/evmc.git
Merge branch 'release/6.0'
# Conflicts: # .bumpversion.cfg # CHANGELOG.md # CMakeLists.txt
This commit is contained in:
commit
9aff0e98e8
|
@ -2,6 +2,11 @@
|
|||
|
||||
## [6.1.0-dev] - unreleased
|
||||
|
||||
## [6.0.2] - 2019-01-16
|
||||
|
||||
- Fixed: [[#179](https://github.com/ethereum/evmc/pull/179)]
|
||||
Add missing salt argument for CREATE2 in Host in Go bindings.
|
||||
|
||||
## [6.0.1] - 2018-11-10
|
||||
|
||||
- Fixed: [[#169](https://github.com/ethereum/evmc/pull/169)]
|
||||
|
@ -88,6 +93,7 @@
|
|||
|
||||
|
||||
[6.1.0-dev]: https://github.com/ethereum/evmc/compare/v6.0.0...HEAD
|
||||
[6.0.2]: https://github.com/ethereum/evmc/releases/tag/v6.0.2
|
||||
[6.0.1]: https://github.com/ethereum/evmc/releases/tag/v6.0.1
|
||||
[6.0.0]: https://github.com/ethereum/evmc/releases/tag/v6.0.0
|
||||
[5.2.0]: https://github.com/ethereum/evmc/releases/tag/v5.2.0
|
||||
|
|
|
@ -84,7 +84,7 @@ type HostContext interface {
|
|||
EmitLog(addr common.Address, topics []common.Hash, data []byte)
|
||||
Call(kind CallKind,
|
||||
destination common.Address, sender common.Address, value *big.Int, input []byte, gas int64, depth int,
|
||||
static bool) (output []byte, gasLeft int64, createAddr common.Address, err error)
|
||||
static bool, salt *big.Int) (output []byte, gasLeft int64, createAddr common.Address, err error)
|
||||
}
|
||||
|
||||
//export accountExists
|
||||
|
@ -207,7 +207,7 @@ func call(pCtx unsafe.Pointer, msg *C.struct_evmc_message) C.struct_evmc_result
|
|||
|
||||
kind := CallKind(msg.kind)
|
||||
output, gasLeft, createAddr, err := ctx.Call(kind, goAddress(msg.destination), goAddress(msg.sender), goHash(msg.value).Big(),
|
||||
goByteSlice(msg.input_data, msg.input_size), int64(msg.gas), int(msg.depth), msg.flags != 0)
|
||||
goByteSlice(msg.input_data, msg.input_size), int64(msg.gas), int(msg.depth), msg.flags != 0, goHash(msg.create2_salt).Big())
|
||||
|
||||
statusCode := C.enum_evmc_status_code(0)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue