Skip to content
This repository has been archived by the owner on Apr 4, 2024. It is now read-only.

Problem: remix hello world not working #306

Closed
leejw51crypto opened this issue Jul 16, 2021 · 4 comments
Closed

Problem: remix hello world not working #306

leejw51crypto opened this issue Jul 16, 2021 · 4 comments
Assignees

Comments

@leejw51crypto
Copy link
Contributor

leejw51crypto commented Jul 16, 2021

run: http://remix.ethereum.org/
using: http://127.0.0.1:8545 ethermint

this source worked without any issue on truffle, etherjs

  1. deployment <- good
  2. changing state <- not working

solidity source

// SPDX-License-Identifier: GPL-3.0

pragma solidity >=0.7.0 <0.9.0;

/**
 * @title Storage
 * @dev Store & retrieve value in a variable
 */
contract Storage {

    uint256 number;

    /**
     * @dev Store value in variable
     * @param num value to store
     */
    function store(uint256 num) public {
        number = num;
    }

    /**
     * @dev Return value 
     * @return value of 'number'
     */
    function retrieve() public view returns (uint256){
        return number;
    }
}

try to run store
image

@leejw51crypto
Copy link
Contributor Author

leejw51crypto commented Jul 17, 2021

i used 8545 port directly, not meta-mask injected web3 apis.
i'll try with metamask with injected web3

@leejw51crypto
Copy link
Contributor Author

not a bug,
increase gas limit, gas price,
and it worked

@zhangyelong
Copy link

Hi @leejw51crypto , do you have any ideas that I was trying to connect http://localhost:8545 Web3 Provider by Remix http://remix.ethereum.org/, but got error: Not possible to connect to the Web3 provider. Make sure the provider is running, a connection is open (via IPC or RPC) or that the provider plugin is properly configured.

I have enabled the cors of the api config in app.toml.

@zhangyelong
Copy link

Emm... Firefox works well but Chrome not

zsystm pushed a commit to zsystm/ethermint that referenced this issue Aug 31, 2023
* Problem: localhost client param is not migrated

for more info, https://github.com/cosmos/ibc-go/blob/v7.2.0/docs/migrations/v7-to-v7_1.md

* add test

* fix test

* WithConsensusParamsGetter to MigrationModuleManager
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants