Skip to content

Commit

Permalink
fix: eth hardhat btp setup by fixing runBtpSetupForAlreadyRunningNode…
Browse files Browse the repository at this point in the history
…s function
  • Loading branch information
shreyasbhat0 committed Jan 2, 2024
1 parent 62b59d3 commit a445d28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/cmd/bridge/btp/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ func getServiceConfigForHardhatChain() (string, error) {

func runBtpSetupForAlreadyRunningNodes(cli *common.Cli, enclaveCtx *enclaves.EnclaveContext, mainFunctionName string, srcChain string, dstChain string, bridge bool, srcChainServiceResponse string, dstChainServiceResponse string) (string, error) {

params := fmt.Sprintf(`{"src_chain":"%s","dst_chain":"%s", "src_chain_config":%s, "dst_chain_config":%s, "bridge":%s}`, chainA, chainB, srcChainServiceResponse, dstChainServiceResponse, strconv.FormatBool(bridge))
params := fmt.Sprintf(`{"src_chain":"%s","dst_chain":"%s", "src_chain_config":%s, "dst_chain_config":%s, "bridge":%s}`, srcChain, dstChain, srcChainServiceResponse, dstChainServiceResponse, strconv.FormatBool(bridge))
starlarkConfig := common.GetStarlarkRunConfig(params, common.DiveBridgeBtpScript, mainFunctionName)
executionData, _, err := enclaveCtx.RunStarlarkRemotePackage(cli.Context().GetContext(), common.DiveRemotePackagePath, starlarkConfig)

Expand Down

0 comments on commit a445d28

Please sign in to comment.