Skip to content

Commit

Permalink
Update versions for v1.9.12 (ava-labs#2767)
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenButtolph authored Mar 21, 2023
1 parent 4af4a64 commit b3a7468
Show file tree
Hide file tree
Showing 6 changed files with 146 additions and 6 deletions.
139 changes: 139 additions & 0 deletions RELEASES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,144 @@
# Release Notes

## [v1.9.12](https://github.com/ava-labs/avalanchego/releases/tag/v1.9.12)

This version is backwards compatible to [v1.9.0](https://github.com/ava-labs/avalanchego/releases/tag/v1.9.0). It is optional, but encouraged. The supported plugin version is `24`.

### Networking

- Removed linger setting on P2P connections
- Improved error message when failing to calculate peer uptimes
- Removed `EngineType` from P2P response messages
- Added context cancellation during dynamic IP updates
- Reduced the maximum P2P reconnect delay from 1 hour to 1 minute

### Consensus

- Added support to switch from `Avalanche` consensus to `Snowman` consensus
- Added support for routing consensus messages to either `Avalanche` or `Snowman` consensus on the same chain
- Removed usage of deferred evaluation of the `handler.Consensus` in the `Avalanche` `OnFinished` callback
- Dropped inbound `Avalanche` consensus messages after switching to `Snowman` consensus
- Renamed the `Avalanche` VM metrics prefix from `avalanche_{chainID}_vm_` to `avalanche_{chainID}_vm_avalanche`
- Replaced `consensus` and `decision` dispatchers with `block`, `tx`, and `vertex` dispatchers
- Removed `Avalanche` bootstrapping restarts during the switch to `Snowman` consensus

### AVM

- Added `avm` block execution manager
- Added `avm` block builder
- Refactored `avm` transaction syntactic verification
- Refactored `avm` transaction semantic verification
- Refactored `avm` transaction execution
- Added `avm` mempool gossip
- Removed block timer interface from `avm` `mempool`
- Moved `toEngine` channel into the `avm` `mempool`
- Added `GetUTXOFromID` to the `avm` `state.Chain` interface
- Added unpopulated `MerkleRoot` to `avm` blocks
- Added `avm` transaction based metrics
- Replaced error strings with error interfaces in the `avm` mempool

### PlatformVM

- Added logs when the local nodes stake amount changes
- Moved `platformvm` `message` package into `components`
- Replaced error strings with error interfaces in the `platformvm` mempool

### Warp

- Added `ID` method to `warp.UnsignedMessage`
- Improved `warp.Signature` verification error descriptions

### Miscellaneous

- Improved `merkledb` locking to allow concurrent read access through `trieView`s
- Fixed `Banff` transaction signing with ledger when using the wallet
- Emitted github artifacts after successful builds
- Added non-blocking bounded queue
- Converted the `x.Parser` helper to be a `block.Parser` interface from a `tx.Parser` interface

### Cleanup

- Separated dockerhub image publishing from the kurtosis test workflow
- Exported various errors to use in testing
- Removed the `vms/components/state` package
- Replaced ad-hoc linked hashmaps with the standard data-structure
- Removed `usr/local/lib/avalanche` from deb packages
- Standardized usage of `constants.UnitTestID`

### Examples

- Added P-chain `RemoveSubnetValidatorTx` example using the wallet
- Added X-chain `CreateAssetTx` example using the wallet

### Configs

- Added support to specify `HTTP` server timeouts
- `--http-read-timeout`
- `--http-read-header-timeout`
- `--http-write-timeout`
- `--http-idle-timeout`

### APIs

- Added `avm` block APIs
- `avm.getBlock`
- `avm.getBlockByHeight`
- `avm.getHeight`
- Converted `avm` APIs to only surface accepted state
- Deprecated all `ipcs` APIs
- `ipcs.publishBlockchain`
- `ipcs.unpublishBlockchain`
- `ipcs.getPublishedBlockchains`
- Deprecated all `keystore` APIs
- `keystore.createUser`
- `keystore.deleteUser`
- `keystore.listUsers`
- `keystore.importUser`
- `keystore.exportUser`
- Deprecated the `avm/pubsub` API endpoint
- Deprecated various `avm` APIs
- `avm.getAddressTxs`
- `avm.getBalance`
- `avm.getAllBalances`
- `avm.createAsset`
- `avm.createFixedCapAsset`
- `avm.createVariableCapAsset`
- `avm.createNFTAsset`
- `avm.createAddress`
- `avm.listAddresses`
- `avm.exportKey`
- `avm.importKey`
- `avm.mint`
- `avm.sendNFT`
- `avm.mintNFT`
- `avm.import`
- `avm.export`
- `avm.send`
- `avm.sendMultiple`
- Deprecated the `avm/wallet` API endpoint
- `wallet.issueTx`
- `wallet.send`
- `wallet.sendMultiple`
- Deprecated various `platformvm` APIs
- `platform.exportKey`
- `platform.importKey`
- `platform.getBalance`
- `platform.createAddress`
- `platform.listAddresses`
- `platform.getSubnets`
- `platform.addValidator`
- `platform.addDelegator`
- `platform.addSubnetValidator`
- `platform.createSubnet`
- `platform.exportAVAX`
- `platform.importAVAX`
- `platform.createBlockchain`
- `platform.getBlockchains`
- `platform.getStake`
- `platform.getMaxStakeAmount`
- `platform.getRewardUTXOs`
- Deprecated the `stake` field in the `platform.getTotalStake` response in favor of `weight`

## [v1.9.11](https://github.com/ava-labs/avalanchego/releases/tag/v1.9.11)

This version is backwards compatible to [v1.9.0](https://github.com/ava-labs/avalanchego/releases/tag/v1.9.0). It is optional, but encouraged. The supported plugin version is `24`.
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ require (
github.com/Microsoft/go-winio v0.5.2
github.com/NYTimes/gziphandler v1.1.1
github.com/ava-labs/avalanche-network-runner-sdk v0.3.0
github.com/ava-labs/coreth v0.11.8-rc.3
github.com/ava-labs/coreth v0.11.9-rc.0
github.com/ava-labs/ledger-avalanche/go v0.0.0-20230105152938-00a24d05a8c7
github.com/btcsuite/btcd/btcutil v1.1.3
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.1.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ github.com/allegro/bigcache v1.2.1-0.20190218064605-e24eb225f156/go.mod h1:Cb/ax
github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY=
github.com/ava-labs/avalanche-network-runner-sdk v0.3.0 h1:TVi9JEdKNU/RevYZ9PyW4pULbEdS+KQDA9Ki2DUvuAs=
github.com/ava-labs/avalanche-network-runner-sdk v0.3.0/go.mod h1:SgKJvtqvgo/Bl/c8fxEHCLaSxEbzimYfBopcfrajxQk=
github.com/ava-labs/coreth v0.11.8-rc.3 h1:pS+OTFPc9edcFuCJIQGn5TdyAZncT9Hhs9jCcmm7+PM=
github.com/ava-labs/coreth v0.11.8-rc.3/go.mod h1:pc44yvJD4jTPIwkPI64pUXyJDvQ/UAqkbmhXOx78PXA=
github.com/ava-labs/coreth v0.11.9-rc.0 h1:7oK5DWtvDEMKEaduw/34r5kdwUssRsFszCl1FFUvvPc=
github.com/ava-labs/coreth v0.11.9-rc.0/go.mod h1:y41I9mWK04s8oObvQeYjkdoidtPhkPqV8prRPN6zrd4=
github.com/ava-labs/ledger-avalanche/go v0.0.0-20230105152938-00a24d05a8c7 h1:EdxD90j5sClfL5Ngpz2TlnbnkNYdFPDXa0jDOjam65c=
github.com/ava-labs/ledger-avalanche/go v0.0.0-20230105152938-00a24d05a8c7/go.mod h1:XhiXSrh90sHUbkERzaxEftCmUz53eCijshDLZ4fByVM=
github.com/benbjohnson/clock v1.3.0 h1:ip6w0uFQkncKQ979AypyG0ER7mqUSBdKLOgAle/AT8A=
Expand Down
2 changes: 1 addition & 1 deletion scripts/constants.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ AVALANCHE_PATH=$( cd "$( dirname "${BASH_SOURCE[0]}" )"; cd .. && pwd ) # Direct
avalanchego_path="$AVALANCHE_PATH/build/avalanchego"
plugin_dir=${PLUGIN_DIR:-$HOME/.avalanchego/plugins}
evm_path=${EVM_PATH:-$plugin_dir/evm}
coreth_version=${CORETH_VERSION:-'v0.11.8-rc.3'}
coreth_version=${CORETH_VERSION:-'v0.11.9-rc.0'}

# Set the PATHS
GOPATH="$(go env GOPATH)"
Expand Down
3 changes: 2 additions & 1 deletion version/compatibility.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"24": [
"v1.9.10",
"v1.9.11"
"v1.9.11",
"v1.9.12"
],
"23": [
"v1.9.9"
Expand Down
2 changes: 1 addition & 1 deletion version/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ var (
Current = &Semantic{
Major: 1,
Minor: 9,
Patch: 11,
Patch: 12,
}
CurrentApp = &Application{
Major: Current.Major,
Expand Down

0 comments on commit b3a7468

Please sign in to comment.