Content pfp
Content
@
0 reply
0 recast
2 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
4 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

sweetman pfp
sweetman
@sweetman.eth
Balancing the immutability of smart contracts with the flexibility of CI/CD Who's working on this?
1 reply
0 recast
0 reaction

Direct pfp
Direct
@direct
You can use tags in git. Tag the exact commit you deployed.
1 reply
0 recast
0 reaction