Commit Graph

  • 4a57089ed2 Fix warnings Mark Spanbroek 2024-03-03 06:29:58 +01:00
  • 877ff82ef6 Fix: overrides when simulating transaction Mark Spanbroek 2024-03-03 06:29:51 +01:00
  • 21db2a4fe4 Fix warnings Mark Spanbroek 2024-03-03 06:29:58 +01:00
  • 76c8e616ed Fix: overrides when simulating transaction Mark Spanbroek 2024-03-03 06:29:51 +01:00
  • 964ea428ed Fix: ensure that gas estimations are done using the "pending" block Mark Spanbroek 2024-02-26 16:35:10 +01:00
  • af5a0f5fb4 Fix: ensure that gas estimations are done using the "pending" block Mark Spanbroek 2024-02-26 16:35:10 +01:00
  • 4c7e351fd9 version 0.7.3 0.7.3 Mark Spanbroek 2024-02-27 09:19:41 +01:00
  • 67ab667284 Adds isSyncing to provider (#62) Ben Bierens 2024-02-20 16:25:23 +01:00
  • d46f5a10d3 version 0.8.0 0.8.0 Mark Spanbroek 2024-02-27 09:13:36 +01:00
  • 1181e8e8c0 Fix: ensure that gas estimations are done using the "pending" block Mark Spanbroek 2024-02-26 16:35:10 +01:00
  • 7911ac6c57
    version 0.7.2 0.7.2 benbierens 2024-02-26 14:03:48 +01:00
  • e8196b3c82
    Adds isSyncing to provider (#62) Ben Bierens 2024-02-20 16:25:23 +01:00
  • 903cc56fa0
    Adds isSyncing to provider benbierens 2024-01-17 15:21:23 +01:00
  • 43500c63d7
    Upgrade to nim-json-rpc v0.4.2 and chronos v4 (#64) Eric 2024-02-19 16:50:46 +11:00
  • 0ad648efdd
    rename subscriptions.init > subscriptions.start Eric 2024-02-19 16:33:35 +11:00
  • fc2ffff279
    address PR feedback Eric 2024-02-12 13:15:05 +11:00
  • f5b26f69c1
    Move hash* shim to its own module Eric 2024-02-08 14:54:32 +11:00
  • fae4339ab6
    use nim-serde instead of json util Eric 2024-02-08 12:58:15 +11:00
  • 4a5028f295
    Add more tests for OptIn/OptOut/Strict modes, fix logic Eric 2024-02-06 15:42:11 +11:00
  • d8bf5b0eae
    deserialize key defaults to serialize key Eric 2024-02-05 12:24:05 +11:00
  • 1a6ab42434
    cleanup Eric 2024-02-02 18:43:56 +11:00
  • 3b559a90de
    handle exceptions during jsonrpc init Eric 2024-02-02 18:43:47 +11:00
  • 69f90a3d67
    fix: specify raises for getAddress and sendTransaction Eric 2024-02-02 16:31:01 +11:00
  • 502457633d
    bump json-rpc to 0.4.0 and fix test Eric 2024-02-01 19:01:18 +11:00
  • 1b083e10ad
    Add serde options to the json util, along with tests Eric 2024-02-01 18:52:05 +11:00
  • 7f3042bf4d
    lock in chronos version Eric 2024-01-30 19:25:39 +11:00
  • 64cc99442d
    support nim 2.0 Eric 2024-01-30 19:25:24 +11:00
  • 92b8ea028a
    clean up - all tests passing Eric 2024-01-30 17:41:47 +11:00
  • 873124ccf7
    Catch EstimateGasError before ProviderError Eric 2024-01-30 17:41:25 +11:00
  • 1172b7e56a
    remove raises from async annotation for dynamic dispatch Eric 2024-01-30 17:40:14 +11:00
  • 59a7939e8f
    Refactor exceptions for providers and signers, fix more tests Eric 2024-01-29 22:20:48 +11:00
  • c261e96274
    rename sender to from, update json error logging, add more conversions Eric 2024-01-25 17:20:04 +11:00
  • 526d954a01
    Start fixing tests (mainly conversion fixes) Eric 2024-01-24 18:09:47 +11:00
  • f6f0dbc07b
    Update exceptions Eric 2024-01-24 14:36:53 +11:00
  • ad1fe90492
    Fix json_rpc.call returning JsonString instead of JsonNode Eric 2024-01-24 13:37:13 +11:00
  • 71830221b6
    More json conversion updates Eric 2024-01-24 13:36:24 +11:00
  • d46db94f74
    Add ethers implementation for setMethodHandler Eric 2024-01-24 11:55:44 +11:00
  • daa88cc8bf
    Add json de/serialization lib from codex to handle conversions Eric 2024-01-24 11:53:53 +11:00
  • 4d69f6aa7a
    add raises annotation, and return JsonRpcProvider from new chore/convert-error-on-new Eric 2024-01-10 16:39:44 +11:00
  • 837452c4da
    catch rpc exceptions in JsonRpcSubscription.new Eric 2024-01-10 16:28:28 +11:00
  • a1eb5497a9
    Use string as callback table key feat/chronos-v4-alt Eric 2023-12-20 07:47:42 +11:00
  • 7973ce86ce
    Use push raises:[] to avoid raises: [CatchableError] Eric 2023-12-20 07:25:37 +11:00
  • cbaf3c79c8
    set correct version for asynctest gmega 2023-12-15 14:55:19 -03:00
  • 8ca2b37bfb
    switch chronos and asynctest to head; bump nim to 1.6.16 gmega 2023-12-15 10:36:42 -03:00
  • ce4d8d0238
    initial exception types and effects fixes gmega 2023-12-15 11:35:07 -03:00
  • fd16d71ea5 version 0.7.1 0.7.1 Mark Spanbroek 2023-12-12 09:28:52 +01:00
  • c25de86656 remove upraises Mark Spanbroek 2023-12-12 09:24:37 +01:00
  • 8435bd9667 remove upraises Mark Spanbroek 2023-12-12 09:24:37 +01:00
  • 04b91d9f65 Test with Nim 1.6.16 Mark Spanbroek 2023-12-12 09:13:38 +01:00
  • f38a42d1f4 Test with Nim 1.6.16 Mark Spanbroek 2023-12-12 09:13:38 +01:00
  • abe8585f53 Do not decrease nonce when it wasn't increased Mark Spanbroek 2023-12-12 09:04:22 +01:00
  • 16b28f4535 wrap try/finally around populateTransaction logic to ensure the lock is always released in the case of an error Eric 2023-10-26 10:17:08 +11:00
  • 43ef7902d7 Do not decrease nonce when it wasn't increased Mark Spanbroek 2023-12-12 09:04:22 +01:00
  • 6238b6a215
    wrap try/finally around populateTransaction logic to ensure the lock is always released in the case of an error Eric 2023-10-26 10:17:08 +11:00
  • 2428b756d6
    On transaction failure, fetch revert reason with replayed transaction (#57) Eric 2023-10-25 11:36:00 +11:00
  • 9b30c84d41
    clean up Eric 2023-10-25 10:58:29 +11:00
  • 8c363f287d
    clean up Eric 2023-10-25 10:53:44 +11:00
  • 944e7f8af3
    chore: update imports Eric 2023-10-23 09:39:30 +11:00
  • f827b5562e
    add back tests that went missing Eric 2023-10-20 18:20:45 +11:00
  • 21de34ced9
    Remove auto-cancellation of failed tx, change revert reason level Eric 2023-10-20 13:52:36 +11:00
  • 06dc6c4d65
    clean up Eric 2023-10-18 15:53:24 +11:00
  • 512b29bf72
    remove nonce in error, clean up testing Eric 2023-10-18 14:36:39 +11:00
  • 74ea3fbb99
    fix build error Eric 2023-09-26 22:32:56 +10:00
  • 3a2165dd3d
    add toTransaction test, more debugging Eric 2023-09-26 17:37:16 +10:00
  • 259414c639
    add TransactionType back to toTransaction Eric 2023-09-26 17:36:59 +10:00
  • a070b0a8e6
    clean up Eric 2023-09-26 17:36:44 +10:00
  • 0d0a872ca0
    Allow block to be passed with eth_estimageGas Eric 2023-09-26 17:36:24 +10:00
  • 68f07e96fc
    Add eth_call, allowing JsonNode to be passed directly to the RPC server Eric 2023-09-26 17:34:38 +10:00
  • c09ac02dab
    add gas into and remove type from replayed txs Eric 2023-09-26 15:33:17 +10:00
  • 11ff6cd98b
    Add TransactionType Eric 2023-09-25 17:25:52 +10:00
  • 7a0761930b
    try replay without decrementing block number Eric 2023-09-25 10:53:55 +10:00
  • 24f1f86dc9
    Update retreival of revert reason to send a populated transaction, add working test Eric 2023-09-22 20:00:21 +10:00
  • affaa2e621
    Add test to see if hardhat returns reason string (it doesn't) Eric 2023-09-22 12:05:47 +10:00
  • a6aeb7ec49
    add serialization for PastTransaction Eric 2023-09-21 19:05:01 +10:00
  • 35f80e78fe
    Add PastTransaction with serialization and tests, clean up revertReason fetching Eric 2023-09-21 17:51:59 +10:00
  • f52ce98c6d
    Revert Transaction.data being optional, add better deserialization for Transaction object Eric 2023-09-21 11:04:25 +10:00
  • 45959cf608
    debug logging Eric 2023-09-20 14:50:29 +10:00
  • 458e969397
    Make Transaction.data optional Eric 2023-09-20 13:09:23 +10:00
  • c39ce14502
    fix tests Eric 2023-09-19 15:00:29 +10:00
  • 7cba9bd9be
    prevent newHeads logs with no "data" field from killing sales state machine Eric 2023-09-19 14:57:53 +10:00
  • f3d4d1cb82
    add chronicles Eric 2023-09-14 17:12:01 +10:00
  • 6faab82ca9
    debugging: switch echo to trace Eric 2023-09-14 16:37:08 +10:00
  • a4fd152c8c
    Add replay for failed txs to get revert reason Eric 2023-09-13 16:09:15 +10:00
  • 9536e5e5bf
    more debug logging Eric 2023-09-12 17:00:34 +10:00
  • e93549dbc2
    temp debug info Eric 2023-09-12 14:39:17 +10:00
  • 7686ef4d1a
    include nonce in JsonRpcProviderError Eric 2023-09-11 16:55:17 +10:00
  • 9edb3d2fa7
    cleanup -- combine ensureNonceSequence into populateTransaction Eric 2023-10-25 10:36:05 +11:00
  • 28125532e1
    clean up Eric 2023-10-20 18:14:17 +11:00
  • e03cd484b6
    clean up Eric 2023-10-20 18:05:15 +11:00
  • e80cc11c48
    temp fix until revert reason fetching comes in Eric 2023-10-20 17:55:58 +11:00
  • 90022eeab6
    clean up from rebase Eric 2023-10-20 17:35:06 +11:00
  • d88158c99a
    PR feedback: remove auto-cancellation of failed transactions Eric 2023-10-20 17:14:12 +11:00
  • 1862c9eea6
    Only cancels transactions if nonce has been incremented since the last estimateGas failure Eric 2023-10-02 07:34:58 +03:00
  • 9ffc1763e4
    cancel transaction after estimateGas failure Eric 2023-09-27 17:44:16 +10:00
  • 7eac8410af
    prevent stuck transactions by async locking nonce sequencing (+ estimate gas) (#55) Eric 2023-10-25 10:42:25 +11:00
  • 14ead6d2b1
    cleanup -- combine ensureNonceSequence into populateTransaction Eric 2023-10-25 10:36:05 +11:00
  • e5290daf55
    clean up Eric 2023-10-20 18:14:17 +11:00
  • ff4dc5dfd7
    clean up Eric 2023-10-20 18:05:15 +11:00
  • 9cc34416e5
    temp fix until revert reason fetching comes in Eric 2023-10-20 17:55:58 +11:00
  • 5d83ca4178
    clean up from rebase Eric 2023-10-20 17:35:06 +11:00