sablier-labs / v2-periphery

🎛 Peripheral smart contracts for interacting with Sablier V2
https://docs.sablier.com
GNU General Public License v3.0
24 stars 7 forks source link

Try to fix blast deployment script configuration #368

Open andreivladbrg opened 4 months ago

andreivladbrg commented 4 months ago

The current blast deployment script configuration does not work as expected:

https://github.com/sablier-labs/v2-periphery/blob/424bc4f313b90162077d2dcb652b1421b9e02ff5/script/DeployDeterministicPeriphery.s.sol#L27-L44

When you run, it reverts with CallerNotAdmin.

smol-ninja commented 4 months ago

How do you plan to fix it?

andreivladbrg commented 4 months ago

not sure yet

smol-ninja commented 4 months ago

Leaving my comment for future reference:

A possible solution could be to dig in on why the foundry uses from address from the base script during deployment but fails to do so during the configuring txns hence the CallerNotAdmin error. See if there is a way to set the caller address in the Foundry script.