Skip to content

Commit b39ff26

Browse files
authored
Merge branch 'main' into governors-no-aggregate-vp
2 parents e3a22b3 + 551b5ea commit b39ff26

File tree

11 files changed

+221
-87
lines changed

11 files changed

+221
-87
lines changed

.github/workflows/release-sims.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
go-version-file: go.mod
3030
- name: Install runsim
3131
run: go install github.com/cosmos/tools/cmd/[email protected]
32-
- uses: actions/cache@v4.0.0
32+
- uses: actions/cache@v4
3333
with:
3434
path: ~/go/bin
3535
key: ${{ runner.os }}-go-runsim-binary
@@ -40,7 +40,7 @@ jobs:
4040
steps:
4141
- name: install runsim
4242
run: go install github.com/cosmos/tools/cmd/[email protected]
43-
- uses: actions/cache@v4.0.0
43+
- uses: actions/cache@v4
4444
with:
4545
path: ~/go/bin
4646
key: ${{ runner.os }}-go-runsim-binary
@@ -50,7 +50,7 @@ jobs:
5050
needs: [build, install-runsim]
5151
steps:
5252
- uses: actions/checkout@v4
53-
- uses: actions/cache@v4.0.0
53+
- uses: actions/cache@v4
5454
with:
5555
path: ~/go/bin
5656
key: ${{ runner.os }}-go-runsim-binary
@@ -72,7 +72,7 @@ jobs:
7272
**/**.go
7373
go.mod
7474
go.sum
75-
- uses: actions/cache@v4.0.0
75+
- uses: actions/cache@v4
7676
with:
7777
path: ~/go/bin
7878
key: ${{ runner.os }}-go-runsim-binary

.github/workflows/sim-label.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- uses: actions/setup-go@v5
1919
- name: Install runsim
2020
run: go install github.com/cosmos/tools/cmd/[email protected]
21-
- uses: actions/cache@v4.0.0
21+
- uses: actions/cache@v4
2222
with:
2323
path: ~/go/bin
2424
key: ${{ runner.os }}-go-runsim-binary
@@ -32,7 +32,7 @@ jobs:
3232
- uses: actions/setup-go@v5
3333
with:
3434
go-version-file: go.mod
35-
- uses: actions/cache@v4.0.0
35+
- uses: actions/cache@v4
3636
with:
3737
path: ~/go/bin
3838
key: ${{ runner.os }}-go-runsim-binary

.github/workflows/sims.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- uses: actions/setup-go@v5
2323
- name: Install runsim
2424
run: go install github.com/cosmos/tools/cmd/[email protected]
25-
- uses: actions/cache@v4.0.0
25+
- uses: actions/cache@v4
2626
with:
2727
path: ~/go/bin
2828
key: ${{ runner.os }}-go-runsim-binary
@@ -41,7 +41,7 @@ jobs:
4141
**/**.go
4242
go.mod
4343
go.sum
44-
- uses: actions/cache@v4.0.0
44+
- uses: actions/cache@v4
4545
with:
4646
path: ~/go/bin
4747
key: ${{ runner.os }}-go-runsim-binary
@@ -65,7 +65,7 @@ jobs:
6565
**/**.go
6666
go.mod
6767
go.sum
68-
- uses: actions/cache@v4.0.0
68+
- uses: actions/cache@v4
6969
with:
7070
path: ~/go/bin
7171
key: ${{ runner.os }}-go-runsim-binary
@@ -81,7 +81,7 @@ jobs:
8181
- uses: actions/setup-go@v5
8282
- name: Install runsim
8383
run: go install github.com/cosmos/tools/cmd/[email protected]
84-
- uses: actions/cache@v4.0.0
84+
- uses: actions/cache@v4
8585
with:
8686
path: ~/go/bin
8787
key: ${{ runner.os }}-go-runsim-binary
@@ -92,7 +92,7 @@ jobs:
9292
steps:
9393
- name: install runsim
9494
run: go install github.com/cosmos/tools/cmd/[email protected]
95-
- uses: actions/cache@v4.0.0
95+
- uses: actions/cache@v4
9696
with:
9797
path: ~/go/bin
9898
key: ${{ runner.os }}-go-runsim-binary
@@ -105,7 +105,7 @@ jobs:
105105
- uses: actions/setup-go@v5
106106
with:
107107
go-version-file: go.mod
108-
- uses: actions/cache@v4.0.0
108+
- uses: actions/cache@v4
109109
with:
110110
path: ~/go/bin
111111
key: ${{ runner.os }}-go-runsim-binary

.github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
**/go.sum
3939
**/Makefile
4040
Makefile
41-
- uses: actions/cache@v4.0.0
41+
- uses: actions/cache@v4
4242
with:
4343
path: |
4444
~/.cache/go-build

