Content pfp
Content
@
0 reply
0 recast
3 reactions

killjoy.eth pfp
killjoy.eth
@killjoy
After deploying my first dapp to a mainnet I'm kind of confused about what to do with the contract source code in my repo. I mean the code is immutable now so it feels weird to have it tracked in version control. What do you do? Is there a way to lock these files? This is a foundry project.
3 replies
0 recast
6 reactions

SonOfMosiah pfp
SonOfMosiah
@sonofmosiah.eth
I like to create a folder with the full flattened code and/or a separate git branch for that exact deployed version. Can be tricky to keep the exact same bytecode for multi chain deployments when using git submodules
1 reply
0 recast
0 reaction

SonOfMosiah pfp
SonOfMosiah
@sonofmosiah.eth
* forge flatten is the command to get the flattened version
1 reply
0 recast
0 reaction

killjoy.eth pfp
killjoy.eth
@killjoy
Thanks for this! Will try it out. 250 $DEGEN.
0 reply
0 recast
1 reaction