Skip to content

Commit

Permalink
Merge pull request #110 from renproject/fix/infra-setup
Browse files Browse the repository at this point in the history
fix: fix the blocktime and chain id for bsc+eth
  • Loading branch information
roynalnaruto authored Jul 5, 2021
2 parents 9b656bf + adcb7f1 commit 497f72e
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 13 deletions.
21 changes: 11 additions & 10 deletions infra/binance/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@
MNEMONIC=$1
ADDRESS=$2

ganache-cli \
-h 0.0.0.0 \
-a 105 \
-k muirGlacier \
-i 420 \
-m "$MNEMONIC" \
-p 8575 \
-u $ADDRESS \
-b 10 \
--chainId 1337
ganache-cli \
-h 0.0.0.0 \
-a 105 \
-k muirGlacier \
-i 420 \
-m "$MNEMONIC" \
-p 8575 \
-u $ADDRESS \
-b 1 \
-l 60000000 \
--chainId 420
4 changes: 2 additions & 2 deletions infra/ethereum/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ ganache-cli \
-h 0.0.0.0 \
-a 105 \
-k muirGlacier \
-l 14969745 \
-l 15000000 \
-i 420 \
-b 10 \
-b 1 \
-m "$MNEMONIC" \
-u $ADDRESS \
--chainId 1337
2 changes: 1 addition & 1 deletion multichain_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -626,7 +626,7 @@ var _ = Describe("Multichain", func() {
func(rpcURL pack.String) (multichain.AccountClient, multichain.AccountTxBuilder) {
client, err := bsc.NewClient(string(rpcURL))
Expect(err).NotTo(HaveOccurred())
txBuilder := bsc.NewTxBuilder(big.NewInt(1337))
txBuilder := bsc.NewTxBuilder(big.NewInt(420))

return client, txBuilder
},
Expand Down

0 comments on commit 497f72e

Please sign in to comment.