smartcontractstonvenom

locklift error while deploying smart contract on venom network: "Error: Giver has empty contract state, check the giver address",


I was trying to deploy my smart contract on the venom devnet blockchain with this jrpc URL

jrpc url

but I got an error with this message

Error("Giver has empty contract state, check the giver address");


Users/sam/code/Web3/venomDAO/node_modules/locklift/internal/giver/index.js:24
throw new Error("Giver has empty contract state, check the giver address");
              ^
Error: Giver has empty contract state, check the giver address
at getGiver (/Users/sam/code/Web3/venomDAO/node_modules/locklift/internal/giver/index.js:24:15)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at Function.setup (/Users/sam/code/Web3/venomDAO/node_modules/locklift/index.js:154:41)
at initLockliftStep (/Users/sam/code/Web3/venomDAO/node_modules/locklift/internal/cli/steps/initLocklift.js:8:23)
at Command.<anonymous> (/Users/sam/code/Web3/venomDAO/node_modules/locklift/internal/cli/commands/run.js:36:5)

Solution

  • Usually, such an error happens, when there are no tokens on the giver balance