Skip to content

Lesson 4: Deploying via Infura #268

Answered by cromewar
semsion asked this question in Q&A
Oct 27, 2021 · 3 comments · 21 replies
Discussion options

You must be logged in to vote

Hello @semsion I will try to solve your question:

Could not decode contract function call to retrieve with return data: b'', output_types: ['uint256']:

Make sure the function retrieve on your SimpleStorage.sol has a return value uint256:

function retrieve() public view returns (uint256){
        return favoriteNumber;
    }

Also in the store function:

function store(uint256 _favoriteNumber) public {
      favoriteNumber = _favoriteNumber;
  }

ValueError: {'code': -32000, 'message': 'replacement transaction underpriced'}

First of all make sure you have enough ETH on your Rinkeby wallet, you can get it from the new faucet provided by chainlink: https://faucets.chain.link/rinkeby

Well the pr…

Replies: 3 comments 21 replies

Comment options

You must be logged in to vote
20 replies
@semsion
Comment options

@cromewar
Comment options

@semsion
Comment options

@cromewar
Comment options

@semsion
Comment options

Answer selected by cromewar
Comment options

You must be logged in to vote
1 reply
@cromewar
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants