wighawag / hardhat-deploy

hardhat deployment plugin
MIT License
1.18k stars 286 forks source link

call multiple functions after upgrading a diamond #366

Open Sceat opened 1 year ago

Sceat commented 1 year ago

Is your feature request related to a problem? Please describe.

I have a diamond contract that require data on deployment, the problem is that loading those data on the post upgrade method doesn't work as it goes over the block limit.

Describe the solution you'd like

I would need to be able to execute a chain a function on post upgrade.

wighawag commented 1 year ago

You can make a tx after deplyment