Skip to content

Commit

Permalink
update the gravity bridge v2.0.0-cronos-alpha1
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-nguy committed Aug 11, 2022
1 parent e51ff77 commit bfcd77a
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 12 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ replace (
github.com/gogo/protobuf => github.com/regen-network/protobuf v1.3.3-alpha.regen.1

// TODO: remove when gravity update dependencies
github.com/peggyjv/gravity-bridge/module/v2 => github.com/crypto-org-chain/gravity-bridge/module/v2 v2.0.0-20220808044656-67922c63f359
github.com/peggyjv/gravity-bridge/module/v2 => github.com/crypto-org-chain/gravity-bridge/module/v2 v2.0.0-20220811113132-3d5bdc8af522

google.golang.org/grpc => google.golang.org/grpc v1.33.2
)
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -285,8 +285,8 @@ github.com/cpuguy83/go-md2man/v2 v2.0.1/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46t
github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7DoTY=
github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
github.com/crypto-org-chain/gravity-bridge/module/v2 v2.0.0-20220808044656-67922c63f359 h1:8henxaGhyBItFcSd/B9mTm0mUKiLvdrSQGGW//adbl4=
github.com/crypto-org-chain/gravity-bridge/module/v2 v2.0.0-20220808044656-67922c63f359/go.mod h1:oZBIK8vfPH8IaS7vTnydkf1GkStt7YRumpn/PD2QHVY=
github.com/crypto-org-chain/gravity-bridge/module/v2 v2.0.0-20220811113132-3d5bdc8af522 h1:B5GifITwjmIh4q4A7MkKjhyH7U4VeWwuMv+WfS9460k=
github.com/crypto-org-chain/gravity-bridge/module/v2 v2.0.0-20220811113132-3d5bdc8af522/go.mod h1:oZBIK8vfPH8IaS7vTnydkf1GkStt7YRumpn/PD2QHVY=
github.com/crypto-org-chain/keyring v1.1.6-fixes h1:AUFSu56NY6XobY6XfRoDx6v3loiOrHK5MNUm32GEjwA=
github.com/crypto-org-chain/keyring v1.1.6-fixes/go.mod h1:0mkLWIoZuQ7uBoospo5Q9zIpqq6rYCPJDSUdeCJvPM8=
github.com/cyberdelia/templates v0.0.0-20141128023046-ca7fffd4298c/go.mod h1:GyV+0YP4qX0UQ7r2MoYZ+AvYDp12OF5yg4q8rGnyNh4=
Expand Down
4 changes: 2 additions & 2 deletions gomod2nix.toml
Original file line number Diff line number Diff line change
Expand Up @@ -275,8 +275,8 @@ schema = 3
version = "v0.0.5"
hash = "sha256-/5i70IkH/qSW5KjGzv8aQNKh9tHoz98tqtL0K2DMFn4="
[mod."github.com/peggyjv/gravity-bridge/module/v2"]
version = "v2.0.0-20220808044656-67922c63f359"
hash = "sha256-MxfjeZoRkrDPWLbXrb6JP5k2MB02Et1OEP+tfNOyBIw="
version = "v2.0.0-20220811113132-3d5bdc8af522"
hash = "sha256-XEia5ftNFWLFxD2q7kvvXe7RD/U1pIkHIKSIsJ0AJ3I="
replaced = "github.com/crypto-org-chain/gravity-bridge/module/v2"
[mod."github.com/pelletier/go-toml"]
version = "v1.9.5"
Expand Down
2 changes: 1 addition & 1 deletion integration_tests/configs/disable_auto_deployment.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ local config = import 'default.jsonnet';

config {
'cronos_777-1'+: {
'start-flags': '--trace --unsafe-experimental',
'start-flags': '--trace --unsafe-experimental --inv-check-period 5',
'app-config'+: {
'minimum-gas-prices':: super['minimum-gas-prices'],
'json-rpc'+: {
Expand Down
4 changes: 2 additions & 2 deletions integration_tests/configs/genesis_token_mapping.jsonnet
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
local config = import 'default.jsonnet';
cronolocal config = import 'default.jsonnet';

config {
'cronos_777-1'+: {
'start-flags': '--trace --unsafe-experimental',
'start-flags': '--trace --unsafe-experimental --inv-check-period 5',
'app-config'+: {
'minimum-gas-prices':: super['minimum-gas-prices'],
'json-rpc'+: {
Expand Down
3 changes: 2 additions & 1 deletion integration_tests/test_gravity.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
wait_for_block_time,
wait_for_fn,
wait_for_new_blocks,
w3_wait_for_new_blocks
)

pytestmark = pytest.mark.gravity
Expand Down Expand Up @@ -690,7 +691,7 @@ def check():
).buildTransaction({"from": ADDRS["signer1"]})
txreceipt = send_transaction(geth, tx, KEYS["signer1"])
assert txreceipt.status == 1, "should success"
wait_for_new_blocks(cli, 1)
w3_wait_for_new_blocks(geth, 1)
new_balance2 = erc20.caller.balanceOf(ADDRS["signer2"])
assert old_balance2 + amount == new_balance2

Expand Down
6 changes: 3 additions & 3 deletions nix/sources.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@
"homepage": "",
"owner": "crypto-org-chain",
"repo": "gravity-bridge",
"rev": "67922c63f35938b0169c283b2d892a11d3468005",
"sha256": "1n4l8plj7xhad6hy75g570pyhl2gnlxdi8lnnp5vk5lpkwb430qs",
"rev": "3d5bdc8af5227588d04064132335932ee88f57c3",
"sha256": "1nn8p4wqg1dx12nf05gm8rw3n02yqssgfsxrlj3c00qzwys6i9y2",
"type": "tarball",
"url": "https://github.com/crypto-org-chain/gravity-bridge/archive/67922c63f35938b0169c283b2d892a11d3468005.tar.gz",
"url": "https://github.com/crypto-org-chain/gravity-bridge/archive/3d5bdc8af5227588d04064132335932ee88f57c3.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
},
"niv": {
Expand Down

0 comments on commit bfcd77a

Please sign in to comment.