Commit Graph

151 Commits

Author SHA1 Message Date
6137e1328a Calculate gas for deposit & withdrawal transactions via fee oracle instead of web3 naive methods 2023-08-28 13:19:01 -07:00
879c8549e6 Update tornado-oracles package to fix gas price issues for sidechains & specify explicit node version in .nvmrc 2023-08-28 04:19:45 -07:00
d10ea812db Fix saving bloom to IDB for sidechains & clarify logs for encrypted notes account loading 2023-08-28 02:54:44 -07:00
9210330208 Change gas & fees calculations:
- Use @tornado/tornado-oracles lib to calculate withdrawal fee via relayer
	- When calculating fee, save backwards compatibility for Ethereum Mainnet V4 relayers & old UI builds
	- Bump UI version to 1.2.0
	- Display most up-to-date information about relayer withdrawal fees on WithdrawalTotal page
2023-08-27 12:30:31 -07:00
fb0a5131f4 Update events & trees 2023-08-27 12:29:42 -07:00
d16449bcf8 Rename 'gasPrices' scope to 'fees', and use it to estimate all network withdrawal fee 2023-08-22 09:23:18 -07:00
d9ae37ebb2 Change relayer version validating to save backwards compatibility with on Ethereum Mainnet with old Tornado versions 2023-08-22 09:01:54 -07:00
7db929cc8c Make token price api faster & easier via lib @tornado/tornado-oracles 2023-08-21 10:22:17 -07:00
50d917a33e Update relayer version checks 2023-07-25 03:45:42 -07:00
c4b5f69b72 Add correct gas bumping parameters and fix limit estimation 2023-07-21 21:17:16 -07:00
cf394714c3 Remove unused Alchemy keys & censored Infura links 2023-07-18 23:55:42 -07:00
1d60b4016e Fix events loading on very fast chains like Avalanche or Gnosis, where web3 provider method 'getBlockNumber' can return not accepted block 2023-07-18 23:45:12 -07:00
491bcec983 Fix endless withdrawals events loading when notes saved locally or in encrypted account 2023-07-18 23:43:56 -07:00
56c88f9fa8 Enable encrypted notes for all chains & udpate caches 2023-07-18 21:15:47 -07:00
122d28789b Remove empty instances 2023-07-17 15:55:46 -07:00
e626a51297 Enable goerli events syncing 2023-07-17 14:55:14 -07:00
8379696a92 Change old links & addresses 2023-07-14 11:33:54 -07:00
08810722f0 Bump gas-price-oracle to fix sidechains gas stations error, update UI version to 1.1.0 2023-07-14 11:32:27 -07:00
bc2e1d47e1 Merge pull request 'PR #2: allow setting sync interval for blocks' (#26) from AlienTornadosaurusHex/classic-ui:master into master
Reviewed-on: #26
2023-07-14 20:09:37 +02:00
AlienTornadosaurusHex
9e3861c56f enable avax
Signed-off-by: AlienTornadosaurusHex <>
2023-07-04 18:25:01 +00:00
AlienTornadosaurusHex
03543f87a8 update README
Signed-off-by: AlienTornadosaurusHex <>
2023-07-04 18:20:44 +00:00
AlienTornadosaurusHex
02f79a0de0 allow setting sync interval for blocks
Signed-off-by: AlienTornadosaurusHex <>
2023-07-04 13:57:33 +00:00
ed107528a2 Fix gas price calculations issues, now all gas prices are stored in wei, and priority for mainnet/sidechains should be different 2023-07-03 06:47:25 -07:00
590c0651cb Resolve Tornado-lib via self-hosted independent gitea npm registry 2023-07-03 03:16:54 -07:00
311f6ebc85 Estimate gas limit for withdrawal transaction via relayer correctly 2023-07-03 03:13:14 -07:00
6130c46d90 Merge pull request '#PR1: classic-ui: Prefix static caches with network id and code quality' (#25) from AlienTornadosaurusHex/classic-ui:master into master
Reviewed-on: #25
2023-06-27 13:53:49 +02:00
AlienTornadosaurusHex
62f079608e hopefully fix rest of issues with netId addition
Signed-off-by: AlienTornadosaurusHex <>
2023-06-23 17:00:40 +00:00
AlienTornadosaurusHex
2cc751f9d2 set proper names for indexed db stores
Signed-off-by: AlienTornadosaurusHex <>
2023-06-22 22:00:36 +00:00
AlienTornadosaurusHex
2623117f17 create file if reading and not exist
Signed-off-by: AlienTornadosaurusHex <>
2023-06-22 20:39:28 +00:00
AlienTornadosaurusHex
2e96df3b7f move tornado rpc to top
Signed-off-by: AlienTornadosaurusHex <>
2023-06-22 15:07:58 +00:00
AlienTornadosaurusHex
7342d41faf Merge branch 'master' of https://git.tornado.ws/tornadocash/classic-ui 2023-06-22 15:07:03 +00:00
22a372fae1 Update docs & redirect link, add Tornado RPC to all chains 2023-06-13 05:57:35 -07:00
1f24d46360 Fix proposal naming & editing: remove crutch code, validate JSON in proposal 15 directly, add title to empty hacker proposal 21 2023-06-08 23:52:55 -07:00
59c252b826 Eslint fix 2023-06-08 23:49:14 -07:00
3f04b9392a Change links to actual 2023-06-04 12:41:27 -07:00
6ec1a509cf Change Tornado dependencies source to Tornado Git registry 2023-06-04 09:05:53 -07:00
0d700118d6 Change staking contract address after proposal 22 execution 2023-06-04 09:04:56 -07:00
AlienTornadosaurusHex
03462c0a41 updateEvents: improve script
Signed-off-by: AlienTornadosaurusHex <>
2023-05-19 17:57:10 +00:00
AlienTornadosaurusHex
937c221e22 allow any token events to be updated
Signed-off-by: AlienTornadosaurusHex <>
2023-05-18 22:26:08 +00:00
AlienTornadosaurusHex
2fbd860f51 networkConfig: keep default export separate to not break UI
Signed-off-by: AlienTornadosaurusHex <>
2023-05-16 15:25:03 +00:00
AlienTornadosaurusHex
ad0d1391dc static cache should be prefixed by network
Signed-off-by: AlienTornadosaurusHex <>
2023-05-12 22:19:58 +00:00
e49e3e0c0d Update cache for all available chains 2023-05-09 23:41:49 +03:00
ed422786c0 Improve logging when updating events 2023-05-09 23:41:03 +03:00
9d1f66eec0 Add unarchived .json event files to gitignore 2023-05-09 23:36:54 +03:00
gozzy
a8c238c2af correct proposeByDelegate support 2023-04-16 02:36:20 +00:00
gozzy
eb59acd319 event promise chaining 2023-04-16 02:30:43 +00:00
gozzy
322184baf8 update rpcs 2023-04-13 00:35:17 +00:00
gozzy
b492ef6e20 increase relayer minimum stake balance 2023-04-11 19:47:02 +00:00
gozzy
4ecde79c86 proposeByDelegate support 2023-03-23 03:03:21 +00:00
gozzy
2b61afbafe improve rpc rate-limit conditions 2023-03-22 20:50:13 +00:00