kaleido-io / chainlink-samples

Sample Chainlink client smart contracts implemented in v0.4 and v0.5 Solidity
6 stars 4 forks source link

Errors when trying to pull ETH Gas price #2

Open trevorsc19 opened 1 year ago

trevorsc19 commented 1 year ago

I've been testing out the chainlink functionality and I'm able to successfully deploy the chainlink smart contract through the Kaleido Samples gallery, but when I try and execute a transaction to get ETH price the transaction errors out. This error can be seen in my Kaleido console.

I found the following geth logs which correspond with the failed transactions: INFO [11-14|02:45:18.861] Submitted transaction hash=0x609aa62adda4671b487ce527e47011a2f85d21a13d29bb68f3b159fab0439207 from=0xf2486579Bc1E8441d6291ef88eEB6f4d9eCe7178 nonce=46 recipient=0x8f26e7E23F92fFA6e32d204d1dDA9ACe2faA97Ee value=0 DEBUG[11-14|02:45:18.861] Served eth_sendTransaction reqid=4 t="783.067µs" DEBUG[11-14|02:45:18.861] Transaction broadcast txs=1 announce packs=0 announced hashes=0 tx packs=4 broadcast txs=4 DEBUG[11-14|02:45:18.985] Enrich call context with values from security context DEBUG[11-14|02:45:18.986] Served eth_getTransactionReceipt reqid=5 t="173.434µs" DEBUG[11-14|02:45:19.017] Account Extra Data root hash="000000…000000" DEBUG[11-14|02:45:19.017] Account Extra Data root hash="000000…000000" INFO [11-14|02:45:19.017] VM returned with error err="execution reverted"

trevorsc19 commented 1 year ago

Kaleido samples gallery: https://kaleido-io.github.io/kaleido-samples-gallery/#/kaleido-samples-gallery/chainlink

Screenshot showing all of the failed transactions on the Kaleido console Screen Shot 2022-11-13 at 9 49 55 PM

Additionally, when I try and do all of this through the command line by following the instructions in the README I get errors when running the npm i command inside the v0.5 or v0.4 folder I get errors with the npm installation