Skip to content

Instantly share code, notes, and snippets.

View KentonPrescott's full-sized avatar
💭
building

Kenton Prescott KentonPrescott

💭
building
View GitHub Profile
@KentonPrescott
KentonPrescott / coinbase.txt
Created January 9, 2018 21:11
rinkeby coinbase
0x631a3D2a92C84AD31321c72Cbb8BDd0278bd0651
@KentonPrescott
KentonPrescott / debuggingRevert.js
Last active January 27, 2020 19:02
Solidity revert message debugging w/ Python and Parity
/* eslint-disable no-console */
const Web3 = require('web3')
const kovanPOA = 'https://kovan.poa.network'
const kovanInfura = 'https://kovan.infura.io/v3/c7463beadf2144e68646ff049917b716'
const mainnetInfura = 'https://mainnet.infura.io/v3/c7463beadf2144e68646ff049917b716'
const mainnetTrust = 'http://ethereum-rpc.trustwalletapp.com'
const mainnetMEW = 'https://api.mycryptoapi.com/eth'
const testnet = 'http://localhost:8545'
const web3 = new Web3(testnet)
@KentonPrescott
KentonPrescott / 2020-10-26_checking_Infura_auction_keeper.md
Last active October 27, 2020 00:36
2020-10-26 Checking Infura incompatibilities with `auction-keeper`

This gist documents some investigation into Infura's support of filters over HTTPS. Historically, the auction-keeper has been incompatible with infura because of its lack of support in the eth_newBlockFilter.

Below, I uncover some other issues with Infura, such as unsupported parity methods as well as query limits to eth_getLogs. As originally hoped for, however, I have confirmed that the eth_newBlockFilter limitation has been resolved.

Let's begin.

Running on kovan via infura: