Coder Social home page Coder Social logo

ganache-cli's People

Contributors

aakilfernandes avatar alexhanh avatar area avatar axic avatar benjamincburns avatar cgewecke avatar ckeenan avatar conroydamien avatar critesjosh avatar cruzmolina avatar davidmurdoch avatar edevil avatar ezynda3 avatar iurimatias avatar johnmcdowall avatar kumavis avatar martianov avatar mikeseese avatar mpolci avatar mrchico avatar mrsmkl avatar nambrot avatar nicholasjpaterno avatar roderik avatar simondlr avatar tcoulter avatar tymat avatar yorhodes avatar yusefnapora avatar zhouer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ganache-cli's Issues

Ganache does not use the celo derivation path when loaded with seedphrase

I am using the truffle hd wallet provider to deploy to alfajores and baklava networks. But when i use celo ganache and supply a seed phrase like

npx @celo/ganache-cli -m "your seedphrase goes here"

It will load the seedphrase but with the ethereum derivation path instead of the celo one. This yields to interesting results when switching networks ;)

HD Wallet
==================
Mnemonic:      your seedphrase goes here
Base HD Path:  m/44'/60'/0'/0/{account_index}
// celo's derivation path!
const celoDerivationPath = "m/44'/52752'/0'/0/";

new HDWalletProvider({
	mnemonic: getMnemonic("local"),
	providerOrUrl: `http://localhost:8545`,
	derivationPath: celoDerivationPath,
}),

Ganache doesn't know how to process a signed Celo transaction

  • Link to question on discord

Expected Behavior

Celo transactions sent to a locally running ganache chain should be processed without throwing an error.

Current Behavior

I am getting: Error: Number can only safely store up to 53 bits errors when calling goldToken.approve using the Ledger address.

Context

I am getting: Error: Number can only safely store up to 53 bits errors when calling goldToken.approve w/ contractkit using the Ledger address.
I am not getting any errors if I run the same code using non ledger regular local account.
I am testing against local @celo/ganache-cli instance. I am suspecting, something isn't working properly with Ledger transaction signing against local ganache-cli instance and the error message is just misleading maybe?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.