Skip to content

Commit aedf7c4

Browse files
authored
Merge pull request #1614 from scrtlabs/make-rosetta-work
Hardcode genesis block to make Rosetta shut up
2 parents 7ea9d7b + a73a91e commit aedf7c4

File tree

4 files changed

+13
-11
lines changed

4 files changed

+13
-11
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,4 @@ x/compute/internal/keeper/testdata/test-contract/target
4545
x/compute/internal/keeper/testdata/v1-sanity-contract/target
4646
build
4747
check-hw/target
48+
cmd/secretd/__debug*

.vscode/launch.json

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,15 @@
3737
"program": "${workspaceFolder}/cmd/secretd",
3838
"cwd": "${workspaceFolder}",
3939
"args": [
40-
"q",
41-
"compute",
42-
"tx",
43-
"9FAF715EA6671A17521FBC4D52AD391B72B6AADD102481B071DD80F34C50E79F",
44-
"--node",
45-
"http://localhost:26657",
46-
"--chain-id",
47-
"secretdev-1"
40+
"rosetta",
41+
"--blockchain",
42+
"secret",
43+
"--network",
44+
"secret-4",
45+
"--tendermint",
46+
"89.149.206.162:26657",
47+
"--grpc",
48+
"89.149.206.162:9090"
4849
]
4950
}
5051
]

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ go 1.21
44

55
replace (
66
github.com/cometbft/cometbft => github.com/scrtlabs/tendermint v1.9.0-scrt.0.20230802144651-d62916253d52
7-
github.com/cosmos/cosmos-sdk => github.com/scrtlabs/cosmos-sdk v0.45.13-0.20230802150248-ea64f27dc58d
7+
github.com/cosmos/cosmos-sdk => github.com/scrtlabs/cosmos-sdk v0.45.13-0.20240123105116-fa873fadfa55
88
// PFM: v4.1.1 + https://github.com/cosmos/ibc-apps/commit/455757bb5771c29cf2f83b59e37f6513e07c92be.patch
99
github.com/cosmos/ibc-apps/v4 => github.com/scrtlabs/ibc-apps/v4 v4.1.2-0.20240312165106-908dc3766519
1010
// Fix OSX Ledger Connection Issues - Premerged https://github.com/cosmos/ledger-cosmos-go/pull/36/files

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -935,8 +935,8 @@ github.com/sasha-s/go-deadlock v0.3.1 h1:sqv7fDNShgjcaxkO0JNcOAlr8B9+cV5Ey/OB71e
935935
github.com/sasha-s/go-deadlock v0.3.1/go.mod h1:F73l+cr82YSh10GxyRI6qZiCgK64VaZjwesgfQ1/iLM=
936936
github.com/schollz/closestmatch v2.1.0+incompatible/go.mod h1:RtP1ddjLong6gTkbtmuhtR2uUrrJOpYzYRvbcPAid+g=
937937
github.com/sclevine/agouti v3.0.0+incompatible/go.mod h1:b4WX9W9L1sfQKXeJf1mUTLZKJ48R1S7H23Ji7oFO5Bw=
938-
github.com/scrtlabs/cosmos-sdk v0.45.13-0.20230802150248-ea64f27dc58d h1:J52TETA52GtOOCBYPfmZoOOSM7Nr/GjhsH6RvdaHKMU=
939-
github.com/scrtlabs/cosmos-sdk v0.45.13-0.20230802150248-ea64f27dc58d/go.mod h1:kOvNW8eRcR6zcO9yEfDa+iexTXdb+/QxHL1OqSEqfAo=
938+
github.com/scrtlabs/cosmos-sdk v0.45.13-0.20240123105116-fa873fadfa55 h1:DEIQb8TEZOtTVFf2gmj43T96OZKFMEqLvMVWwp6Dz5Q=
939+
github.com/scrtlabs/cosmos-sdk v0.45.13-0.20240123105116-fa873fadfa55/go.mod h1:kOvNW8eRcR6zcO9yEfDa+iexTXdb+/QxHL1OqSEqfAo=
940940
github.com/scrtlabs/tendermint v1.9.0-scrt.0.20230802144651-d62916253d52 h1:25rvoh2dQgzOOGPj/t1tPKApeeRrcUZtQXZ6wu6mE54=
941941
github.com/scrtlabs/tendermint v1.9.0-scrt.0.20230802144651-d62916253d52/go.mod h1:H9SALxhCLtq/RwZLDUo/A7q7ri4GSDeZzJDx/mqA23E=
942942
github.com/scrtlabs/tm-secret-enclave v1.11.1 h1:UFPMS8XGrgx0SVTcHF0JmM/7nw17sQRMJ3PCg6rlGQA=

0 commit comments

Comments
 (0)