Skip to content

Fix hardcoded RPC credentials in fee-amm test script - #7333

Open
callumweb3 wants to merge 1 commit into
tempoxyz:mainfrom
callumweb3:patch-1
Open

Fix hardcoded RPC credentials in fee-amm test script#7333
callumweb3 wants to merge 1 commit into
tempoxyz:mainfrom
callumweb3:patch-1

Conversation

@callumweb3

Copy link
Copy Markdown

Summary

Fix ETH_RPC_URL handling in scripts/fee-amm-predeployed.sh.

The script documented that it uses an existing ETH_RPC_URL or defaults to localhost:8545, but the previous implementation unconditionally overwrote the variable with a remote RPC URL containing credentials.

The fix:

  • preserves an existing ETH_RPC_URL;
  • defaults to http://localhost:8545 when it is not set;
  • removes the hardcoded RPC credentials from the script.

No other script behavior was changed.

## Summary

Fix `ETH_RPC_URL` handling in `scripts/fee-amm-predeployed.sh`.

[The script documented](https://github.com/tempoxyz/tempo/blob/main/scripts/fee-amm-predeployed.sh#L3) that it uses an existing `ETH_RPC_URL` or defaults to `localhost:8545`, but the previous implementation unconditionally overwrote the variable with a remote RPC URL containing credentials.

The fix:

* preserves an existing `ETH_RPC_URL`;
* defaults to `http://localhost:8545` when it is not set;
* removes the hardcoded RPC credentials from the script.

No other script behavior was changed.
@callumweb3
callumweb3 requested a review from 0xKitsune as a code owner August 27, 2026 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant