feat: add guarded Base Sepolia encore
This commit is contained in:
@@ -20,6 +20,12 @@ contract CheckState is DemoScript {
|
||||
_printEducationalWarning();
|
||||
bool deployedStage = keccak256(bytes(stage)) == keccak256("deployed");
|
||||
Manifest memory manifest = _readManifest(manifestPath, !deployedStage);
|
||||
if (block.chainid == BASE_SEPOLIA_CHAIN_ID) {
|
||||
address expectedSender = vm.envAddress("BASE_SEPOLIA_SENDER");
|
||||
(address presenter, address recipient,) = _requireBaseConfig(expectedSender);
|
||||
_assertAddress("Presenter", manifest.actors[0].address_, presenter);
|
||||
_assertAddress("Recipient", manifest.actors[1].address_, recipient);
|
||||
}
|
||||
BankV1 bank = BankV1(manifest.proxy);
|
||||
MockUSDC token = MockUSDC(manifest.token);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user