From 3d4a0a643594f775c7f28f69dd20e2ef3c0cdac6 Mon Sep 17 00:00:00 2001 From: Sean Young Date: Tue, 13 Nov 2018 14:40:25 +0000 Subject: [PATCH 1/3] burrow-client no longer exists Signed-off-by: Sean Young --- docs/INSTALL.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/INSTALL.md b/docs/INSTALL.md index d4c37d959..8802015b2 100644 --- a/docs/INSTALL.md +++ b/docs/INSTALL.md @@ -8,6 +8,6 @@ cd $GOPATH/src/github.com/hyperledger/burrow make build ``` -This will build the `burrow` and `burrow-client` binaries and put them in the `bin/` directory. They can be executed from there or put wherever is convenient. +This will build the `burrow` binary and put it in the `bin/` directory. It can be executed from there or put wherever is convenient. -You can also install `burrow` into `$GOPATH/bin` with `make install_burrow`, \ No newline at end of file +You can also install `burrow` into `$GOPATH/bin` with `make install_burrow`, From 5961547803d0a1e884122401347b8cd8572bfbbe Mon Sep 17 00:00:00 2001 From: Sean Young Date: Wed, 14 Nov 2018 11:54:44 +0000 Subject: [PATCH 2/3] GetAccount on non-existing address causes protobuf encoding errors Signed-off-by: Sean Young --- rpc/rpcquery/query_server.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/rpc/rpcquery/query_server.go b/rpc/rpcquery/query_server.go index 7c3df3981..4fece3c82 100644 --- a/rpc/rpcquery/query_server.go +++ b/rpc/rpcquery/query_server.go @@ -48,7 +48,11 @@ func (qs *queryServer) Status(ctx context.Context, param *StatusParam) (*rpc.Res // Account state func (qs *queryServer) GetAccount(ctx context.Context, param *GetAccountParam) (*acm.Account, error) { - return qs.accounts.GetAccount(param.Address) + acc, err := qs.accounts.GetAccount(param.Address) + if acc == nil { + acc = &acm.Account{} + } + return acc, err } func (qs *queryServer) ListAccounts(param *ListAccountsParam, stream Query_ListAccountsServer) error { From d43421cd41724070b6b660f5efb0e45b085c6c04 Mon Sep 17 00:00:00 2001 From: Sean Young Date: Wed, 14 Nov 2018 15:09:51 +0000 Subject: [PATCH 3/3] Prepare for release Signed-off-by: Sean Young --- CHANGELOG.md | 10 ++++++++++ NOTES.md | 29 +++-------------------------- project/history.go | 14 +++----------- 3 files changed, 16 insertions(+), 37 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 28952df3f..ad6087426 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,13 @@ # [Hyperledger Burrow](https://github.com/hyperledger/burrow) Changelog +## [0.23.1] - 2018-11-14 +### Fixed +- [EVM] state/Cache no longer allows SetStorage on accounts that do not exist +- [GRPC] GetAccount on unknown account no longer causes a panic + +### Added +- [Execution] panics from executors are captured and pushed to error sink of TxExecution + + ## [0.23.0] - 2018-11-09 ### Changed - [ABI] provides fast event lookup of EventID @@ -311,6 +320,7 @@ This release marks the start of Eris-DB as the full permissioned blockchain node - [Blockchain] Fix getBlocks to respect block height cap. +[0.23.1]: https://github.com/hyperledger/burrow/compare/v0.23.0...v0.23.1 [0.23.0]: https://github.com/hyperledger/burrow/compare/v0.22.0...v0.23.0 [0.22.0]: https://github.com/hyperledger/burrow/compare/v0.21.0...v0.22.0 [0.21.0]: https://github.com/hyperledger/burrow/compare/v0.20.1...v0.21.0 diff --git a/NOTES.md b/NOTES.md index 822703d89..ce8344d5f 100644 --- a/NOTES.md +++ b/NOTES.md @@ -1,30 +1,7 @@ -### Changed -- [ABI] provides fast event lookup of EventID -- [Events] BlockExecution now included full Tendermint block header as protobuf object rather than JSON string -- [EVM] Nested call errors are now transmitted to EventSink (e.g. TxExecution) as events for better tracing and tests -- [SNative] Permissions contract returns permission flag set not resultant permissions from setBase unsetBase and setGlobal -- [EVM] Errors transmitted through errors.Pusher interface for more reliable capture from memory, stack, and elsewhere -- [Governance] Breaking change to state structure due to governance storage in tree (state root hashes will not match) - - ### Fixed -- [EVM] Issue where value was not transferred because VM call state was not synced -- [EVM] Various issue where errors were swallowed (in particular - where calling an empty account and when a TX was invalid on delivery) -- [EVM] When calling a non-existent account CreateAccount permission is checked on the caller not the caller's caller -- [CLI] Version now contains date and commit -- [Test] Burrow integration test runner shuts down Burrow correctly -- [Serialisation] updated tmthrgd/go-hex to fallback on default encoding when lacking SSE 4.1 CPU instructions - +- [EVM] state/Cache no longer allows SetStorage on accounts that do not exist +- [GRPC] GetAccount on unknown account no longer causes a panic ### Added -- [Deploy] Burrow deploy meta jobs reuses GRPC connection -- [Governance] Added proposal mechanism (via ProposalTx) that allows bulk atomic update of smart contracts and changing network parameters via a threshold voting mechanism. This allows some level of network evolution without any single trusted party or hard forks. This should be considered alpha level functionality. -- [EVM] Added EVM State interface removing unnecessary cache layer (fixing various issues) -- [EVM] Implemented STATICCALL opcode -- [P2P] Added AuthorizedPeers config option to sync only with whitelisted peers exposed over ABCI query under key /p2p/filter/ -- [EVM] stack depth now dynamically allocated and exponentially grown in the same way as memory -- [EVM] Solidity proxy call forwarding test - -### Removed -- MutableAccount and ConcreteAccount +- [Execution] panics from executors are captured and pushed to error sink of TxExecution diff --git a/project/history.go b/project/history.go index d72f4103e..0bb82dc13 100644 --- a/project/history.go +++ b/project/history.go @@ -47,21 +47,13 @@ func FullVersion() string { // To cut a new release add a release to the front of this slice then run the // release tagging script: ./scripts/tag_release.sh var History relic.ImmutableHistory = relic.NewHistory("Hyperledger Burrow", "https://github.com/hyperledger/burrow"). - MustDeclareReleases("", - `### Security - -### Changed - -### Fixed + MustDeclareReleases("0.23.1 - 2018-11-14", + `### Fixed - [EVM] state/Cache no longer allows SetStorage on accounts that do not exist +- [GRPC] GetAccount on unknown account no longer causes a panic ### Added - [Execution] panics from executors are captured and pushed to error sink of TxExecution - -### Removed - -### Deprecated - `, "0.23.0 - 2018-11-09", `### Changed