Content
@
0 reply
0 recast
2 reactions
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
4 reactions
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
@sonofmosiah.eth
* forge flatten is the command to get the flattened version
1 reply
0 recast
0 reaction