Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated web3js, ganache and aligned eth integration code #74

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kss-espeo
Copy link
Collaborator

Fixes #33 and #60

@@ -87,7 +87,7 @@ class EthereumOracleAdapter implements OracleGateway {
try {
await method.send({
from: process.env.PUBLIC_KEY,
gas: await this.web3.eth.estimateGas({to: this.contract.address}),
gas: await method.estimateGas({from: process.env.PUBLIC_KEY}),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see, that new web3 repair "method.estimateGas" 👍

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

node_modules/web3-core/types/index.d.ts:31:23 - error TS2307: Cannot find module 'bignumber.js'. 31 import BigNumber from 'bignumber.js'; ~~~~~~~~~~~~~~ node_modules/web3-eth/types/index.d.ts:51:25 - error TS2307: Cannot find module 'bignumber.js'. 51 import {BigNumber} from 'bignumber.js'; ~~~~~~~~~~~~~~

CircleCi has problem with bignumber from web3, please repair.

@KaliszukTomasz KaliszukTomasz self-requested a review February 14, 2020 06:49
Copy link
Collaborator

@KaliszukTomasz KaliszukTomasz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Problem with bignumber have to be solved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Version of web3 should be the same as in Gardener Monitor to avoid types mismatch
2 participants