profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/wjmelements/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.

cmdli/parallel-brainfuck 5

Parallel Brainfuck

wjmelements/airswap-protocols 1

Smart Contracts and Tools for Developers on the AirSwap Network

wjmelements/consensus 1

Consensus algorithms using various primitives

wjmelements/data 1

C++ Library for a variety of data structures.

pikachuchu/id 0

Intelligent Design: Interactive Conway's Game of Life

issue openedMetaMask/metamask-extension

Uncled transaction showed as confirmed

Metamask 10.0.3

A pending transaction was included in a block, so Metamask UI now shows it is confirmed. But it is not actually confirmed; it is still pending because that block was uncled.

Metamask should be able to detect this situation via account nonce; if the account nonce is less than a confirmed tx nonce, that tx should return to the pending state.

created time in 11 days

push eventwjmelements/evm

William Morriss

commit sha 82f7c6b386de5c32fabaa622d6d0f83810f6c188

negative decimal numbers

view details

William Morriss

commit sha 5e993b66ca05fed384ee835ca1dbdff816e45372

simplify

view details

push time in 13 days

issue commentMetaMask/metamask-extension

eth_sign won't resolve promise

I am also seeing the same issue.

joelamouche

comment created time in 24 days

issue openedMetaMask/metamask-extension

Transaction Underpriced when replacing pending transaction by nonce

When replacing by nonce, the only option seems to be to set custom nonce. So, if I select a nonce that would replace another transaction in the Queue, the suggested gasPrice (max fee and priority fee) should be high enough that we don't get the Underpriced error.

created time in 25 days

issue commentledgerwatch/erigon

Geth: Checkpoint challenge timed out

@wjmelements , hi. Help me to check if #2558 fixing this issue

Seeing this for erigon/v2021.08.4 erigon/v2021.08.5 erigon/v2021.09.1

wjmelements

comment created time in a month

issue closedairswap/airswap-web

Invalid request method sent to maker

Apparently it's sending a request that isn't POST or OPTIONS to a maker.

Response from ast.ngrok.io

{"jsonrpc": "2.0", "error": {"code": -32600, "message": "Invalid request: must use POST or OPTIONS"}}

Reproduce by trying to trade SOCKS for USDT.

closed time in a month

wjmelements

issue commentairswap/airswap-web

Invalid request method sent to maker

nm I misinterpreted the debugger I was using for this

wjmelements

comment created time in a month

issue openedairswap/airswap-web

Invalid request method send to maker

Apparently it's sending a request that isn't POST or OPTIONS to a maker.

Response from ast.ngrok.io

{"jsonrpc": "2.0", "error": {"code": -32600, "message": "Invalid request: must use POST or OPTIONS"}}

Reproduce by trying to trade SOCKS for USDT.

created time in a month

issue openedwjmelements/scripts

New Script: wip/unwip

WIP or un-WIP the current PR.

  • Add/Remove "WIP" tag
  • Edit title, adding/removing "WIP: ", "[WIP] ", and others

created time in a month

issue commentledgerwatch/erigon

Geth: Checkpoint challenge timed out

Longer-term, the main danger could be network partitioning, though I'm not sure the scope of the issue.

The "Checkpoint challenge" seems to be RequestHeadersByNumber. The packet for that changed in ETH66 to include the request ID.

wjmelements

comment created time in a month

issue commentledgerwatch/erigon

Geth: Checkpoint challenge timed out

Do you have logs of Erigon at same time?

No, sorry.

By what way was Geth synced?

--syncmode=full from 1-3 minutes behind.

wjmelements

comment created time in a month

issue openedledgerwatch/erigon

Geth: Checkpoint challenge timed out

Running geth v1.10.6, when peering often get "Checkpoint challenged timed out, dropping", but only for erigon peers, so I suspect the issue is on the erigon side. Some of these erigon versions seem recent. Impact is that we drop erigon peers.

Seems to impact Erigon versions v2021.07.5 to v2021.08.2.

