You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@echo "Input https://github.com/lidofinance/protocol-onchain-mon-bots/blob/main/bots/ethereum-steth-v2/src/utils/constants.ts file content (end with Enter and Ctrl+D):"
88
-
@cat | grep -v "import { StorageSlot } from '../entity/storage_slot'"| sed 's/StorageSlot/any/g'> slots.ts
98
+
@echo "Input https://github.com/lidofinance/protocol-onchain-mon-bots/blob/main/bots/ethereum-steth-v2/src/utils/constants.mainnet.ts file content (end with Enter and Ctrl+D):"
99
+
@cat | grep -v "import { ERC20 } from './constants'"| sed 's/ERC20/any/g'> slots2.ts
100
+
@cat \
101
+
| grep -v "import { ERC20 } from './constants'"\
102
+
| sed 's/ERC20/any/g'\
103
+
> slots.ts
104
+
105
+
@echo "Input https://github.com/lidofinance/protocol-onchain-mon-bots/blob/main/bots/ethereum-steth-v2/src/services/storage-watcher/constants.ts file content (end with Enter and Ctrl+D):"
106
+
@cat \
107
+
| grep -v "import { StorageSlot } from '../../entity/storage_slot'" \
108
+
| sed "s|import { Address } from '../../utils/constants.mainnet'|import { Address } from './slots2.ts'|g" \
109
+
| sed 's/StorageSlot/any/g' \
110
+
> slots.ts
89
111
@cat check_storage_slots.ts >> slots.ts
90
112
@echo "Checking storage slots against 127.0.0.1:8545..."
91
113
@npx tsx slots.ts
92
114
@rm -f slots.ts
115
+
@rm -f slots2.ts
93
116
94
117
ci-prepare-environment:
95
-
poetry run brownie run scripts/ci/prepare_environment --network $(SECONDARY_NETWORK)
118
+
poetry run brownie run scripts/ci/prepare_environment --network mfh-1
96
119
97
120
enact-fork:
98
121
poetry run brownie run $(vote) start_and_execute_vote_on_fork_manual --network=mfh-1
0 commit comments