Commit Graph

123 Commits

Author SHA1 Message Date
Theo 58a3e9b7c6 Update cache for all chains & fix gas limit estimation 2023-07-23 06:16:24 -07:00
Theo ac0ccbb787 Fix gas issues: add correct estimation for relayer withdrawal, add L1 fee fetching for Optimism, correct gas price estimation 2023-07-04 20:06:42 -07:00
Theo 7243803b21 Add correct fee estimation for relayer withdrawal transaction 2023-06-30 03:47:30 -07:00
Theo e92046a7ec Fix compliance, don't throw error if note isn't spent 2023-06-21 16:37:41 -07:00
Theo 78a357b164 Change IP lookup provider 2023-06-09 09:16:31 -07:00
Theo 518cb0fc77 Add Tornado Gnosis RPC 2023-05-31 05:14:02 -07:00
Theo 5cbc2a3914 Update events cache 2023-05-31 05:13:37 -07:00
Theo 0f70b58c78 Prettify 'compliance' command output: now deposit and withdrawal events load before compliance info printing 2023-05-19 22:04:53 +03:00
Theo d93603ff1e Fixate es5-ext version from npm 2023-05-19 22:03:44 +03:00
Theo 29c58b36af Update es5-ext dependency link: now users don't need git to resolve this dependency 2023-05-17 17:55:57 +03:00
Theo 721500d1a9 Fixate node version in .nvmrc 2023-05-17 13:59:21 +03:00
Theo 618554b226 Resolve all Tornado-libs dependencies via gitea npm registry 2023-05-17 13:36:43 +03:00
Theo 56c1d0a3be Update cache for all chains 2023-05-17 13:35:40 +03:00
Theo b9b660f462 Update all cache witn new script 2023-05-16 23:20:57 +03:00
Theo 6ffca591b0 Add Avalanche Tornado RPC as default 2023-05-16 22:19:02 +03:00
Theo 44a8b82b00 Add withdrawal address validation according to this issue: https://development.tornadocash.community/tornadocash/tornado-cli/issues/6 2023-05-16 18:00:35 +03:00
Theo 1082b382c2 Fixate version of es5-ext, because in new version is malicious payload: https://github.com/medikoo/es5-ext/issues/116 2023-05-16 17:17:50 +03:00
Theo eaa384397a Add script to update events cache 2023-05-16 16:39:10 +03:00
Theo e3220b8a9e Add instructions for default RPC usage 2023-05-16 15:43:37 +03:00
Theo 5dd1b14c1b Fix RPC link checking: it must starts with protocol (like ws or https), not includes, because because in this case, RPC sites that have these characters in name or in domain don't work correctly 2023-05-16 11:10:03 +03:00
Theo 2e20c1fbb6 Use default RPC while withdraw, if no RPC is provided 2023-05-15 14:35:17 +03:00
Theo cf359cad00 Remove non-existent token instance addresses, like 100 000 USDC on ETH mainnet 2023-05-14 10:49:33 +03:00
Theo 2186801877 Add to GasPriceOracle choice of the same RPC as in the Web3 current instance 2023-05-14 00:15:32 +03:00
Theo 8a31e9873d Move all the tokens for each network in the config into a separate sub-object, as in classic-ui, so that it is possible to iterate over them 2023-05-14 00:08:18 +03:00
Theo 38783848b5 Fix GasPriceOracle: provide to its constructor valid RPC, which user defined in startup parameters - now gas for goerli calculates correctly 2023-05-12 23:12:22 +03:00
Theo 16d9efa60c Fix commander arguments parser issue: now all parameters with hyphen processed correctly 2023-05-11 12:04:42 +03:00
Theo f000d0af36 Actualize README: change links, update RPC links 2023-05-10 19:05:15 +03:00
Theo 910643ab5e Add --private-key command argument so that users shouldn't have to save the private key in the clear in .env file 2023-05-10 18:49:59 +03:00
Theo e9fcc51dae Delete duplicate code in generateMerkleProof function - add computeDepositEventsTree call instead of a separate mapping in loop 2023-05-09 19:21:49 +03:00
Theodike b7929bd16c Fix accidentally changed comment 2023-04-22 19:20:44 +03:00
Theodike c9018546b9 Delete and reload corrupted event trees 2023-04-22 19:17:55 +03:00
Theodike 7e79c85bba Add command to check deposit tree root validity 2023-04-22 19:16:28 +03:00
Theodike 899dc634c0 Update cache for all chains with zero events 2023-04-17 08:12:05 +03:00
Theodike 2151b8c562 Add zero event direct to target block 2023-04-14 23:19:33 +03:00
Theodike 28e831802f Remove duplicate & unreachable code 2023-04-14 23:09:12 +03:00
Theodike 6115a09420 Adding zero events while syncing events tree 2023-04-14 23:07:02 +03:00
Theodike bbdf0fbea3 Remove duplicate function updateCache 2023-04-14 20:06:39 +03:00
Theodike 85c5bdc13f Apply prettier rules to cli.js 2023-04-14 20:02:05 +03:00
Theodike 90f9acd2ea Set semicolon as true in prettier config, because in cli.js semicolons are used 2023-04-14 19:52:44 +03:00
gozzy 2f82f4b3da gas speed param, fee printing & confirmation prompts 2023-03-26 09:20:32 +00:00
gozzy 4b4364e2fe depreciate browser support 2023-03-23 03:47:37 +00:00
gozzy f3ff636840 Merge pull request 'Update caches' (#2) from Theodike/tornado-cli:master into master
Reviewed-on: https://development.tornadocash.community/tornadocash/tornado-cli/pulls/2
2023-03-20 19:09:38 +00:00
Theodike ff79600e92 Update caches for popular chains 2023-03-20 20:59:17 +03:00
Theodike 7fbfa1a82b Update caches for all chains 2023-03-01 21:15:32 +03:00
Theodike b6c6fab87e Remove broken leafs in XDAI 100 deposits tree 2023-03-01 13:15:01 +03:00
gozzy cdee9c12fb parseNote command 2023-02-19 00:01:25 +00:00
gozzy b719843d50 update caches 2023-01-01 19:07:58 +01:00
gozzy c422ce172c remove yarn lockfile 2022-12-02 08:30:15 +00:00
gozzy b67665283f oracle legacy flag & improve fallback pricing 2022-12-02 08:16:35 +00:00
gozzy 997ad4fd09 refer to immutable dep ref & bump gas-price-oracle 2022-12-01 21:18:18 +00:00