mirror of
https://github.com/luxfi/oracle.git
synced 2026-10-30 15:23:21 +00:00
* Use gas price in send * check for UMA bond * move comments to utils * Added resolve logic * fix * use multicall to read txns
13 lines
704 B
Bash
Executable File
13 lines
704 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
CURRENT_DIR=$(pwd)
|
|
|
|
# This script assumes that you've started a hardhat node fork of Ethereum mainnet, and makes requests to the fork that
|
|
# modify it in preparation for running test scripts connected to it. For example, running `impersonateAccounts` unlocks
|
|
# accounts that we'll use to submit and vote on Admin proposals.
|
|
HARDHAT_NETWORK=localhost yarn hardhat run $CURRENT_DIR/packages/scripts/src/utils/impersonateAccounts.js --no-compile
|
|
|
|
# Run this after impersonating the foundation wallet. This sends UMA to the deployer so it
|
|
# can submit new proposals.
|
|
HARDHAT_NETWORK=localhost yarn hardhat run $CURRENT_DIR/packages/scripts/src/utils/seedProposerWithUma.js --no-compile
|