Aug 16 19:45:27 <hostname> geth[21323]: WARN [08-16|19:45:27.453] Checkpoint challenge timed out, dropping id=82670652b448f835 conn=inbound addr=135.181.162.238:33940 type=erigon/v2021.08.1-al...
Aug 16 19:45:33 <hostname> geth[21323]: WARN [08-16|19:45:33.004] Checkpoint challenge timed out, dropping id=c81ed3b70021ffc4 conn=inbound addr=104.183.81.205:43296  type=erigon/v2021.07.5-al...
Aug 16 19:45:35 <hostname> geth[21323]: WARN [08-16|19:45:35.293] Checkpoint challenge timed out, dropping id=adfabe47270f1ae0 conn=inbound addr=51.15.194.195:45278   type=erigon/v2021.08.1-al...
Aug 16 19:45:43 <hostname> geth[21323]: WARN [08-16|19:45:43.155] Checkpoint challenge timed out, dropping id=df731c26a242cc67 conn=inbound addr=193.32.127.239:44450  type=erigon/v2021.08.2-al...
Aug 16 19:46:09 <hostname> geth[21323]: WARN [08-16|19:46:09.268] Checkpoint challenge timed out, dropping id=0378557a1641aa2e conn=inbound addr=47.90.252.157:49826   type=erigon/v2021.08.2-al...
Aug 16 19:46:20 <hostname> geth[21323]: WARN [08-16|19:46:20.553] Checkpoint challenge timed out, dropping id=d536de87d7b4ff33 conn=inbound addr=3.126.101.206:61701   type=erigon/v2021.08.2-al...
Aug 16 19:46:23 <hostname> geth[21323]: WARN [08-16|19:46:23.657] Checkpoint challenge timed out, dropping id=adfabe47270f1ae0 conn=inbound addr=51.15.194.195:45758   type=erigon/v2021.08.1-al...
Aug 16 19:46:44 <hostname> geth[21323]: WARN [08-16|19:46:44.204] Checkpoint challenge timed out, dropping id=91860e1ee0d05470 conn=inbound addr=178.63.101.49:37612   type=erigon/v2021.08.2-al...
Aug 16 19:46:48 <hostname> geth[21323]: WARN [08-16|19:46:48.894] Checkpoint challenge timed out, dropping id=faf5f4b6b018b9f8 conn=inbound addr=157.90.84.220:58242   type=erigon/v2021.08.1-al...
Aug 16 19:47:09 <hostname> geth[21323]: WARN [08-16|19:47:09.098] Checkpoint challenge timed out, dropping id=ff52f7f60c5b5409 conn=inbound addr=104.227.245.82:42794  type=erigon/archive01.arc...
Aug 16 19:47:27 <hostname> geth[21323]: WARN [08-16|19:47:27.043] Checkpoint challenge timed out, dropping id=5aa7a5b066f65dac conn=inbound addr=90.190.203.59:57440   type=erigon/v2021.08.2-al...

created time in a month

push eventwjmelements/evm

William Morriss

commit sha 1c0c7e7d2cbbe643f0e35be82331ee825ac61273

use snprintf to fix #2

view details

push time in a month

issue closedwjmelements/evm

Illegal instruction: 4

Happens on Mac but not on Linux.

Compiler: Apple clang version 12.0.0 OS: macOS 11.2.3

Minimum viable repro: Disassemble 67ffffffffffffffff

Crashes during sprintf of disassemblePushDecimal.

Viable workaround is to use Linux+GCC.

closed time in a month

wjmelements

issue commentwjmelements/evm

Illegal instruction: 4

Possibly caused by "detected source and destination buffer overlap" Fixed by using snprintf instead of sprintf

wjmelements

comment created time in a month

push eventwjmelements/farts

William Morriss

commit sha 4ce3d44b6fb74d438284f73b3da3866ee5e79631

update to 0.8.6, define Call struct for calldata

view details

William Morriss

commit sha 1794c442e1b621f5f6bb9c65dd9f7847e6fdfc54

rm experimental decoder

view details

push time in 2 months

push eventwjmelements/farts

William Morriss

commit sha 5d2838f31e7485d2bfbd78a83e402d9da7ef166d

readme

view details

push time in 2 months

push eventwjmelements/farts

William Morriss

commit sha ef53e2ab3555a55b443f515bf246ddea6259bbf5

also need minimal reentrancy for gas token

view details

push time in 2 months

push eventwjmelements/farts

William Morriss

commit sha c0909db0f41065f3ca7d8c676a8227bea5ec0cb0

flash mint!

view details

push time in 2 months

push eventwjmelements/farts

William Morriss

commit sha 162ce13ba52c3cca884522b3dbea5c002fd9fa1e

fix from balance

view details

push time in 2 months

push eventwjmelements/farts

William Morriss

commit sha 381f7ad95c6fdaa97ab18360744f8bb5246c9f6e

multicall with value, and receive

view details

push time in 2 months

PR closed wjmelements/farts

add: liquid gas token
+4 -3

4 comments

1 changed file

sambacha

pr closed time in 2 months

pull request commentwjmelements/farts

add: liquid gas token

I'm gonna reject LGT because of low supply and market cap. The different freeFrom interface means it's not worth supporting.

sambacha

comment created time in 2 months

push eventwjmelements/farts

William Morriss

commit sha 10a8ab3228de66a49f27d306e6d0f13a06cd5b72

Multicall

view details

push time in 2 months

Pull request review commentwjmelements/farts

add: liquid gas token

 contract Farts /*is IERC20*/ {     IGasToken public constant GST1 = IGasToken(0x88d60255F917e3eb94eaE199d827DAd837fac4cB);     IGasToken public constant GST2 = IGasToken(0x0000000000b3F879cb30FE243b4Dfee438691c04);     IGasToken public constant CHI = IGasToken(0x0000000000004946c0e9F43F4Dee607b0eF1fA1c);+    IGasToken public constant LGT = IGasToken(0x000000000000C1CB11D5c062901F32D06248CE48); /** Liquid Gas Token */

If you're adding this comment, add it for the others too

sambacha

comment created time in 2 months

PullRequestReviewEvent
PullRequestReviewEvent

pull request commentwjmelements/farts

add: liquid gas token

LGT doesn't implement the same interface; the args are switched.

sambacha

comment created time in 2 months

push eventwjmelements/farts

William Morriss

commit sha 7f5a406470c2f6f644f8f2a1b9f818ca6071f294

specify optimize-runs

view details

William Morriss

commit sha bd66c51ce104d8aabfbb7944b87c2b974b348707

public

view details

push time in 2 months

push eventwjmelements/farts

William Morriss

commit sha 751e6f284c951b788cdb54cfe6f0bb7856cf1089

fromBalance scope

view details

push time in 2 months