github.com/line/ostracon@v1.0.10-0.20230328032236-7f20145f065d/CHANGELOG.md (about) 1 # Changelog 2 3 ## v1.0.9 4 *Mar 16, 2023* 5 6 * Make a breaking change to the consensus logic for tendermint compatibity 7 * Define the specification of Ostracon 8 9 ### BREAKING CHANGE 10 - [consensus] [\#541](https://github.com/line/ostracon/pull/541) Remove BLS functionality from the mainstream 11 - [consensus] [\#543](https://github.com/line/ostracon/pull/543) Remove the voter election process 12 - [consensus] [\#559](https://github.com/line/ostracon/pull/559) Move VRF proof from Header to Entropy for compatibity 13 - [types] [\#546](https://github.com/line/ostracon/pull/546) feat!: replace a some same proto message to Tendermint 14 15 ### FEATURES 16 - [spec] [\#565](https://github.com/line/ostracon/pull/565) Add Ostracon specification skeleton 17 18 ### IMPROVEMENTS 19 - [types] [\#563](https://github.com/line/ostracon/pull/563) remove multiple sampling and integrate with Proposer election 20 - [types] [\#565](https://github.com/line/ostracon/pull/565) Add entropy correctness test 21 - [types] [\#575](https://github.com/line/ostracon/pull/575) Fix TODOs in [\#546](https://github.com/line/ostracon/pull/546) 22 - [docs] [\#560](https://github.com/line/ostracon/pull/560) Merge document corrections in LBM 23 - [github] [\#578](https://github.com/line/ostracon/pull/578) feat: Add codeowner 24 - [node] [\#576](https://github.com/line/ostracon/pull/576) feat: big genesis file 25 26 ### BUG FIXES 27 - Nothing 28 29 ## v1.0.8 30 *Dec 27, 2022* 31 32 * Update the default value of DefaultMaxTolerableByzantinePercentage 33 * Fix Validators of RPC implementation in Ostracon 34 * Add zerolog based rolling log system 35 * Improve many components 36 * `blockchain`, `crypto`, `dependency`, `docs`, `libs`, `lint`, `mempool`, `node`, `p2p`, `privval`, `state`, `statesync`, `test`, `types` 37 * Fix many bugs 38 * `consensus`, `crypto`, `state`, `test`, `types` 39 40 ### BREAKING CHANGE 41 - [rpc] [\#478](https://github.com/line/ostracon/pull/478) Fix Validators of RPC implementation in Ostracon 42 - [types] [\#511](https://github.com/line/ostracon/pull/511) Update the default value of DefaultMaxTolerableByzantinePercentage 43 44 ### FEATURES 45 - [libs] [\#535](https://github.com/line/ostracon/pull/535) feat: zerolog based rolling log system 46 47 ### IMPROVEMENTS 48 - [blockchain] [\#517](https://github.com/line/ostracon/pull/517) Add `ValidateBlock` 49 - [crypto] [\#492](https://github.com/line/ostracon/pull/492) Use the value receiver instead of the pointer receiver in Pubkey.Identity() 50 - [crypto] [\#528](https://github.com/line/ostracon/pull/528) Fix to change expected of test according to build tag 51 - [dependency] [\#521](https://github.com/line/ostracon/pull/521) fix: replace deprecated package `io/ioutil` with `os` 52 - [docs] [\#491](https://github.com/line/ostracon/pull/491) fix: Update the dead links 53 - [libs] [\#494](https://github.com/line/ostracon/pull/494) Remove sort from proposer's selection algorithm 54 - [libs] [\#496](https://github.com/line/ostracon/pull/496) Add validation at the beginning of func:RandomSamplingWithPriority 55 - [libs] [\#506](https://github.com/line/ostracon/pull/506) Fix so that HTTP request don't wait for responses indefinitely 56 - [lint] [\#505](https://github.com/line/ostracon/pull/505) Upgrade golangci-lint to v1.50.1 57 - [mempool] [\#507](https://github.com/line/ostracon/pull/507) fix: return postCheck error to abci client 58 - [node] [\#508](https://github.com/line/ostracon/pull/508) Remove unsed the functioin `StateProvider` 59 - [p2p/conn] [\#485](https://github.com/line/ostracon/pull/485) Optimization of function signChallenge() 60 - [p2p/pex] [\#484](https://github.com/line/ostracon/pull/484) Avoid panic when addr does not exist in book 61 - [p2p/pex] [\#487](https://github.com/line/ostracon/pull/487) Add test of IsGood() 62 - [p2p/pex] [\#509](https://github.com/line/ostracon/pull/509) Fix code duplication 63 - [p2p/upnp] [\#497](https://github.com/line/ostracon/pull/497) fix: Update the http status code handling on upnp 64 - [p2p] [\#500](https://github.com/line/ostracon/pull/500) fix: return error when AddChannel fails 65 - [p2p] [\#527](https://github.com/line/ostracon/pull/527) fix: add support for dns timeout 66 - [privval] [\#523](https://github.com/line/ostracon/pull/523) fix: remove strange `Ping` 67 - [state] [\#502](https://github.com/line/ostracon/pull/502) Fix to also remove VoterParams and LastProofHash in PruneStates 68 - [state] [\#525](https://github.com/line/ostracon/pull/525) Align with ValidatorSet on `PruneStates()` 69 - [statesync] [\#515](https://github.com/line/ostracon/pull/515) Add unique handling of servers 70 - [test] [\#512](https://github.com/line/ostracon/pull/512) Update using `GITHUB_OUTPUT` environment 71 - [test] [\#518](https://github.com/line/ostracon/pull/518) fix: fix to input value to GITHUB_OUTPUT correctly 72 - [test] [\#522](https://github.com/line/ostracon/pull/522) fix: fix inconsistencies between the validators and voters 73 - [type] [\#490](https://github.com/line/ostracon/pull/490) fix: Move `types/test_util.go:MakeBlock` into `types/block.go` 74 - [types] [\#504](https://github.com/line/ostracon/pull/504) Fix typo of the function ValidateBasic 75 - [types] [\#510](https://github.com/line/ostracon/pull/510) Add validation of the ValidatorsHash, Round and Proof 76 - [types] [\#530](https://github.com/line/ostracon/pull/530) fix the MaxHeaderSize 77 78 ### BUG FIXES 79 - [consensus] [\#514](https://github.com/line/ostracon/pull/514) fix: enable to join existing network with State Sync 80 - [consensus] [\#520](https://github.com/line/ostracon/pull/520) fix: fix total voters count 81 - [crypto] [\#493](https://github.com/line/ostracon/pull/493) Validate proof with ECVRF_decode_proof in vrfEd25519r2ishiguro.ProofToHash() 82 - [state] [\#498](https://github.com/line/ostracon/pull/498) fix: fix overriding tx index of duplicated txs 83 - [state] [\#526](https://github.com/line/ostracon/pull/526) Fix the bug of Ostracon's changes of [#194](https://github.com/line/ostracon/pull/194) 84 - [state] [\#533](https://github.com/line/ostracon/pull/533) Fix the mismatch between "State.Version.Consensus.App" and "State.ConsensusParams.Version.AppVersion" 85 - [test] [\#534](https://github.com/line/ostracon/pull/534) Fix the order of paremeters in require.Equalf() 86 - [test] [\#536](https://github.com/line/ostracon/pull/536) Backport e2e-test of the latest tendermint main branch 87 - [types] [\#513](https://github.com/line/ostracon/pull/513) Fix the validation and verification 88 - [types] [\#531](https://github.com/line/ostracon/pull/531) fix: Set maximum value for SignedMsgType 89 90 ## v1.0.7 91 92 *Oct 27, 2022* 93 94 * Revert some to original Tendermint 95 * Improve docs 96 97 ### BREAKING CHANGE 98 - [dependency] [\#446](https://github.com/line/ostracon/pull/446) Use tendermint/tm-db 99 - [amino] [\#447](https://github.com/line/ostracon/pull/447) Change PubKey/PrivKey prefixes 100 - [validator] [\#449](https://github.com/line/ostracon/pull/449) Swap StakingPower and VotingPower, and modify from StakingPower to VotingWeight 101 - [build] [\#450](https://github.com/line/ostracon/pull/450) Upgrade to Golang-1.18 102 103 ### FEATURES 104 - Nothing 105 106 ### IMPROVEMENTS 107 - [docs] [\#453](https://github.com/line/ostracon/pull/453) Apply docusaurus 2.0 directory structure 108 - [docs] [\#455](https://github.com/line/ostracon/pull/455) Change doc links to the collect ones within this site 109 - [docs] [\#456](https://github.com/line/ostracon/pull/456) Add topics for mepool, async behavior, ABCI, KVS, WAL to document 110 111 ### BUG FIXES 112 - [state] [\#458](https://github.com/line/ostracon/pull/458) Fix the thread-unsafe of PeerState logging 113 114 ## v1.0.6 115 116 *Jun 17, 2022* 117 118 * Improve behavior of KMS in Ostracon 119 * Improve supporting build environment 120 * Support building/running darwin/arm64 121 * Support building/running of linux/arm64 on Local/Docker via darwin/arm64 122 * Stop supporting linux/arm(32bit) 123 124 ### BREAKING CHANGE 125 - [build] [\#431](https://github.com/line/ostracon/pull/431) Stop support for linux/arm(32bit) 126 127 ### FEATURES 128 - Nothing 129 130 ### IMPROVEMENTS 131 - [kms] [\#417](https://github.com/line/ostracon/pull/417) Add KMS functionality 132 - [build] [\#426](https://github.com/line/ostracon/pull/426) Remove binary check for localnode 133 - [build] [\#428](https://github.com/line/ostracon/pull/428) bls-eth-go-binary version update for apple M1 chip 134 - [security] [\#429](https://github.com/line/ostracon/pull/429) Apply runc version 1.1.2 135 - [test] [\#408](https://github.com/line/ostracon/pull/408) Use Docker Buildx and Cache in e2e.yml 136 - [repository/config] [\#432](https://github.com/line/ostracon/pull/432) Clean up unused configuration files 137 138 ### BUG FIXES 139 - Nothing 140 141 ## v1.0.5 142 143 *May 9, 2022* 144 145 * Improve checking tx with txsMap for fixing the inconsistency between mem.txs and mem.txsMap 146 * Apply changes up to tendermint v0.34.19 147 148 ### BREAKING CHANGE 149 - Nothing 150 151 ### FEATURES 152 - Nothing 153 154 ### IMPROVEMENTS 155 - [mempool] [\#394](https://github.com/line/ostracon/pull/394) Remove panic for unexpected tx response in resCbRecheck 156 - [mempool] [\#404](https://github.com/line/ostracon/pull/404) Improve checking tx with txsMap for fixing the inconsistency between mem.txs and mem.txsMap 157 - [upgrade/tm-db] [\#402](https://github.com/line/ostracon/pull/402) Upgrade to line/tm-db-v2.0.0-init.1.0.20220121012851-61d2bc1d9486 158 - [backport/tendermint] [\#368](https://github.com/line/ostracon/pull/368) Main patch tm-v0.34.15 159 - [backport/tendermint] [\#407](https://github.com/line/ostracon/pull/407) Revert: not to use grpc/credentials/insecure for compatibility 160 - [backport/tendermint] [\#375](https://github.com/line/ostracon/pull/375) Main patch tm-v0.34.16 161 - [backport/tendermint] [\#389](https://github.com/line/ostracon/pull/389) Main patch tm-v0.34.17 162 - [backport/tendermint] [\#401](https://github.com/line/ostracon/pull/401) Main patch tm-v0.34.18, tm-v0.34.19 163 - [github/stale] [\#377](https://github.com/line/ostracon/pull/377) Exclude auto-closing of issues in github actions 164 - [test] [\#403](https://github.com/line/ostracon/pull/403) Improve vrf test 165 166 ### BUG FIXES 167 - Nothing 168 169 ## v1.0.4 170 171 *Feb 25, 2022* 172 173 * Apply changes up to tendermint v0.34.14 174 175 ### BREAKING CHANGE 176 - Nothing 177 178 ### FEATURES 179 - Nothing 180 181 ### IMPROVEMENTS 182 - [backport/tendermint] [\#361](https://github.com/line/ostracon/pull/361) Main patch tm-v0.34.12 183 - [backport/tendermint] [\#364](https://github.com/line/ostracon/pull/364) Main patch tm-v0.34.13 184 - [backport/tendermint] [\#366](https://github.com/line/ostracon/pull/366) Main patch tm v0.34.14 185 186 ### BUG FIXES 187 - Nothing 188 189 ## v1.0.3 190 191 *Jan 20, 2022* 192 193 * Improve p2p/peer reactor so as not to abandon the message 194 * Apply changes up to tendermint v0.34.11 195 196 ### BREAKING CHANGE 197 - Nothing 198 199 ### FEATURES 200 - Nothing 201 202 ### IMPROVEMENTS 203 - [p2p/peer] [\#341](https://github.com/line/ostracon/pull/341) Remove default case 204 - [github] [\#346](https://github.com/line/ostracon/pull/346) Add CODEOWNERS 205 - [backport/tendermint] [\#349](https://github.com/line/ostracon/pull/349) Main patch from tm-v0.34.9 206 - [lint] [\#356](https://github.com/line/ostracon/pull/356) Upgrade to super-linter-v4 for avoiding broken version 207 - [backport/tendermint] [\#358](https://github.com/line/ostracon/pull/358) Main patch from tm-v0.34.10 208 - [backport/tendermint] [\#359](https://github.com/line/ostracon/pull/359) Main patch tm-v0.34.11 209 210 ### BUG FIXES 211 - [consensus] [\#345](https://github.com/line/ostracon/pull/345) fix: Modify omission of change to change ValidatorSet to VoterSet for marverick 212 - [version] [\#348](https://github.com/line/ostracon/pull/348) Fix version.go (Rollback to only use OCCoreSemVer) 213 214 ## v1.0.2 215 216 *Nov 08, 2021* 217 218 * Fix bugs 219 * Improve crypto/composite key 220 221 ### BREAKING CHANGES 222 - Nothing 223 224 ### FEATURES 225 - Nothing 226 227 ### IMPROVEMENTS 228 - [test] [\#327](https://github.com/line/ostracon/pull/327) Add libsodium test on Github Actions 229 - [crypto/composite] [\#335](https://github.com/line/ostracon/pull/335) Improve composite key Bytes/FromBytes and make tools 230 - [security] [\#336](https://github.com/line/ostracon/pull/336) Remove unused package-lock.json 231 - [bot] [\#337](https://github.com/line/ostracon/pull/337) Improve dependabot 232 233 ### BUG FIXES 234 - [test] [\#338](https://github.com/line/ostracon/pull/338) bugfix: wrong binary name 235 - [consensus] [\#340](https://github.com/line/ostracon/pull/340) Modify omission of change to change ValidatorSet to VoterSet 236 237 ## v1.0.1 238 239 *Sep 30, 2021* 240 241 * Improved performances 242 * Improved interfaces for abci/light client 243 * Add max txs per block 244 * Make documents for VRF/BLS 245 * Fixed test environments 246 247 ### BREAKING CHANGES 248 - Nothing 249 250 ### FEATURES 251 - [performance] [\#287](https://github.com/line/ostracon/pull/287) perf: improve performance and modify some abci 252 - [abci] [\#312](https://github.com/line/ostracon/pull/312) Add VotingPower to abci.Evidence 253 - [light] [\#313](https://github.com/line/ostracon/pull/313) fix: modify verifying interface for integrating lfb 254 - [mempool] [\#317](https://github.com/line/ostracon/pull/317) feat: added max txs per block to config.toml 255 - [logging] [\#324](https://github.com/line/ostracon/pull/324) chore: added extra timing info regarding block generation 256 - [docs] [\#294](https://github.com/line/ostracon/pull/294) doc: [ja] Add ostracon-specific VRF+BLS feature documents 257 - [docs] [\#304](https://github.com/line/ostracon/pull/304) doc: [en] Add ostracon-specific VRF+BLS feature documents 258 259 ### BUG FIXES 260 - [test] [\#290](https://github.com/line/ostracon/pull/290) Fix broken Github Actions environments of main branch 261 - [test] [\#301](https://github.com/line/ostracon/pull/301) Enable maverick node for e2e test 262 - [test] [\#297](https://github.com/line/ostracon/pull/297) Support for VRF implementation with libsodium 263 - [test] [\#303](https://github.com/line/ostracon/pull/303) Update libsodium impl and add benchmark test 264 - [test] [\#307](https://github.com/line/ostracon/pull/307) Remove t.Skip in testcases 265 - [test] [\#315](https://github.com/line/ostracon/pull/315) Support arm64 and arm 266 - [test] [\#319](https://github.com/line/ostracon/pull/319) Fix the test case that often fails 267 268 ## v1.0.0 269 270 *Jun 29, 2021* 271 272 * Changed from the consensus way which the entire validator agrees to a part of the validators is elected as a voter to 273 consensus. The selected validator is called `voter` 274 * The voter to be elected has been changed so that it can be determined in the n-1 block from the one determined by 275 the n-2 block. 276 * A BLS signature library was added. The ability to use the BLS signature library will be added in the next version. 277 * When distributing rewards in Cosmos-SDK, some ABCIs have been modified to distribute the voting power of elected 278 voters. 279 280 ### BREAKING CHANGES 281 - State 282 - [state] [\#92](https://github.com/line/ostracon/pull/92) Add `VoterParams` to Genesis state 283 - [state] [\#100](https://github.com/line/ostracon/pull/100) Remove `NextVoters` from state 284 - Go API 285 - [types] [\#83](https://github.com/line/ostracon/pull/83) Add `StakingPower` to `Validator` 286 - [consensus] [\#83](https://github.com/line/ostracon/pull/83) Change calculation of `VotingPower` 287 - Blockchain Protocol 288 - [state] [\#7](https://github.com/line/ostracon/issues/7) Add round, proof in block 289 - P2P Protocol 290 - [abci] [\#100](https://github.com/line/ostracon/pull/100) Add `voters_hash` field, which is needed for verification of a block header 291 - [abci] [\#102](https://github.com/line/ostracon/pull/102) Add voting power in `VoterInfo` of abci 292 293 ### FEATURES 294 - [types] [\#40](https://github.com/line/ostracon/issues/40) Add vrf interface and add a function generating vrf proof to PrivValidator 295 - [lib/rand] [\#43](https://github.com/line/ostracon/issues/43) Implementation of selection algorithms using categorical distributions 296 - [state] [\#44](https://github.com/line/ostracon/issues/44) Add genesis seed for electing proposer of first block 297 - [types] [\#48](https://github.com/line/ostracon/issues/48) Replace tendermint's PoS to VRF-based Random Sampling 298 - [rpc] [\#78](https://github.com/line/ostracon/pull/78) Add `Voters` rpc 299 - [consensus] [\#83](https://github.com/line/ostracon/pull/83) Selection voters using random sampling without replacement 300 - [consensus] [\#92](https://github.com/line/ostracon/pull/92) Apply calculation of voter count 301 - [BLS] [\#81](https://github.com/line/ostracon/issues/81) Modify to generate at the same time as Ed25519 key generation 302 - [lite] [\#100](https://github.com/line/ostracon/pull/100) Lite calls `Genesis()` rpc when it starts up 303 304 ### BUG FIXES 305 - [circleCI] [\#76](https://github.com/line/ostracon/pull/76) Fix contract test job of circleCI 306 307 ## v0.0.0 308 309 *Mar 15, 2021* 310 311 This release rewrite to ostracon. 312 313 ## PreHistory 314 Initial ostracon is based on the tendermint v0.34.8 315 316 ## [tendermint v0.34.8] - 2021-02-25 317 318 * (tendermint) [v0.34.8](https://github.com/tendermint/tendermint/releases/tag/v0.34.8). 319 320 Please refer [CHANGELOG_OF_TENDERMINT_v0.34.8](https://github.com/tendermint/tendermint/blob/v0.34.8/CHANGELOG.md) 321 <!-- Release links -->