English 中文(简体)
• 安装夜总会网络的智能合同时出现24小时差错: “错误:Giver有空合同状态,检查发价人地址”
原标题:locklift error while deploying smart contract on venom network: "Error: Giver has empty contract state, check the giver address",

我正试图用这个<条码>jrpc,将我的智能合同投放到电网链上。 URL

jrpc url

但我对这一信息有误。

Error(“Giver”有空合同状态,对发价人地址进行检查”;


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)
最佳回答

通常发生这种错误时,在给付人平衡上没有标注。

问题回答

For the ones who are using locklift init (like venom youtube tutorial) it configures the endpoint for Venom devnet. Which is not the Venom testnet. So, go into your locklift.config.ts and change

const VENOM_TESTNET_ENDPOINT = process.env.VENOM_TESTNET_ENDPOINT || "https://jrpc-testnet.venom.foundation/rpc";
const VENOM_TESTNET_TRACE_ENDPOINT =
  process.env.VENOM_TESTNET_TRACE_ENDPOINT || "https://gql-testnet.venom.foundation/graphql";




相关问题
Undeclared identifier : _requireOwned(tokenId) error

I am getting below error while running the smart contract: DeclarationError: Undeclared identifier. --> @openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol:35:9: | 35 | ...

How named accounts works in NEAR

It appears that named accounts in NEAR are being managed by the near and register smart contracts. However, this raises the question of whether NEAR natively supports named accounts. it s unclear if ...

ETH sendSignedTransaction

I Try to use @ethereumjs/tx to sign Transaction. I want to send ETH from one address to second address. .... const legacy = require( @ethereumjs/tx/dist/legacyTransaction ); const utils = require( ...

How to set a timer in solidity?

I am launching a game that should close after exactly 3 days/72 hours of initializing & deploying the contract. My current thoughts are: declare a variable, timestamp. in the constructor, set the ...

How to withdraw eth from the contract in zksync

I want to withdraw eth from the contract in Zksync. The withdrawal with solidity code is as follows. And this code is successful in goerli but failed in zksync goerli. function withdraw(address ...

I can t send eth + data into a contract with etherjs

> Well, the problem is from my gas limit. I should increase the gas limit! I want to send eth + data into this contract: 0x5293Bb897db0B64FFd11E0194984E8c5F1f06178 like this transaction: https://...

热门标签