CHANGELOG.md

+18
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,32 @@
1414

1515
### STATE BREAKING
1616

17+
### IMPROVEMENTS
18+
1719
## v2.0.0
1820

1921
*Release date*
2022

23+
### BUG FIXES
24+
25+
- Fix swagger generation [#38](https://github.com/atomone-hub/atomone/pull/38)
26+
- Fix vuln GO-2024-3279 [#60](https://github.com/atomone-hub/atomone/pull/60)
27+
- Fix vuln GO-2024-3112 and GO-2024-2951 [#62](https://github.com/atomone-hub/atomone/pull/62)
28+
- Fix vuln GHSA-8wcc-m6j2-qxvm [#67](https://github.com/atomone-hub/atomone/pull/67)
29+
2130
### FEATURES
2231

2332
- Add the photon module and use photon as the only fee denom [#57](https://github.com/atomone-hub/atomone/pull/57)
2433

34+
### DEPENDENCIES
35+
36+
- Upgrade CometBFT to v0.37.15 to fix securities issues (ASA-2025-001, ASA-2025-002) [#78](https://github.com/atomone-hub/atomone/pull/78)
37+
- Upgrade ibc-go to v7.9.2 to fix ASA-2025-004 [#84](https://github.com/atomone-hub/atomone/pull/84) [#85](https://github.com/atomone-hub/atomone/pull/85)
38+
39+
### IMPROVEMENTS
40+
41+
- (x/gov): override MinVotingPeriod with ldflags [#63](https://github.com/atomone-hub/atomone/pull/63)
42+
2543
## v1.0.0
2644

2745
*Sep 26th, 2024*

RELEASES.md

+18
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
# v1.1.1
2+
3+
2b6046d9da9e88821a85e094ad3fccc21359b51883c8d3b73546df234250977b atomoned-v1.1.1-darwin-amd64
4+
0a288988ab470a9bf245e7e19bea917fb8134786c37163309fd47ddf8e98f773 atomoned-v1.1.1-darwin-arm64
5+
8462f489b293d050ce58ed1adc0e9891b540ec77e80ed20bb5c1aa7389f61221 atomoned-v1.1.1-linux-amd64
6+
6b55e9318437bbbce58fde03d70c1de224b6890bbd9228a2e6eed75ccfce3e4b atomoned-v1.1.1-linux-arm64
7+
ea40eb0abe24d0c6d7ba7fe7f8dbc5a1c1684ad6a86e1c2282320580728ea317 atomoned-v1.1.1-windows-amd64.exe
8+
7924285b362b89fb4d83aba61a56c5a5346813a45d13bf902986d8aad3dba720 atomoned-v1.1.1-windows-arm64.exe
9+
10+
# v1.0.1
11+
12+
0ce4da89a588a898e01ec1568c5253e9f4853f90f4e588408fb6c7ffc42d3425 atomoned-v1.0.1-darwin-amd64
13+
f36790fa7613ae86f2c64745532a4536bc814156bb1305df5fdb6ddc44bdada8 atomoned-v1.0.1-darwin-arm64
14+
2b87e2965c6f614761cb9e54e271b8b7fd3f8d3344d2554e52f1c9384ce43e52 atomoned-v1.0.1-linux-amd64
15+
40d97ad3c8fd639ce8ed34b10a022872d124956209536f372ac85b165ecb796c atomoned-v1.0.1-linux-arm64
16+
1e08f5a7b4b0f5573ef0336fbca0ceb472a8d14eb0606eb89ccf47c9d66f3999 atomoned-v1.0.1-windows-amd64.exe
17+
96dc79cb3e1942efa43ae1f5e9ff59c2f93536a00fa3c869b9ad6871ecda5039 atomoned-v1.0.1-windows-arm64.exe
18+
119
# v1.0.0
220

321
9e9ba6fda17e9791d5ea38e93807cd6dbd2af3a1a3e1dc97bfae26b9cb2fb201 atomoned-v1.0.0-darwin-amd64

UPGRADING.md

+19-10
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ case the upgrade fails and the previous chain needs to be restarted.
103103
### Current runtime
104104

105105
The AtomOne mainnet network, `atomone-1`, is currently running [AtomOne
106-
v1.0.0][v1]. We anticipate that operators who are running on v1.0.0, will be
106+
v1.1.1][v1]. We anticipate that operators who are running on v1.1.1, will be
107107
able to upgrade successfully. Validators are expected to ensure that their
108108
systems are up to date and capable of performing the upgrade. This includes
109109
running the correct binary and if building from source, building with the
@@ -174,13 +174,24 @@ Note that unlike the validator config change which still accepts `uatone` for
174174
fees, this change should be done **after** the upgrade because it is restricted
175175
to `uphoton` which has no supply before the upgrade.
176176

177+
### Relayer account balance
178+
179+
Additionally, the relayer account balance will now require `uphoton` token
180+
instead of `uatone` to pay the fees.
181+
182+
Accordingly, after the upgrade, the relayer operator will have to mint some
183+
photons using the new `MsgMintPhoton` message, and then transfer them to the
184+
relayer account. Consequently it is expected that IBC will take a bit of time
185+
to work properly after the upgrade, until the relayer account balance is filled
186+
with photons.
187+
177188
### Method I: Manual Upgrade
178189

179-
Make sure **AtomOne v1.0.0** is installed by either downloading a [compatible
190+
Make sure **AtomOne v1.1.1** is installed by either downloading a [compatible
180191
binary][v1], or building from source. Check the required version to build this
181192
binary in the `Makefile`.
182193

183-
Run AtomOne v1.0.0 till upgrade height, the node will panic:
194+
Run AtomOne v1.1.1 till upgrade height, the node will panic:
184195

185196
```shell
186197
ERR UPGRADE "v2" NEEDED at height: <UPGRADE_HEIGHT>: upgrade to v2 and applying upgrade "v2" at height:<UPGRADE_HEIGHT>
@@ -199,15 +210,13 @@ continue to produce blocks.
199210

200211
##### Preparation
201212

202-
- Install the latest version of Cosmovisor (`1.5.0`):
213+
- Install the latest version of Cosmovisor:
203214

204215
```shell
205216
go install cosmossdk.io/tools/cosmovisor/cmd/cosmovisor@latest
206-
cosmovisor version
207-
# cosmovisor version: v1.5.0
208217
```
209218

210-
- Create a `cosmovisor` folder inside `$ATOMONE_HOME` and move AtomOne `v1.0.0`
219+
- Create a `cosmovisor` folder inside `$ATOMONE_HOME` and move AtomOne `v1.1.1`
211220
into `$ATOMONE_HOME/cosmovisor/genesis/bin`:
212221

213222
```shell
@@ -230,7 +239,7 @@ At this moment, you should have the following structure:
230239
├── current -> genesis or upgrades/<name>
231240
├── genesis
232241
│ └── bin
233-
│ └── atomoned # old: v1.0.0
242+
│ └── atomoned # old: v1.1.1
234243
└── upgrades
235244
└── v2
236245
└── bin
@@ -286,7 +295,7 @@ challenges, the core teams, after conferring with operators and attaining
286295
social consensus, may choose to declare that the upgrade will be skipped.
287296

288297
Steps to skip this upgrade proposal are simply to resume the `atomone-1`
289-
network with the (downgraded) v1.0.0 binary using the following command:
298+
network with the (downgraded) v1.1.1 binary using the following command:
290299

291300
```shell
292301
atomoned start --unsafe-skip-upgrade <UPGRADE_HEIGHT>
@@ -320,5 +329,5 @@ repeat the upgrade procedure again during the network startup. If you discover
320329
a mistake in the process, the best thing to do is wait for the network to start
321330
before correcting it.
322331

323-
[v1]: https://github.com/atomone-hub/atomone/releases/tag/v1.0.0
332+
[v1]: https://github.com/atomone-hub/atomone/releases/tag/v1.1.1
324333
[v2]: https://github.com/atomone-hub/atomone/releases/tag/v2.0.0

docs/architecture/adr-002-photon-token.md

+2-4
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
## Status
1010

11-
DRAFT
11+
Implemented (https://github.com/atomone-hub/atomone/pull/57)
1212

1313
## Abstract
1414

@@ -121,9 +121,7 @@ as the PHOTON balances and supply are handled by the `x/bank` module.
121121

122122
### Migration
123123

124-
The PHOTON denom metadata has to be added to the `x/bank` module state (XXX while
125-
admittedly this record does not look very usefull, it is only used in
126-
queries...)
124+
The PHOTON denom metadata has to be added to the `x/bank` module state.
127125

128126
```json
129127
{

go.mod

+20-21
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ require (
1111
cosmossdk.io/simapp v0.0.0-20230602123434-616841b9704d
1212
cosmossdk.io/tools/rosetta v0.2.1
1313
github.com/chzyer/readline v1.5.1
14-
github.com/cometbft/cometbft v0.37.13
14+
github.com/cometbft/cometbft v0.37.15
1515
github.com/cometbft/cometbft-db v0.10.0
1616
github.com/cosmos/cosmos-proto v1.0.0-beta.5
1717
github.com/cosmos/cosmos-sdk v0.47.15
1818
github.com/cosmos/go-bip39 v1.0.0
1919
github.com/cosmos/gogoproto v1.7.0
20-
github.com/cosmos/ibc-go/v7 v7.8.0
20+
github.com/cosmos/ibc-go/v7 v7.9.2
2121
github.com/golang/mock v1.6.0
2222
github.com/golang/protobuf v1.5.4
2323
github.com/google/gofuzz v1.2.0
@@ -31,13 +31,12 @@ require (
3131
github.com/spf13/cobra v1.8.1
3232
github.com/spf13/pflag v1.0.5
3333
github.com/spf13/viper v1.19.0
34-
github.com/stretchr/testify v1.9.0
35-
golang.org/x/exp v0.0.0-20231110203233-9a3e6036ecaa
36-
golang.org/x/sync v0.8.0
37-
google.golang.org/genproto/googleapis/api v0.0.0-20240814211410-ddb44dafa142
38-
google.golang.org/grpc v1.67.0
39-
google.golang.org/protobuf v1.34.2
40-
gopkg.in/yaml.v2 v2.4.0
34+
github.com/stretchr/testify v1.10.0
35+
golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56
36+
golang.org/x/sync v0.10.0
37+
google.golang.org/genproto/googleapis/api v0.0.0-20240903143218-8af14fe29dc1
38+
google.golang.org/grpc v1.68.0
39+
google.golang.org/protobuf v1.36.1
4140
gotest.tools/v3 v3.5.1
4241
sigs.k8s.io/yaml v1.4.0
4342
)
@@ -79,10 +78,10 @@ require (
7978
github.com/cosmos/ics23/go v0.10.0 // indirect
8079
github.com/cosmos/ledger-cosmos-go v0.12.4 // indirect
8180
github.com/cosmos/rosetta-sdk-go v0.10.0 // indirect
82-
github.com/creachadair/taskgroup v0.10.0 // indirect
81+
github.com/creachadair/taskgroup v0.13.0 // indirect
8382
github.com/danieljoos/wincred v1.1.2 // indirect
8483
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
85-
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.1.0 // indirect
84+
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.3.0 // indirect
8685
github.com/desertbit/timer v0.0.0-20180107155436-c41aec40b27f // indirect
8786
github.com/dgraph-io/badger/v2 v2.2007.4 // indirect
8887
github.com/dgraph-io/ristretto v0.1.1 // indirect
@@ -159,9 +158,9 @@ require (
159158
github.com/petermattis/goid v0.0.0-20240813172612-4fcff4a6cae7 // indirect
160159
github.com/pkg/errors v0.9.1 // indirect
161160
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
162-
github.com/prometheus/client_golang v1.20.4 // indirect
161+
github.com/prometheus/client_golang v1.20.5 // indirect
163162
github.com/prometheus/client_model v0.6.1 // indirect
164-
github.com/prometheus/common v0.59.1 // indirect
163+
github.com/prometheus/common v0.60.1 // indirect
165164
github.com/prometheus/procfs v0.15.1 // indirect
166165
github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 // indirect
167166
github.com/rogpeppe/go-internal v1.11.0 // indirect
@@ -192,15 +191,15 @@ require (
192191
go.opentelemetry.io/otel/trace v1.24.0 // indirect
193192
go.uber.org/atomic v1.10.0 // indirect
194193
go.uber.org/multierr v1.9.0 // indirect
195-
golang.org/x/crypto v0.27.0 // indirect
196-
golang.org/x/mod v0.17.0 // indirect
197-
golang.org/x/net v0.29.0 // indirect
198-
golang.org/x/oauth2 v0.22.0 // indirect
199-
golang.org/x/sys v0.25.0 // indirect
200-
golang.org/x/term v0.24.0 // indirect
201-
golang.org/x/text v0.18.0 // indirect
194+
golang.org/x/crypto v0.31.0 // indirect
195+
golang.org/x/mod v0.19.0 // indirect
196+
golang.org/x/net v0.33.0 // indirect
197+
golang.org/x/oauth2 v0.23.0 // indirect
198+
golang.org/x/sys v0.28.0 // indirect
199+
golang.org/x/term v0.27.0 // indirect
200+
golang.org/x/text v0.21.0 // indirect
202201
golang.org/x/time v0.5.0 // indirect
203-
golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d // indirect
202+
golang.org/x/tools v0.23.0 // indirect
204203
google.golang.org/api v0.171.0 // indirect
205204
google.golang.org/genproto v0.0.0-20240213162025-012b6fc9bca9 // indirect
206205
google.golang.org/genproto/googleapis/rpc v0.0.0-20240903143218-8af14fe29dc1 // indirect

0 commit comments

Comments
 (0)