Skip to content

Commit ae7805b

Browse files
author
Klimov Sergey
authored
Merge pull request #587 from klim0v/v2.0
frozen
2 parents bd77d2b + aba1719 commit ae7805b

4 files changed

Lines changed: 38 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,36 @@
11
# Changelog
22

3+
## Unreleased [v2.0.0](https://github.com/MinterTeam/minter-go-node/tree/v2.0)
4+
5+
[Full Changelog](https://github.com/MinterTeam/minter-go-node/compare/v1.2.1...v2.0)
6+
7+
### Added
8+
9+
- exchange transactions via liquidity pools
10+
- voting for network commissions with linking the rate to any coin
11+
- smooth network update without stopping
12+
- creation of unreserved coins
13+
- allowed to change the validator's commission
14+
- the period for recalculating stakes and accruing rewards increased from 120 blocks to 720
15+
- validator penalty for skipped network blocks replaced with 24-hour ban
16+
17+
### Changed
18+
19+
- API v2 [changelog](https://klim0v.github.io/minter-node-api-v2-diff/)
20+
- continuation of block numbering from the previous version of the network
21+
22+
### Removed
23+
24+
- Delete API v1
25+
- Delete transactions `PriceVote`
26+
27+
### Fixed
28+
29+
### Security
30+
31+
- Update Tendermint to 0.34.8
32+
- Update IAVL to v0.15.3
33+
334
## 1.2.1
435

536
- [core] Add tags old_coin_symbol and old_coin_id to RecreateCoin tx

api/v2/service/frozen.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,10 @@ func (s *Service) Frozen(ctx context.Context, req *pb.FrozenRequest) (*pb.Frozen
1818
return nil, status.Error(codes.InvalidArgument, "invalid address")
1919
}
2020

21-
cState := s.blockchain.CurrentState()
21+
cState, err := s.blockchain.GetStateForHeight(req.Height)
22+
if err != nil {
23+
return nil, status.Error(codes.NotFound, err.Error())
24+
}
2225

2326
var reqCoin *coins.Model
2427

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module github.com/MinterTeam/minter-go-node
33
go 1.15
44

55
require (
6-
github.com/MinterTeam/node-grpc-gateway v1.2.2-0.20210326235021-4107582ce100
6+
github.com/MinterTeam/node-grpc-gateway v1.2.2-0.20210327013510-012fe2754dfc
77
github.com/btcsuite/btcd v0.21.0-beta
88
github.com/c-bata/go-prompt v0.2.3
99
github.com/cosmos/iavl v0.15.3

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ github.com/ChainSafe/go-schnorrkel v0.0.0-20200405005733-88cbf1b4c40d/go.mod h1:
4040
github.com/DataDog/zstd v1.4.1 h1:3oxKN3wbHibqx897utPC2LTQU4J+IHWWJO+glkAkpFM=
4141
github.com/DataDog/zstd v1.4.1/go.mod h1:1jcaCB/ufaK+sKp1NBhlGmpz41jOoPQ35bpF36t7BBo=
4242
github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible/go.mod h1:r7JcOSlj0wfOMncg0iLm8Leh48TZaKVeNIfJntJ2wa0=
43-
github.com/MinterTeam/node-grpc-gateway v1.2.2-0.20210326235021-4107582ce100 h1:Mo4XwNMHI83OQOMIYAZ7Ut/dtekrwbTt/6UYadRzgrk=
44-
github.com/MinterTeam/node-grpc-gateway v1.2.2-0.20210326235021-4107582ce100/go.mod h1:d4Rw0MtsZTrFNLJJWr/jcurTYcqRVITzWuGDGo7aHxM=
43+
github.com/MinterTeam/node-grpc-gateway v1.2.2-0.20210327013510-012fe2754dfc h1:8qgOpS6Ic5IbNa/BvwgAD2fiBzTYrwLmCPtheM3yYRc=
44+
github.com/MinterTeam/node-grpc-gateway v1.2.2-0.20210327013510-012fe2754dfc/go.mod h1:d4Rw0MtsZTrFNLJJWr/jcurTYcqRVITzWuGDGo7aHxM=
4545
github.com/OneOfOne/xxhash v1.2.2 h1:KMrpdQIwFcEqXDklaen+P1axHaj9BSKzvpUUfnHldSE=
4646
github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU=
4747
github.com/Shopify/sarama v1.19.0/go.mod h1:FVkBWblsNy7DGZRfXLU0O9RCGt5g3g3yEuWXgklEdEo=

0 commit comments

Comments
 (0)