Skip to content

Commit 71157c9

Browse files
committed
generate files
1 parent 16d38f1 commit 71157c9

File tree

3 files changed

+23
-12
lines changed

3 files changed

+23
-12
lines changed

cmd/zetae2e/local/local.go

+5-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,11 @@ func localE2ETest(cmd *cobra.Command, _ []string) {
127127
zetaTxServer, err := txserver.NewZetaTxServer(
128128
conf.RPCs.ZetaCoreRPC,
129129
[]string{utils.EmergencyPolicyName, utils.OperationalPolicyName, utils.AdminPolicyName},
130-
[]string{conf.PolicyAccounts.EmergencyPolicyAccount.RawPrivateKey.String(), conf.PolicyAccounts.OperationalPolicyAccount.RawPrivateKey.String(), conf.PolicyAccounts.AdminPolicyAccount.RawPrivateKey.String()},
130+
[]string{
131+
conf.PolicyAccounts.EmergencyPolicyAccount.RawPrivateKey.String(),
132+
conf.PolicyAccounts.OperationalPolicyAccount.RawPrivateKey.String(),
133+
conf.PolicyAccounts.AdminPolicyAccount.RawPrivateKey.String(),
134+
},
131135
conf.ZetaChainID,
132136
)
133137
noError(err)

e2e/e2etests/test_erc20_deposit_refund.go

+5-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,11 @@ func TestERC20DepositAndCallRefund(r *runner.E2ERunner, _ []string) {
3636
r.Logger.CCTX(*cctx, "deposit")
3737
r.Logger.Info("Refunding the cctx via admin")
3838

39-
msg := types.NewMsgRefundAbortedCCTX(r.ZetaTxServer.MustGetAccountAddressFromName(utils.OperationalPolicyName), cctx.Index, r.EVMAddress().String())
39+
msg := types.NewMsgRefundAbortedCCTX(
40+
r.ZetaTxServer.MustGetAccountAddressFromName(utils.OperationalPolicyName),
41+
cctx.Index,
42+
r.EVMAddress().String(),
43+
)
4044

4145
_, err = r.ZetaTxServer.BroadcastTx(utils.OperationalPolicyName, msg)
4246
require.NoError(r, err)

e2e/e2etests/test_migrate_chain_support.go

+13-10
Original file line numberDiff line numberDiff line change
@@ -67,16 +67,19 @@ func TestMigrateChainSupport(r *runner.E2ERunner, _ []string) {
6767

6868
// setup the gas token
6969
require.NoError(r, err)
70-
_, err = newRunner.ZetaTxServer.BroadcastTx(utils.OperationalPolicyName, fungibletypes.NewMsgDeployFungibleCoinZRC20(
71-
r.ZetaTxServer.MustGetAccountAddressFromName(utils.OperationalPolicyName),
72-
"",
73-
chainParams.ChainId,
74-
18,
75-
"Sepolia ETH",
76-
"sETH",
77-
coin.CoinType_Gas,
78-
100000,
79-
))
70+
_, err = newRunner.ZetaTxServer.BroadcastTx(
71+
utils.OperationalPolicyName,
72+
fungibletypes.NewMsgDeployFungibleCoinZRC20(
73+
r.ZetaTxServer.MustGetAccountAddressFromName(utils.OperationalPolicyName),
74+
"",
75+
chainParams.ChainId,
76+
18,
77+
"Sepolia ETH",
78+
"sETH",
79+
coin.CoinType_Gas,
80+
100000,
81+
),
82+
)
8083
require.NoError(r, err)
8184

8285
// set the gas token in the runner

0 commit comments

Comments
 (0)