profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/emilbayes/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.

choojs/hyperx 994

🏷 - tagged template string virtual dom builder

dcposch/blakejs 136

Pure Javascript implementation of the BLAKE2b and BLAKE2s hash functions

chm-diederichs/minisign 73

JavaScript implementation of Frank Denis' (@jedisct1) minisign tool.

AndreasMadsen/dprof 72

Dynamic/structured profiling & visualization for sync and async operations

AndreasMadsen/xorshift 52

Random number generator using xorshift128+

choojs/choo-redirect 19

🎬 - Redirect a view to another view

bitfinexcom/antani 12

Proof of Liabilities and Vote Delegation

emilbayes/base32-encoding 8

Encode / decode base32. Supports Buffers, strings, custom alphabets, abstract-encoding compliant

issue closedvegaprotocol/ethereum-event-forwarder

Timeout in ethereum event forwarder

Some validators seems to have timeout issue throwing uncatched exception.

While it might be just mis-configuration, it might be good to catch these exception, and get a bit more details on what did timeout (at first sight I'd imagine ever the vega core or the ethereum node did timeout).

{"level":30,"time":1631474792367,"pid":283219,"hostname":"vega-test1-digitalocean","msg":"LOG_LEVEL: info"}
{"level":30,"time":1631474792367,"pid":283219,"hostname":"vega-test1-digitalocean","msg":"Connecting to Vega GRPC on '127.0.0.1:3002'"}
{"level":30,"time":1631474792380,"pid":283219,"hostname":"vega-test1-digitalocean","msg":"Using public key: 'f804c635409b7281aee346276eabc1f4de9d730077acd61dc23badd1c27dba17'"}
{"level":30,"time":1631474792749,"pid":283219,"hostname":"vega-test1-digitalocean","msg":"Starting at block: 11022945"}
node:internal/process/promises:246
          triggerUncaughtException(err, true /* fromPromise */);
          ^

RequestError: Timeout awaiting 'request' for 5000ms
    at ClientRequest.<anonymous> (/root/ethereum-event-forwarder/node_modules/got/dist/source/core/index.js:956:65)
    at Object.onceWrapper (node:events:514:26)
    at ClientRequest.emit (node:events:406:35)
    at ClientRequest.origin.emit (/root/ethereum-event-forwarder/node_modules/@szmarczak/http-timer/dist/source/index.js:43:20)
    at TLSSocket.socketErrorListener (node:_http_client:447:9)
    at TLSSocket.emit (node:events:394:28)
    at emitErrorNT (node:internal/streams/destroy:157:8)
    at emitErrorCloseNT (node:internal/streams/destroy:122:3)
    at processTicksAndRejections (node:internal/process/task_queues:83:21)
    at Timeout.timeoutHandler [as _onTimeout] (/root/ethereum-event-forwarder/node_modules/got/dist/source/core/utils/timed-out.js:36:25)
    at listOnTimeout (node:internal/timers:559:11)
    at processTimers (node:internal/timers:500:7) {
  name: 'TimeoutError',
  code: 'ETIMEDOUT',
  timings: {
    start: 1631480534328,
    socket: 1631480534329,
    lookup: 1631480534331,
    connect: undefined,
    secureConnect: undefined,
    upload: undefined,
    response: undefined,
    end: undefined,
    error: 1631480539331,
    abort: undefined,
    phases: {
      wait: 1,
      dns: 2,
      tcp: undefined,
      tls: undefined,
      request: undefined,
      firstByte: undefined,
      download: undefined,
      total: 5003
    }
  },
  event: 'request'
}

closed time in a day

jeremyletang

issue commentvegaprotocol/ethereum-event-forwarder

Timeout in ethereum event forwarder

Closed by https://github.com/vegaprotocol/ethereum-event-forwarder/commit/b97519a5f7ae9c7534ac3bdd38ebe342a875c02f

jeremyletang

comment created time in a day

issue closedvegaprotocol/ethereum-event-forwarder

Error when calling ethereum node

An error happen with an event forwardwer being run by validators, seems like the call to infura returns more results than expected, not sure what is the source of this, but could be nice to investigate.

/root/ethereum-event-forwarder/node_modules/nanoeth/http.js:29
      const error = new Error(res.body.error.message)
                    ^

Error: query returned more than 10000 results
    at RPC.request (/root/ethereum-event-forwarder/node_modules/nanoeth/http.js:29:21)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async Promise.all (index 0)
    at async EthLogIterator._loop (/root/ethereum-event-forwarder/lib/eth-log-iterator.js:69:29) {
  code: -32005
}

closed time in a day

jeremyletang

issue commentvegaprotocol/ethereum-event-forwarder

Error when calling ethereum node

Closed by https://github.com/vegaprotocol/ethereum-event-forwarder/commit/b97519a5f7ae9c7534ac3bdd38ebe342a875c02f

jeremyletang

comment created time in a day

push eventvegaprotocol/ethereum-event-forwarder

Emil Bay

commit sha 223d5d860a1e0b5892ed416e08a7ee940b022f88

Update vega-grpc and pin package-lock Closes #5

view details

Emil Bay

commit sha b97519a5f7ae9c7534ac3bdd38ebe342a875c02f

Add retries to eth calls Closes #6, #7, #8

view details

push time in a day

issue closedvegaprotocol/ethereum-event-forwarder

TimeoutError

The app should catch all errors, wait, retry, and if at all possible, not die.

$ docker logs ethereumeventforwarder 
{"level":30,"time":1630944876326,"pid":7,"hostname":"n01-d","msg":"Starting"}
{"level":30,"time":1630944876327,"pid":7,"hostname":"n01-d","msg":"Using primary config file '/eef/config.toml'"}
{"level":30,"time":1630944876327,"pid":7,"hostname":"n01-d","msg":"LOG_LEVEL: info"}
{"level":30,"time":1630944876328,"pid":7,"hostname":"n01-d","msg":"Connecting to Vega GRPC on '127.0.0.1:3002'"}
{"level":30,"time":1630944876345,"pid":7,"hostname":"n01-d","msg":"Using public key: '874c00168b302bc618e4a67126b8189c46a0b72ba0c3341b944c3b23114e4517'"}
{"level":30,"time":1630944876346,"pid":7,"hostname":"n01-d","msg":"Starting at block: 10985486"}
node:internal/process/promises:246
          triggerUncaughtException(err, true /* fromPromise */);
          ^

RequestError: Timeout awaiting 'request' for 5000ms
    at ClientRequest.<anonymous> (/app/node_modules/got/dist/source/core/index.js:956:65)
    at Object.onceWrapper (node:events:514:26)
    at ClientRequest.emit (node:events:406:35)
    at ClientRequest.origin.emit (/app/node_modules/@szmarczak/http-timer/dist/source/index.js:43:20)
    at TLSSocket.socketErrorListener (node:_http_client:447:9)
    at TLSSocket.emit (node:events:394:28)
    at emitErrorNT (node:internal/streams/destroy:157:8)
    at emitErrorCloseNT (node:internal/streams/destroy:122:3)
    at processTicksAndRejections (node:internal/process/task_queues:83:21)
    at Timeout.timeoutHandler [as _onTimeout] (/app/node_modules/got/dist/source/core/utils/timed-out.js:36:25)
    at listOnTimeout (node:internal/timers:559:11)
    at processTimers (node:internal/timers:500:7) {
  name: 'TimeoutError',
  code: 'ETIMEDOUT',
  timings: {
    start: 1630959949664,
    socket: 1630959949664,
    lookup: 1630959949666,
    connect: 1630959949743,
    secureConnect: 1630959949820,
    upload: 1630959949820,
    response: undefined,
    end: undefined,
    error: 1630959954665,
    abort: undefined,
    phases: {
      wait: 0,
      dns: 2,
      tcp: 77,
      tls: 77,
      request: 0,
      firstByte: undefined,
      download: undefined,
      total: 5001
    }
  },
  event: 'request'
}

closed time in a day

ashleyvega

issue closedvegaprotocol/ethereum-event-forwarder

Update @vegaprotocol/vega-grpc

Update this dependency once https://github.com/vegaprotocol/api/pull/381 is merged

closed time in a day

emilbayes

push eventvegaprotocol/ethereum-event-forwarder

Emil Bay

commit sha d8d5b36d8764bbad37880418151c9e9d32bb35f4

Correct config keys in readme and example config

view details

push time in 9 days

push eventvegaprotocol/ethereum-event-forwarder

Emil Bay

commit sha 145fb80b462c7d047a0e82d537f907485384be93

Improve docs

view details

Emil Bay

commit sha 6fa3e6706cde91cfa754f2384c46af069904877a

Respect healthcheck_iface

view details

Emil Bay

commit sha 3f9b37ce3306a985803cd9a9b5b374d7381ccfb0

Support -1 for block heights

view details

Emil Bay

commit sha 7f9d55106aaf2f153448a810877321e502f9c16e

Fix typo

view details

Emil Bay

commit sha bdf9b8f1f692771239f33904e0e82086c040e978

Elevate log level for events

view details

Emil Bay

commit sha ed427fb04c47228238bcf243cdbb3a3622a91116

Fix argument order for port and iface

view details

push time in 9 days

delete branch vegaprotocol/ethereum-event-forwarder

delete branch : lint

delete time in 9 days

push eventvegaprotocol/ethereum-event-forwarder

Edd Hannay

commit sha 725d5f242cb9d8a98b5d1fdaf86d76f08982edd1

Add auto-linting in CI. Also run --fix

view details

Edd Hannay

commit sha 4313d265fb27a608541c59097002531a671c2a3a

Fix workflow - add trigger

view details

Edd

commit sha 03a1f45288082afe8af8d8294d6d999f8f89e93b

npm install -> npm ci Update action to use `npm ci`

view details

push time in 9 days

PR merged vegaprotocol/ethereum-event-forwarder

Reviewers
Add auto-linting in CI

standard is already a dev dependency. Add it as an action.

  • Add lint npm script (it runs standard)
  • Add lint:fix' npm script (it runsstandard --fix`)
  • Add github action to run lint
  • Fix one linting error

Minor change. But hey, linting.

+25 -2

0 comment

3 changed files

edd

pr closed time in 9 days

issue openedvegaprotocol/ethereum-event-forwarder

Update @vegaprotocol/vega-grpc

Update this dependency once https://github.com/vegaprotocol/api/pull/381 is merged

created time in 14 days

delete branch vegaprotocol/vega-locked-erc20

delete branch : add-address-to-readme

delete time in 17 days

push eventvegaprotocol/vega-locked-erc20

Edd

commit sha 740196d2eb80c8c545fc9cd4925796cdacc7f79a

Redundantly add address to README While there's already a link on the Github project, having it in the README makes it easier to find. - Add `Deployment` section to README

view details

push time in 17 days

PR merged vegaprotocol/vega-locked-erc20

Redundantly add address to README

While there's already a link on the Github project, having it in the README makes it easier to find.

  • Add Deployment section to README
+4 -1

0 comment

1 changed file

edd

pr closed time in 17 days

push eventchm-diederichs/eth-serde

Emil Bay

commit sha 4eb35b251a3b44cdf881528c0da0e5f4cf66db54

0.0.14

view details

push time in 24 days

created tagchm-diederichs/eth-serde

tagv0.0.14

Serialisation module for Ethereum formats

created time in 24 days

push eventchm-diederichs/eth-serde

Emil Bay

commit sha d8b92d81ad4f7ad9e191875493442f045311c2d5

0.0.13

view details

push time in 24 days

created tagchm-diederichs/eth-serde

tagv0.0.13

Serialisation module for Ethereum formats

created time in 24 days

push eventchm-diederichs/eth-serde

Emil Bay

commit sha 494ab9b5a97427063d804b40a8b10a5f975b7dd7

0.0.12

view details

push time in 24 days

created tagchm-diederichs/eth-serde

tagv0.0.12

Serialisation module for Ethereum formats

created time in 24 days

push eventvegaprotocol/api

Ashley C

commit sha 55fca4790a9be3e6f2bf3a72d6ce4eca21016e72

Bump Vega API and GraphQL schema to latest

view details

Ashley C

commit sha 836f0bc5dacb0148e11481bb8f5dea525e0c83f4

Set version 0.41.pre1

view details

Ashley C

commit sha 7fe05d1d50829074ce0050071fa84eaba5142b06

Split Python CI into PR and release pipelines

view details

Ashley C

commit sha 0325a1e75d854f7b9bbbee3b9a56b5b6910161f7

Python: Use conftest, avoid imports

view details

Ashley C

commit sha 1a1f5a4e937657e626d0e7ff952f0e99548e0f5f

Python: Add hack for wallet proto import

view details

Ashley C

commit sha bb2ff4e5675321eed87cec0d6d4df9fd697d625c

Set version 0.41.pre2

view details

Ashley C

commit sha 814799aee1ba8242d64cbfd5e5825641fad97578

Python: Add tests for imports

view details

Ashley C

commit sha 45898555725e219cb5dd66e8379612bf6ae35473

Python walletclient: Add signtxv2; fix pylint warnings

view details

Ashley C

commit sha c0271b2ab84c5736ddca976f1bf78273e6fde217

Set version 0.41.pre3

view details

Ashley C

commit sha f5643e00bc261fe010cd285f10a4673988e7b730

Fix spellings

view details

Ashley C

commit sha 55b63d32bd461357fac22112bb22c898c35cf40d

Set version 0.41.pre4

view details

Ashley C

commit sha 44913b57858ced1130854aceb6c7dcaeee86ba31

Python: Add helper sign_submit_tx_v2

view details

Ashley C

commit sha 5f4c889dc20423161dcd562a21d1ed33c54bdb7c

Address some pylint warnings

view details

Ashley C

commit sha 9ea2bbd0eda127f6c8de3663ec842d7f5d9f46d9

Add pylint

view details

Ashley C

commit sha 6cd2017a00ef3dc7b780d87b0a37a235a2f9996d

Ditch Prepare functions and tx v1 (#321)

view details

Ashley C

commit sha f7b2e6a98c2ce1f0796143595d766e32a90d8566

Python: Switch test from txv1 to txv2 (#321)

view details

Ashley C

commit sha b95ae8bfd48a6854aa83cd9d7494cafe599e0aba

Python: address pylint warning

view details

Ashley C

commit sha 6d5c802ae13ceb3f518a96339d3b196c374eee46

Bump Vega API to latest

view details

Ashley C

commit sha 1c7f6fb857c829562b646a7fa3bb509f6ca3bcc0

Python: add coverage

view details

Ashley C

commit sha 4ae984dd7ba77dc347bad0dafb0edd0f5e155f29

Python: simplify script; address pylint warnings

view details

push time in a month

PR opened vegaprotocol/api

GRPC Node bindings

This adds GRPC bindings for Node.js, which is different from the previous JS bindings that supported web browsers only

+41205 -18069

0 comment

136 changed files

pr created time in a month

create barnchvegaprotocol/api

branch : feature/grpc-node

created branch time in a month

pull request commentvegaprotocol/protos

Add staking event to chain event

This closes #13

jeremyletang

comment created time in a month