Serverless: Load ABI file from the deployments folder of the contracts directory #275
Labels
backend
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
quality-of-life
refactor
Improve existing feature
Milestone
We might want to load the ABI from our contracts directory with the latest deployments. The serverless side currently has its own copy of the ABI. In the end, it is always going to need that copy because it's packed into the libs layer and uploaded to AWS. Also considering the fact that we do deployments to goerli, main-net, and Mumbai, it's going to be tricky to decide which one to use.
If we can figure out a way to avoid copying the FleekERC721.json ABI file from
non-fungible-apps/contracts/deployments
, we can make sure serverless always uses the latest deployed ABI.The text was updated successfully, but these errors were encountered: