Skip to content

Commit

Permalink
Merge pull request hyperledger-archives#962 from seanyoung/minors
Browse files Browse the repository at this point in the history
Minors
  • Loading branch information
Silas Davis authored Nov 14, 2018
2 parents f3fca44 + d43421c commit 4d96509
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 40 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
Expand Down
29 changes: 3 additions & 26 deletions NOTES.md
Original file line number Diff line number Diff line change
@@ -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

4 changes: 2 additions & 2 deletions docs/INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`,
You can also install `burrow` into `$GOPATH/bin` with `make install_burrow`,
14 changes: 3 additions & 11 deletions project/history.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 5 additions & 1 deletion rpc/rpcquery/query_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 4d96509

Please sign in to comment.