Skip to content
This repository has been archived by the owner on May 13, 2022. It is now read-only.

Commit

Permalink
Next version will be 0.27.0
Browse files Browse the repository at this point in the history
Signed-off-by: Sean Young <[email protected]>
  • Loading branch information
Sean Young committed Jun 23, 2019
1 parent d0745f9 commit 6e3b00b
Show file tree
Hide file tree
Showing 24 changed files with 97 additions and 57 deletions.
12 changes: 10 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# [Hyperledger Burrow](https://github.com/hyperledger/burrow) Changelog
## [Unreleased]
## [0.27.0] - 2019-06-23
### Added
- [WASM] Support for WASM contracts written in Solidity compiled using solang

### Fixed
-[RPC/Transact] CallCodeSim and CallTxSim were run against uncommitted checker state rather than committed state were all other reads are routed. They were also passed through Transactor for no particularly good reason. This changes them to run against committed DB state and removes the code path through Transactor.

### Changed
- [State] TxExecution's Envelope now stored in state so will be reproduced in Vent Tx tables and over RPC, and so matches TxExecutions served from *Sync rpctransact methods


## [0.26.2] - 2019-06-19
Expand Down Expand Up @@ -507,7 +515,7 @@ This release marks the start of Eris-DB as the full permissioned blockchain node
- [Blockchain] Fix getBlocks to respect block height cap.


[Unreleased]: https://github.com/hyperledger/burrow/compare/v0.26.2...HEAD
[0.27.0]: https://github.com/hyperledger/burrow/compare/v0.26.2...v0.27.0
[0.26.2]: https://github.com/hyperledger/burrow/compare/v0.26.1...v0.26.2
[0.26.1]: https://github.com/hyperledger/burrow/compare/v0.26.0...v0.26.1
[0.26.0]: https://github.com/hyperledger/burrow/compare/v0.25.1...v0.26.0
Expand Down
8 changes: 7 additions & 1 deletion NOTES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
### Added
- [WASM] Support for WASM contracts written in Solidity compiled using solang

### Fixed
- [Blockchain] Persist LastBlockTime in Blockchain - before this patch LastBlockTime would only be set correctly after the first block had been received after a node is restarted - this can lead to non-determinism in the EVM via the TIMESTAMP opcode that use the LastBlockTime which is itself sourced from Tendermint's block header (from their implementation of BFT time). Implementing no empty blocks made observing this bug more likely by increasing the amount of time spent in a bad state (LastBlockTime is initially set to GenesisTime).
-[RPC/Transact] CallCodeSim and CallTxSim were run against uncommitted checker state rather than committed state were all other reads are routed. They were also passed through Transactor for no particularly good reason. This changes them to run against committed DB state and removes the code path through Transactor.

### Changed
- [State] TxExecution's Envelope now stored in state so will be reproduced in Vent Tx tables and over RPC, and so matches TxExecutions served from *Sync rpctransact methods

5 changes: 3 additions & 2 deletions acm/acm.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions acm/balance/balance.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions acm/validator/validator.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions bcm/bcm.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions consensus/tendermint/tendermint.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions crypto/crypto.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions dump/dump.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 15 additions & 9 deletions execution/contexts/call_context.go
Original file line number Diff line number Diff line change
Expand Up @@ -195,14 +195,20 @@ func (ctx *CallContext) Deliver(inAcc, outAcc *acm.Account, value uint64) error
if createContract {
txCache.InitWASMCode(callee, wcode)
}
ret, err := wasm.RunWASM(txCache, callee, createContract, wcode, ctx.tx.Data)
if err != nil {
ctx.Logger.InfoMsg("Error returned from WASM", "error", err)
return err
}
err = txCache.Sync()
if err != nil {
return err
ret, exception = wasm.RunWASM(txCache, callee, createContract, wcode, ctx.tx.Data)
if exception != nil {
// Failure. Charge the gas fee. The 'value' was otherwise not transferred.
ctx.Logger.InfoMsg("Error on WASM execution",
structure.ErrorKey, exception)

ctx.txe.PushError(errors.ErrorCodef(exception.ErrorCode(), "call error: %s\n",
exception.String()))
} else {
ctx.Logger.TraceMsg("Successful execution")
err := txCache.Sync()
if err != nil {
return err
}
}
ctx.txe.Return(ret, ctx.tx.GasLimit-gas)
} else {
Expand All @@ -211,7 +217,7 @@ func (ctx *CallContext) Deliver(inAcc, outAcc *acm.Account, value uint64) error
ret, exception = vmach.Call(txCache, ctx.txe, caller, callee, code, ctx.tx.Data, value, &gas)
if exception != nil {
// Failure. Charge the gas fee. The 'value' was otherwise not transferred.
ctx.Logger.InfoMsg("Error on execution",
ctx.Logger.InfoMsg("Error on EVM execution",
structure.ErrorKey, exception)

ctx.txe.PushError(errors.ErrorCodef(exception.ErrorCode(), "call error: %s\nEVM call trace: %s",
Expand Down
5 changes: 3 additions & 2 deletions execution/errors/errors.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions execution/exec/exec.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions execution/names/names.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions genesis/spec/spec.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions keys/keys.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions permission/permission.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion project/history.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func FullVersion() string {
// release tagging script: ./scripts/tag_release.sh
var History relic.ImmutableHistory = relic.NewHistory("Hyperledger Burrow", "https://github.com/hyperledger/burrow").
MustDeclareReleases(
"",
"0.27.0 - 2019-06-23",
`### Added
- [WASM] Support for WASM contracts written in Solidity compiled using solang
Expand Down
5 changes: 3 additions & 2 deletions rpc/rpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions rpc/rpcdump/rpcdump.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions rpc/rpcevents/rpcevents.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions rpc/rpcquery/rpcquery.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 6e3b00b

Please sign in to comment.