drbeefsupreme
61e70c928b
squash! naive: l2 csv refactoring for readability
2022-03-24 19:12:54 -04:00
drbeefsupreme
b0cee44497
naive: l2 csv refactoring for readability
...
semantics should be unchanged
2022-03-24 18:20:31 -04:00
fang
3259f1f588
aqua: fix most tests
...
Small touch-ups to simulation behavior and ph tests. Most of them pass
now, even if they're still really slow at times.
The breach ones don't pass, but also complain of dangling bone, so might
work once the fix for that is in.
2022-03-23 22:19:35 +01:00
Philip Monk
17e237eae3
ted: remove unused -azimuth-tracker
2022-03-22 21:44:35 -07:00
drbeefsupreme
0786f62e8b
naive: l2 csv export csv file
...
passes to clay to ask it to write the csv to disk
2022-03-22 18:04:34 -04:00
drbeefsupreme
0f8ea20ac0
naive: l2 csv flatten data into list of tx
...
this takes all the gathered data and turns it into a list suitable for
transformation into a csv
2022-03-22 17:15:07 -04:00
yosoyubik
cf838fd1d7
roller: add batch-trimming functionality
...
If a batch gets bigger than a max size defined by the ethereum node
the raw transaction is sent to, the /ted/roller/send thread will crash and
the batch will be blocked, stopping any subsequent batches to be sent.
This detects when the current batch reaches a certain threshold and only
includes transactions up to that point, moving the ones that are not sent
back to the pending queue, adjusting their history and finding status.
2022-03-20 14:07:27 +01:00
drbeefsupreme
c304f62b34
naive: l2 csv all relevant data in one map
...
puts timestamps, gas costs, and rolls+their effects into one map
2022-03-17 17:16:09 -04:00
drbeefsupreme
5171ec367a
naive: l2 csv get naive effects
...
passing the event log to naive.hoon and harvesting the diffs
2022-03-17 14:13:54 -04:00
drbeefsupreme
bce1c9fe2a
squash! squash! naive: l2 csv - names for address, hash, blocknum
2022-03-17 12:51:54 -04:00
drbeefsupreme
01900b10d5
squash! naive: l2 csv - names for address, hash, blocknum
2022-03-17 12:25:30 -04:00
drbeefsupreme
8f1c9bbe66
naive: l2 csv - names for address, hash, blocknum
...
no semantic difference, just making the code more readable
2022-03-17 12:23:00 -04:00
fang
ba511525c7
ph: remove deprecated migration testing threads
2022-03-17 17:01:55 +01:00
drbeefsupreme
903394f00f
naive: l2 csv add roller address to collated data
2022-03-15 20:19:33 -04:00
drbeefsupreme
758138d397
naive: l2 csv first data collation
...
collects block number, gas prices, and timestamps into one structure.
not finished.
2022-03-15 20:05:25 -04:00
drbeefsupreme
674e872d47
naive: L2 csv swap lists to maps
...
was using lists in a few places where maps would be more appropriate.
should probably actually be ordered maps but this is wip
2022-03-15 19:11:54 -04:00
drbeefsupreme
d09fb0e9c4
naive: L2 tx csv gas price request
...
logic for requesting gas price by transaction hash implemented
2022-03-15 18:09:07 -04:00
drbeefsupreme
4a6a1e9a71
naive: L2 csv transaction receipts
...
gets transaction receipts for a list of hashes, does not parse them yet
2022-03-15 17:34:00 -04:00
drbeefsupreme
417dc513e0
squash! naive: L2 csv thread refactor filters
2022-03-15 15:11:32 -04:00
drbeefsupreme
28aa3c0e56
naive: L2 csv thread refactor filters
...
just some cleaning, no semantic difference
2022-03-15 15:09:46 -04:00
drbeefsupreme
4e76c7487e
naive: l2 csv thread initial commit: timestamps
...
scries %azimuth for logs.state, filters the L2 events, and then gets
their timestamps. ought to use ted/eth/get-timestamps but doesn't due to
issues with spawning child threads, but there's probably a way to do it
without child threads
2022-03-15 14:40:41 -04:00
ryjm
155729ec8b
%home -> %base
...
Mostly cosmetic, but also fixes `language-server` and parts of sundry
neglected components (the nix build for solid pills, aqua, gaze exports,
+help)
2022-03-06 11:55:55 -05:00
fang
2c5510db64
Merge branch 'jb/next-gen-term' into next/dill
...
Resolves a good number of conflicts. Most notably, re-propagates removal
of gall's %onto, confirms new /app/herm behavior, coerces hood/drum
state adapters back into place, and updates webterm to use the latest
api.
2022-01-24 14:50:16 +01:00
yosoyubik
0c9fc76b93
eth-watcher: fix zoom-margin to account for reorgs
...
The previous value—used for testing—didn't consider
block reorgs, which meant that if we zoom to the latest
block that has no transactions, but that gets later replaced
by a 1-block reorg that does have a transaction, we'll miss it,
making our Azimuth state incomplete.
To fix it, we rewind the Azimuth state to the contents of the snapshot,
and then start retrieving logs from the latest one we have.
2022-01-19 17:41:05 +01:00
yosoyubik
1bda134280
azimuth: update /app/azimuth snapshot
2021-12-15 08:31:26 +01:00
yosoyubik
d0309abfd8
roller: get suggested gas price only for mainnet
2021-12-14 15:44:43 +01:00
yosoyubik
fc540bf209
roller: handle sending malformed batches
2021-12-14 15:24:25 +01:00
yosoyubik
0c7ada2076
roller: fix response parsing from gasoracle
2021-12-13 19:16:47 +01:00
yosoyubik
92c498cd04
Merge branch 'naive/snapshot' into roller/gas-price
2021-12-10 18:42:55 +01:00
yosoyubik
f6dca03786
pill: restore solid pill
2021-12-10 16:19:59 +01:00
yosoyubik
f6ff4f108b
roller: add utilities for handling low-gas batches
...
This adds support for handling cases where the send-batch thread failed,
mainly among them, a thread crash. One of the events that causes this
behavior is a ver low gas price for this L1 transaction.
Here we add support for manually bumping the price for such transaction,
and for increasing the default fallback gas-price, together with discarding
any malformed batch from the sending queue.
2021-12-10 11:36:45 +01:00
yosoyubik
81eb6ae247
pill: add azimuth snapshot
2021-12-07 16:13:39 +01:00
yosoyubik
ad16155c77
azimuth: load azimuth state from state snapshot
2021-12-03 16:11:15 +01:00
yosoyubik
d5c44598ba
roller: refactor and clean up
2021-11-28 16:37:06 +01:00
Philip Monk
fae27385ff
eth-watcher: remove printfs
2021-11-16 14:47:17 -08:00
Philip Monk
681faa68e4
azimuth: send updates to jael
2021-11-08 21:56:47 -08:00
yosoyubik
54f6110f7a
Merge remote-tracking branch 'origin/master' into naive/roller
2021-11-08 07:25:55 +01:00
yosoyubik
fb5ab3edfd
roller: log batch tx hash
2021-11-07 10:01:15 +01:00
yosoyubik
07d5ddfe0c
roller: fix length for signatures in sending batch
2021-11-02 15:08:18 +01:00
Joe Bryan
e1a2eaf822
Merge pull request #5261 from DaneBettis/jb/dynamic-hint-template
...
vere: adds %bout hint, to time a hoon expression in nanoseconds
2021-10-27 16:09:17 -07:00
DaneBettis
9dce9359e5
vere: added %bout sanity checks, added bout call in test.hoon
2021-10-27 18:49:55 +00:00
fang
0ec3d5111d
Merge branch 'master' into naive/roller
2021-10-26 20:46:32 +02:00
fang
36cd69b6d0
Merge tag 'urbit-os-v2.100' into naive/roller
2021-10-26 17:08:03 +02:00
DaneBettis
6dcbb82f54
vere: altered %bout to use micro symbol, fixed comments
2021-10-20 19:07:41 +00:00
yosoyubik
5938f3569e
roller: add logic for fixing out-sync nonce
2021-10-02 08:44:37 +02:00
Hunter Miller
502f2e8a9c
Merge branch 'hm/btc-wallet-conflict-resolution' into ea/master-dist-deconflict
2021-09-27 18:55:45 -05:00
Ted Blackman
9aa8566a6e
-jam-all-desks
2021-09-26 22:03:13 -04:00
Joe Bryan
5385889ebd
Revert "Revert "Merge pull request #4463 from urbit/m/next-gen-term""
...
This reverts commit 3fba32185d
.
2021-09-24 23:14:55 -04:00
Joe Bryan
3fba32185d
Revert "Merge pull request #4463 from urbit/m/next-gen-term"
...
This reverts commit 39667fc071
, reversing
changes made to 698fd6f66f
.
2021-09-24 16:33:15 -04:00
Liam Fitzgerald
143a8e08e6
various: fix dependencies & tests
2021-09-17 14:51:19 +10:00
Joe Bryan
148779f4d4
Merge branch 'release/next-vere' into jb/next-gen-term
...
* release/next-vere: (67 commits)
pill: all
kh: improve code style
glob: update to 0v758lj.uf0s5.0nh3m.gunn6.942gj
Fix feepicker issues
Add exit buttons to invoices
Fix issue with change provider button not triggering modal
Fix scanning text issues
Fix enum, was breaking signer button
Fix imports in ExternalInvoice
glob: update to 0v4.e52ik.udm4j.6aus5.02b25.vomaj
btc-wallet: fix imports
aqua: assert pill type
Port BTC wallet to Typescript
Match edouard's designs
Add external (psbt) invoice
Fix copy from non-secure context issue
Use deSig for isPatp
Use deSig rather than concat
Add sig to valid patp in send component
Just show total main/change addresses scanned
...
2021-09-09 11:48:43 -04:00
yosoyubik
7c70ac954b
roller: add get-unspawned rpc
2021-09-01 11:01:39 +02:00
yosoyubik
f87658b1ad
roller: wip roller-cli client
2021-08-22 18:23:30 +02:00
ixv
5f56eb9a1b
Merge branch 'lf/aqua-revive'
2021-08-18 17:36:01 -07:00
yosoyubik
a97668e0e8
roller: rename aggregator to roller
2021-08-16 13:01:23 +02:00
Fang
da85ee2e38
Merge branch 'master' into m/next-gen-term
2021-08-12 15:15:36 +02:00
Ted Blackman
616ab66f26
merge master; loosen :hood's updates
2021-08-11 19:23:36 +03:00
yosoyubik
d559ad35bc
roller: clean up
2021-08-04 15:53:57 +02:00
Logan Allen
79e95e7989
group-leave: make it safer
2021-07-29 14:23:21 +00:00
Liam Fitzgerald
2e6057c952
landscape: update import/export tests
2021-07-26 15:22:16 +10:00
Matilde Park
8f27e2ae53
Merge branch 'release/next-userspace' into release/2021-7-22
2021-07-22 12:54:40 -04:00
Ted Blackman
50b50adade
landscape: version works again, fix gcp
2021-07-21 11:59:33 +03:00
Philip Monk
5996b3aa1e
Merge remote-tracking branch 'origin/master' into release/next-sys
2021-07-20 13:57:50 -04:00
Ted Blackman
05d0f0a6eb
landscape: adding files, not done yet
2021-07-18 23:11:45 +03:00
matildepark
2f94466419
Merge pull request #5091 from urbit/lf/md-edit
...
metadata-store: refactor, add %edit
2021-07-15 16:08:16 -04:00
matildepark
7dfa8d32a1
Merge pull request #5070 from urbit/lf/fix-hiddens
...
metadata-store: do not hide groups on creation, unhide all current groups
2021-07-12 20:49:30 -04:00
Liam Fitzgerald
a0ff5a5d28
-group-create: do not hide groups by default
...
Fixes urbit/landscape#1017
2021-07-13 10:11:58 +10:00
Liam Fitzgerald
16d9a0f35b
metadata-store: upgrade to mark v2
2021-07-09 14:17:00 +10:00
L
98ca90b8f7
Merge pull request #5031 from urbit/lf/fix-unsubscribe
...
-graph-leave: don't crash on inconsistent state
2021-07-02 16:30:17 -05:00
Fang
cb1a7cb76a
Merge branch 'm/multipass' into naive/preboot
2021-07-02 16:20:51 +02:00
Logan Allen
23869712ee
test/thread: make tests pass and all threads build
2021-06-24 11:28:26 -05:00
yosoyubik
5b317acca5
naive: use 10 gwei for fallback-gas-price
2021-06-24 16:38:54 +02:00
fang
2640a3352a
Merge branch 'master' into m/next-gen-term-real
2021-06-23 11:19:48 +02:00
raghu
5698e2662a
Merge remote-tracking branch 'upstream/master' into better-bar-fuse
2021-06-21 20:57:20 -04:00
Liam Fitzgerald
829fef1db4
-graph-delete: address L review
2021-06-21 10:25:48 +10:00
Liam Fitzgerald
110adcff56
-graph-leave: don't crash on inconsistent state
...
Fixes urbit/landscape#921
2021-06-18 16:26:24 +10:00
Liam Fitzgerald
ff2c7f8d68
ph: migrate tests to new api
2021-06-18 15:54:17 +10:00
Liam Fitzgerald
1aae4490b7
aqua: upgrade wire format in threads and generators
2021-06-17 16:53:49 +10:00
yosoyubik
33b9f76540
naive: account for raw-tx data size in gas limit
2021-06-15 07:22:55 +02:00
Liam Fitzgerald
9cbc218731
ted/glob: add exponential retry
...
Fixes urbit/urbit#4958
2021-06-15 07:58:02 +10:00
yosoyubik
4c4e0e70b8
naive: fix gas limit for l2 batch transaction
2021-06-14 17:21:57 +02:00
yosoyubik
e513768b90
naive: wip scale gas limit with roll size
2021-06-11 16:41:17 +02:00
Philip Monk
ee0141f5ab
btc-rpc: make build
2021-06-08 14:47:05 -10:00
raghu
6d4c9ab16f
work: fix argument
2021-06-07 22:54:26 -04:00
yosoyubik
5859642363
naive: pack tx in send thread in correct order
2021-06-05 13:56:42 +02:00
Logan Allen
06f2aedc72
graph-push-hook/thread: shave off 20ms from nest checks by getting rid of tmi problem with types
2021-06-03 13:19:33 -05:00
yosoyubik
52af4ad1c3
naive: remove unused batch-function hash
2021-06-01 14:09:48 +02:00
yosoyubik
520225056a
naive: send signature and raw tx for every tx in the roll
...
this assumes that the naive contract has a "fallback" function:
https://docs.soliditylang.org/en/v0.5.3/contracts.html#fallback-function
2021-05-29 14:57:57 +02:00
yosoyubik
8b51b526d3
naive: add get-next-nonce thread
2021-05-29 14:40:13 +02:00
yosoyubik
8851e52f45
naive: add eth-get-balance
2021-05-29 14:22:33 +02:00
ixv
332652e0d1
glob: generalize
2021-05-26 18:30:18 -07:00
Isaac Visintainer
d8f1e731e1
btc: post merge cleanup
2021-05-26 18:30:17 -07:00
yosoyubik
766e2ab610
naive: capture rpc errors when sending l2 batches
2021-05-22 08:10:30 +02:00
yosoyubik
937cc2ce44
naive: add aggregator sur
2021-05-21 15:07:08 +02:00
yosoyubik
5862aa07ce
naive: wip aggregator send thread
2021-05-21 12:16:57 +02:00
fang
719ff8b442
Merge branch 'master' into m/next-gen-term
...
Notably includes some changes to webterm's app.tsx that are required to
keep it functioning correctly. As of yet unclear why exactly this is
necessary, presumably hook shenanigans triggered by recent-ish changes.
2021-05-15 00:21:06 +02:00
fang
9b62454bca
naive: wip aggregator
...
Includes logic for the core flow, but isn't fully hooked up to outside
sources/events yet. Probably doesn't compile. Plenty of TODOs remaining.
2021-05-13 17:21:35 +02:00
Philip Monk
b1091d0e98
Merge remote-tracking branch 'origin/master' into philip/naive
2021-04-28 20:30:07 -07:00
Logan Allen
d5ed85efa8
Merge branch 'master' into la/ref-trans-graph
2021-04-28 12:53:06 -05:00
Philip Monk
781cdf3960
naive: alter signatures to match personal_sign
2021-04-27 17:26:34 -07:00