Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2642 commits
Select commit Hold shift + click to select a range
02e15f3
chore: normalize `router_opts` node message key
samcamwilliams Aug 9, 2025
a05dcf4
Merge branch 'feat/opts-file-ext-to-device' into edge
samcamwilliams Aug 9, 2025
91cf739
fix: support path regex's that start with the `^` symbol appropriately
samcamwilliams Aug 9, 2025
70ff5ee
fix: mimic node message types for route-specific `Opts`
samcamwilliams Aug 9, 2025
9addc1c
Revert "temp: Store messages primarily by their signed ID"
samcamwilliams Aug 9, 2025
134aa9e
Merge pull request #415 from permaweb/revert-412-temp/separated-messages
samcamwilliams Aug 9, 2025
a23d7bc
Merge pull request #416 from permaweb/fix/misc-router
samcamwilliams Aug 9, 2025
3e319f6
fix: Forward `request` message from `~auth-hook@1.0` request execution
samcamwilliams Aug 10, 2025
3066f32
Merge pull request #417 from permaweb/fix/auth-hook-forward-req
samcamwilliams Aug 10, 2025
31ae6a6
impr: return error details in AO-Core form when client accepts bundles
samcamwilliams Aug 11, 2025
5cdedf2
chore: cherrypick improved trace filtering
samcamwilliams Aug 11, 2025
1154b42
impr: only show `[*]` specifier for native IDs in debug formats
samcamwilliams Aug 11, 2025
453858c
chore: add `alg` parsing test
samcamwilliams Aug 11, 2025
c7f2399
wip: encode nested `siginfo` fields correctly in bundled `~httpsig@1.0`
samcamwilliams Aug 11, 2025
2395d6f
fix: support inner bundled ans104 over httpsig.
samcamwilliams Aug 12, 2025
0855987
chore: add relay ANS-104 message test
samcamwilliams Aug 12, 2025
ffb9f51
chore: remove unhelpful specific error logging
samcamwilliams Aug 12, 2025
07cb9b5
chore: `Opts` fixes
samcamwilliams Aug 12, 2025
58ab597
chore: remove errant `?hr()` calls and disable test for non-supported…
samcamwilliams Aug 12, 2025
6d9351d
chore: grant new HTTP servers with no `store` one from `hb_test_utils`
samcamwilliams Aug 12, 2025
216a7f4
Merge pull request #418 from permaweb/impr/ans104-in-hsig
samcamwilliams Aug 12, 2025
80d11b8
fix: get bare message keys in `hb_http` request preparation
samcamwilliams Aug 12, 2025
fe07089
chore: add remote store access to `~relay@1.0` ANS-104 test
samcamwilliams Aug 12, 2025
c19c555
chore: slightly improve debugging output readability
samcamwilliams Aug 12, 2025
661db4a
fix: debug print format missing Opts
parthks Aug 12, 2025
3092c4b
wip: remote store read
samuelmanzanera Aug 12, 2025
483fddd
chore: cleanup
samcamwilliams Aug 12, 2025
993559c
impr: ensure that newly generated test stores are started in `hb_http…
samcamwilliams Aug 12, 2025
4007476
chore: move test to `hb_examples`
samcamwilliams Aug 12, 2025
498ee7b
Merge pull request #420 from permaweb/test/remote-scheduler-store
samcamwilliams Aug 12, 2025
e4f73ee
chore: Only wallet address will be printed if we print a wallet
Lucifer0x17 Aug 12, 2025
cc16266
chore: fixed the atom value getting lost as we were ignoring it
Lucifer0x17 Aug 12, 2025
e624c15
fix: HTTP error responses
samcamwilliams Aug 12, 2025
9c512fe
impr: format error handling and address presentation
samcamwilliams Aug 12, 2025
cbf3ddb
Merge pull request #421 from permaweb/fix/format-issues
samcamwilliams Aug 12, 2025
5cc7318
test: ToParam to ToParam/binary
PeterFarber Aug 12, 2025
eebda2a
Update dev_scheduler.erl
twilson63 Aug 12, 2025
3632332
Merge pull request #422 from permaweb/test/to-as-bin
twilson63 Aug 12, 2025
2cd0d2e
chore: Update default gateway stores to include `local-store` key
samcamwilliams Aug 12, 2025
89a9d0d
Merge pull request #424 from permaweb/fix/gateway-local-store
twilson63 Aug 12, 2025
13f5f5d
fix: ensure that messages emitted from `~json@1.0` correctly encode l…
samcamwilliams Aug 13, 2025
d3b9302
Merge pull request #425 from permaweb/fix/json-list-to-tabm
samcamwilliams Aug 13, 2025
6559df3
fix: correctly match Arweave timestamp ordering in `~scheduler@1.0` call
samcamwilliams Aug 13, 2025
60bf663
chore: remove redundant `ar_timestamp` mode check. `hb_client` does i…
samcamwilliams Aug 13, 2025
6d291fb
fix: JSON decoding of prod timestamps; hash encoding in debug mode
samcamwilliams Aug 13, 2025
877ce42
Merge pull request #426 from permaweb/fix/scheduler-block-hash-encoding
samcamwilliams Aug 13, 2025
1d23adc
init: extracted formatting from`hb_utils` to `hb_formatter`
Lucifer0x17 Aug 13, 2025
b767bfa
refactor: update func calls to use `hb_formatter` module from `hb_util`
Lucifer0x17 Aug 13, 2025
712761c
wip: using accept-codec to delegate to device
samuelmanzanera Aug 13, 2025
84b0bdc
chore: moved formatting from `hb_message` to `hb_formatter`
Lucifer0x17 Aug 13, 2025
e3c63eb
refactor: update func calls to use `format_msg` from `format` in hb_msg
Lucifer0x17 Aug 13, 2025
0368e37
fix: List formatting issues when printing list of tuples.
Lucifer0x17 Aug 13, 2025
04fc83c
fix: encode and remove lists from extra headers
parthks Aug 13, 2025
43c4184
impr: check if codec device is valid
parthks Aug 13, 2025
86d00d7
chore: added a proper documentation for the formatter
Lucifer0x17 Aug 13, 2025
8cae3ed
chore: fix formatting style
parthks Aug 13, 2025
cd13b45
fix: Correctly remove snapshots from process state results
samcamwilliams Aug 13, 2025
382412f
chore: event group name
samcamwilliams Aug 13, 2025
9a6cd66
Merge pull request #430 from permaweb/fix/normalize-snapshot
samcamwilliams Aug 13, 2025
18c0a69
fix: move utility functions
samcamwilliams Aug 13, 2025
3261f6f
chore: refactor
samcamwilliams Aug 13, 2025
516b642
wip: `logger` compatible HyperBEAM-specific formatter
samcamwilliams Aug 13, 2025
02457ba
Revert "wip: `logger` compatible HyperBEAM-specific formatter"
samcamwilliams Aug 14, 2025
a0aed0a
Merge pull request #428 from permaweb/impr/formatter
samcamwilliams Aug 14, 2025
2b3aea2
Merge remote-tracking branch 'refs/remotes/origin/edge'
parthks Aug 14, 2025
373b0ea
fix: 500 error format json encoding
parthks Aug 14, 2025
4480b42
fix: prioritize base headers over extra headers
samuelmanzanera Aug 14, 2025
7d9847f
fix: convert structured to json instead of tabm
samuelmanzanera Aug 14, 2025
cb63356
chore: revert PR #323 while awaiting PR #387
samcamwilliams Aug 15, 2025
60c7c1c
chore: revert PR #322 while awaiting PR #387
samcamwilliams Aug 15, 2025
e4e120e
chore: re-apply fix patches to `~ans104@1.0`
samcamwilliams Aug 15, 2025
860f612
temp: disable ID-in-tag-name tests for `~ans104@1.0` temporarily
samcamwilliams Aug 15, 2025
9987614
wip: fix `~ans104@1.0` with bundling
samcamwilliams Aug 15, 2025
5e9f42e
fix: encode nested message parts in `~ans104@1.0`
samcamwilliams Aug 15, 2025
bc5e5ee
wip: fix ans104 bundles
samcamwilliams Aug 15, 2025
3832daf
wip: refactor decoding step from ANS-104 data items
samcamwilliams Aug 16, 2025
e08b86e
wip: refactor encoding step to ANS-104 data items
samcamwilliams Aug 16, 2025
ff808fb
wip: refactor ANS-104 decode step
samcamwilliams Aug 17, 2025
e41bde2
fix: find `data` from TABM, not the nested messages
samcamwilliams Aug 17, 2025
1d2cd6f
wip: data key issues
samcamwilliams Aug 17, 2025
0673dec
wip: rename submodules
samcamwilliams Aug 17, 2025
53a4ec4
fix: add data key correctly
samcamwilliams Aug 17, 2025
0c2e3b2
chore: tidy up helper functions
samcamwilliams Aug 17, 2025
0ae5011
chore: improve `target` key testing infrastructure
samcamwilliams Aug 17, 2025
3a16e74
fix: handle target in tags and fields separately
samcamwilliams Aug 17, 2025
ec24a4a
wip: re-enable ans-104 bundle tests
samcamwilliams Aug 17, 2025
f45641d
impr: pass `Opts` to `ar_bundles:format`; allow skipping verification
samcamwilliams Aug 18, 2025
46eea64
fix: remove `bundle-map` tag
samcamwilliams Aug 18, 2025
781ca98
impr: disabled ID verification prints in `ar_bundles`
samcamwilliams Aug 18, 2025
03f354a
impr: remove preceding whitespace in list and record item prints
samcamwilliams Aug 18, 2025
c9beec0
wip: exclude data fields from tags
samuelmanzanera Aug 18, 2025
f1aa04f
chore: tidy `~ans104@1.0/to`
samcamwilliams Aug 18, 2025
260cdc6
fix: remove errant `~json-iface@1.0` ANS-104 call
samcamwilliams Aug 18, 2025
ec26437
fix: `bundle` commitment key type coercion
samcamwilliams Aug 18, 2025
b484aae
impr: attempt to place target into field if no commitment found in an…
samcamwilliams Aug 18, 2025
62ac5cf
chore: tidying and tests
samcamwilliams Aug 18, 2025
1bf93eb
fix: `target` placement for signature generation
samcamwilliams Aug 19, 2025
019eaed
feat: Rich querying of HyperBEAM stores
samcamwilliams Aug 19, 2025
233b21b
chore: remove unnecessary test
samcamwilliams Aug 19, 2025
f5a8d64
Merge pull request #437 from permaweb/feat/query@1.0
samcamwilliams Aug 19, 2025
bf29368
wip: hacky graphql schema and implementation for `~query@1.0`
samcamwilliams Aug 19, 2025
adb9237
wip: remove duplicate top level data key
parthks Aug 19, 2025
e545b5d
fix: serialize binary payload in bundle
parthks Aug 19, 2025
df0b631
feat: enhance graphql implementation with proper parameter handling
Lucifer0x17 Aug 19, 2025
3d0aa0e
test: add GraphQL query test with variables support
Lucifer0x17 Aug 19, 2025
2ae6299
test: add GraphQL query test without operation name
Lucifer0x17 Aug 19, 2025
8cc3298
refactor: clean up code implementation and indentation
Lucifer0x17 Aug 19, 2025
a91d848
wip: refactor; add Arweave TX standard schema
samcamwilliams Aug 19, 2025
3f0ff69
chore: correct test format
samcamwilliams Aug 19, 2025
ad93d4a
wip: add schema; tidy test setup
samcamwilliams Aug 20, 2025
3cebc08
fix: parse non-data keys outside of data key
parthks Aug 20, 2025
96fc515
impr: follow naming conventions
parthks Aug 20, 2025
bec3db0
chore: skip ans104 to check bundle and unbundle ids difference
samuelmanzanera Aug 20, 2025
11ad0e5
chore: reactivate others codecs in tests
samuelmanzanera Aug 20, 2025
86e817c
wip: Support Arweave transaction filters
samcamwilliams Aug 20, 2025
1a50aa0
wip: partial Arweave graphql query compatibility
samcamwilliams Aug 20, 2025
5e8fc81
chore: re-enable bundled_and_unbundled_ids_differ_test for ans104
JamesPiechota Aug 20, 2025
9ca9b3b
chore: test store isolation in `~json-iface@1.0` test
samcamwilliams Aug 20, 2025
e295bed
fix: ensure keys in ao-types fields are transformed like other ans104…
JamesPiechota Aug 20, 2025
4fe7e7e
feat: MVP partial Arweave GQL implementation
samcamwilliams Aug 20, 2025
096c520
impr: handle raw JSON body key in `graphql` handler
samcamwilliams Aug 21, 2025
22b6797
fix: normalize binary path generation
samcamwilliams Aug 21, 2025
a17e6f6
chore: add `graphql_erl` to `rebar.config`
samcamwilliams Aug 21, 2025
bdf3d36
feat: add `~copycat@1.0` -- a basic indexer that crawls graphql results
samcamwilliams Aug 21, 2025
5420a84
fix: rename links from committed keys if they have been resolved
parthks Aug 21, 2025
5ae3295
chore: isolate test stores
samcamwilliams Aug 21, 2025
1d0103a
wip: simplify nested bundles in `ans104`
samcamwilliams Aug 21, 2025
943c2d5
impr: simplify `ans104/from` data parsing
samcamwilliams Aug 21, 2025
d859cae
chore: tidy `ar_bundles.erl` comments and logical flow
samcamwilliams Aug 21, 2025
fa2ae4a
wip: choose key location based on ANS-104 sorting rules; fix JSON ifa…
samcamwilliams Aug 21, 2025
e6d2e0c
chore: `throw` on attempt to encode `~ans104@1.0` with too many keys
samcamwilliams Aug 21, 2025
936c04d
Merge pull request #441 from permaweb/fix/ans104-bundles
samcamwilliams Aug 21, 2025
80b7d43
impr: search `LinkOpts` for `scope` element before finding stores
samcamwilliams Aug 22, 2025
56398cd
fix: `~manifest@1.0` implementation
samcamwilliams Aug 22, 2025
1bd643e
chore: tidy call in `~meta@1.0`
samcamwilliams Aug 22, 2025
2bfc0f0
Merge pull request #442 from permaweb/feat/manifest-support
samcamwilliams Aug 22, 2025
09ca62e
impr: added additional gql route
Aug 22, 2025
ac96349
feat: introduces `multirequest` admissibility filtering based on admi…
samcamwilliams Aug 22, 2025
086abc9
feat: multirequest across multiple GQL endpoints upon empty response
samcamwilliams Aug 22, 2025
8aac099
Merge pull request #445 from permaweb/impr/routes-gql
twilson63 Aug 22, 2025
4cb8846
Merge remote-tracking branch 'hyperbeam-main/edge' into feat/graphql
samcamwilliams Aug 23, 2025
54172e7
fix: return correct tuple format from cowboy handler
VanshSahay Aug 25, 2025
3f5e153
fix: resolve query matching issue and add tags filter test
Lucifer0x17 Aug 25, 2025
8292232
feat: add comprehensive GraphQL transactions query tests and fix mat…
Lucifer0x17 Aug 25, 2025
ea549de
Merge branch 'feat/graphql' of https://github.com/permaweb/HyperBEAM …
Lucifer0x17 Aug 25, 2025
c461000
Merge branch 'edge' into fix/accept_codec
twilson63 Aug 25, 2025
d3f766b
Feat: aded support for transaction query
Lucifer0x17 Aug 25, 2025
123c6f3
feat: support all non-block/bundle return types of legacy GQL
samcamwilliams Aug 25, 2025
1bda95d
chore: add `anchor` return-type test
samcamwilliams Aug 25, 2025
e5c1a73
fix: `hb_message:commitments` passes full message to `:commitment`
samcamwilliams Aug 25, 2025
ac1cfe6
chore: move GQL query tests to separate module
samcamwilliams Aug 25, 2025
fa21e37
Merge pull request #429 from permaweb/fix/accept_codec
twilson63 Aug 25, 2025
86616a1
fix: do not return full `data` or `body` elements in GQL response
samcamwilliams Aug 25, 2025
6784c38
Merge pull request #447 from permaweb/feat/graphql
samcamwilliams Aug 25, 2025
34b4279
feat: add dryrun codepath for post computes
jfrain99 Aug 12, 2025
21a14fb
fix: do not allow manual owner on req to be passed
jfrain99 Aug 12, 2025
31e6576
feat: `~process@1.0/as` key
samcamwilliams Aug 12, 2025
fbedcaf
feat: add type "assignment" to assignments generated in scheduler server
jfrain99 Aug 13, 2025
29bcf96
revert: pass empty binary as owner if no signers
jfrain99 Aug 13, 2025
2e6a4b8
feat: dryrun when no assignment
jfrain99 Aug 13, 2025
3ae4cbf
chore: clean up genesis wasm tests
jfrain99 Aug 13, 2025
47c36b9
revert: remove post_compute from dev_process
jfrain99 Aug 13, 2025
3585bed
fix: update delegated_compute event
jfrain99 Aug 13, 2025
82ea6d5
feat: remove commitments before sending dryrun to cu
jfrain99 Aug 14, 2025
b4d0aaa
feat: add hmac to tabm if no commitments
jfrain99 Aug 14, 2025
a1c44dc
Revert "feat: add hmac to tabm if no commitments"
jfrain99 Aug 14, 2025
165d488
fix: improve genesis_wasm tests and add dryrun test
jfrain99 Aug 14, 2025
8a431cf
chore: tidying
samcamwilliams Aug 15, 2025
a0600d7
impr: `~copycat@1.0` query parsing usability
samcamwilliams Aug 26, 2025
30f5883
fix: anchor and target encoding to match existing Arweave GQL schema
samcamwilliams Aug 26, 2025
89aaac2
impr: JSON encoding uses native types; correctly bundles data
samcamwilliams Aug 26, 2025
5328626
fix: borked error formatting
samcamwilliams Aug 26, 2025
f614c01
impr: timeout and abort for scheduler requests
samcamwilliams Aug 26, 2025
bc20266
impr: expose path-to-message parser in `hb_singleton`
samcamwilliams Aug 26, 2025
0c7d663
fix: `hb_message:match` wildcard behavior
samcamwilliams Aug 26, 2025
a0d2369
chore: cleanup
samcamwilliams Aug 26, 2025
3cdf5a3
chore: miscellaneous cleanup
samcamwilliams Aug 26, 2025
48f1129
wip: decode HTTP inbound based on `content-type`
samcamwilliams Aug 26, 2025
d5a0fc6
Merge pull request #448 from permaweb/misc/content-type-decoding-and-…
samcamwilliams Aug 26, 2025
3689dae
fix: a verification issue with ans104
JamesPiechota Aug 26, 2025
372dbd4
Merge pull request #449 from permaweb/fix/ans104-field-tag-ordering-2…
samcamwilliams Aug 26, 2025
6db1500
Merge branch 'edge' into feat/dryrun-genesis-wasm
samcamwilliams Aug 26, 2025
3edcd47
fix: catch error on patch result call in dev_genesis_wasm
jfrain99 Aug 26, 2025
a98026f
fix: catch error on patch result call in dev_genesis_wasm
jfrain99 Aug 26, 2025
19c468a
Merge pull request #423 from permaweb/feat/dryrun-genesis-wasm
samcamwilliams Aug 27, 2025
08a42fa
wip: re-organize message key constraining on write
samcamwilliams Aug 22, 2025
ae23bbd
chore: remove left-over `debug` event group calls
samcamwilliams Aug 22, 2025
714453e
fix: use `hb_maps` where necessary in HTTP flow; give more helpful AO…
samcamwilliams Aug 22, 2025
221f3ec
wip: use `~eval@1.0/pair` in relayed request, such that the user path…
samcamwilliams Aug 22, 2025
553ac0a
impr: separate user base message from user path, such that path can b…
samcamwilliams Aug 23, 2025
463ff36
impr: link formatting in output
samcamwilliams Aug 24, 2025
458b3bd
fix: add slot key for cached scheduled assignments
parthks Aug 26, 2025
40c1486
wip: Sourcing of message to assign in `~scheduler@1.0`
samcamwilliams Aug 26, 2025
e746e1e
Revert "wip: Sourcing of message to assign in `~scheduler@1.0`"
samcamwilliams Aug 27, 2025
7975b0c
Merge branch 'impr/cache-isolation' into edge
samcamwilliams Aug 27, 2025
1d579b1
feat: Allow logging with AO-Core stacktraces
samcamwilliams Aug 27, 2025
0d14180
Merge pull request #450 from permaweb/feat/ao-trace-logging
samcamwilliams Aug 27, 2025
cb4b379
chore: event groups
samcamwilliams Aug 27, 2025
a182bf7
impr: `~apply@1.0` API and usability
samcamwilliams Aug 27, 2025
c9a671a
fix: use direct key access in hb_http
samcamwilliams Aug 27, 2025
3a3b975
fix: remove source resolution if it contains a path
samcamwilliams Aug 28, 2025
b08f9d7
Merge pull request #451 from permaweb/impr/apply@1.0
samcamwilliams Aug 28, 2025
d5f9ba7
impr: Always print commitments at the top of message formatter outputs
samcamwilliams Aug 28, 2025
e28f98e
fix: store LN schedules in raw form; normalize them on read from cache
samcamwilliams Aug 28, 2025
0f3774c
Merge pull request #453 from permaweb/impr/format-comm-ordering
samcamwilliams Aug 28, 2025
2e63962
Merge pull request #454 from permaweb/fix/store-ln-schedules-raw
samcamwilliams Aug 29, 2025
361e472
impr: explicit map parsing in HTTP messages; multi-tag search in copycat
samcamwilliams Aug 29, 2025
3963bac
impr: `ensure_loaded` supports loading `{Status, _}`-format responses
samcamwilliams Aug 29, 2025
8b96ed6
Merge pull request #455 from permaweb/feat/copycat-query-maps
samcamwilliams Aug 29, 2025
4c6aa97
wip: refactor `is-admissible` in `hb_gateway_client`
samcamwilliams Aug 29, 2025
805e0b6
fix: node process tests must use isolated stores
samcamwilliams Aug 29, 2025
8ba0657
chore: ensure all loaded before match in `~router@1.0`
samcamwilliams Aug 29, 2025
504bcbd
feat: Appropriately support price calculation from `~apply@1.0` subreqs
samcamwilliams Aug 29, 2025
3ce24c0
fix: Do not encode body or data in headers during `accept`-mediated r…
samcamwilliams Aug 29, 2025
ffa264c
fix: find GQL result in `request` rather than base in `~query@1.0/has…
samcamwilliams Aug 29, 2025
e85cde8
Merge pull request #456 from permaweb/impr/normalize-is-admissible
samcamwilliams Aug 29, 2025
88f733f
chore: add scheduler-location event group
samcamwilliams Aug 29, 2025
d1dffe9
chore: remove errant debug `x` group
samcamwilliams Aug 29, 2025
51a46dc
chore: add remote store event groups
samcamwilliams Aug 29, 2025
6ad8ccc
chore: partial fix of failing `genesis_wasm` test
samcamwilliams Aug 29, 2025
eae97b8
Merge pull request #457 from permaweb/chore/tidy-event-groups
samcamwilliams Aug 29, 2025
9ec81c3
fix: Empty Lua tables are messages in AO; misc. Lua fixes
samcamwilliams Sep 1, 2025
e137b22
Merge pull request #459 from permaweb/fix/lua-empty-tables
samcamwilliams Sep 1, 2025
b84fccc
wip: remote gateway peer test
samcamwilliams Aug 30, 2025
bf596aa
wip: do not get data from `/raw` gateway endpoint if size is zero
samcamwilliams Aug 30, 2025
24bf089
impr: callers of `write_location` verify scheduler locations, not int…
samcamwilliams Aug 31, 2025
297ddcc
chore: `scheduler_location` events
samcamwilliams Aug 31, 2025
ad3a054
impr: cache remote peer results in `hb_store_gateway` as well as `rem…
samcamwilliams Aug 31, 2025
d3807a2
chore: normalize pseudo-paths in `~scheduler@1.0` cache
samcamwilliams Aug 31, 2025
d1d3eb8
chore: further event group naming fixes
samcamwilliams Aug 31, 2025
ca2b3c2
impr: fallback from `~ans104@1.0` decoding to httpsig if outbound res…
samcamwilliams Aug 31, 2025
782b100
Merge pull request #446 from VanshSahay/bug/http_format
samcamwilliams Sep 1, 2025
4be8186
Merge pull request #458 from permaweb/impr/gateway-peer-reads
samcamwilliams Sep 1, 2025
27f0513
feat: implement Arweave block and TX endpoints
samcamwilliams Sep 2, 2025
241084a
feat: implement Arweave block indexer in `~copycat@1.0`; refactor ccat.
samcamwilliams Sep 2, 2025
094bc5d
chore: misc clean-up
samcamwilliams Sep 2, 2025
322810c
wip: GraphQL requests interpreted as 'AND' rather than 'OR' operations
samcamwilliams Sep 2, 2025
8646a62
wip: block query support
Lucifer0x17 Sep 2, 2025
abb536b
wip: block filtering
samcamwilliams Sep 2, 2025
98978c3
feat: support block-by-id lookup
samcamwilliams Sep 3, 2025
267df0f
feat: support block range queries
samcamwilliams Sep 3, 2025
1235f59
fix: filter types are `AND` not `OR`. Needs perf work.
samcamwilliams Sep 3, 2025
cbacd0f
fix: return `independent_hash` as ID for blocks
samcamwilliams Sep 3, 2025
dc8cff5
chore: tidy test
samcamwilliams Sep 3, 2025
3bd25c8
chore: improve `copycat_short` event group
samcamwilliams Sep 3, 2025
0db2084
Merge pull request #462 from permaweb/device/arweave
samcamwilliams Sep 3, 2025
fe43dff
chore: Add test for `POST`ing ANS104 items to `~arweave@2.9-pre`.
samcamwilliams Sep 3, 2025
e3f2424
Merge pull request #463 from permaweb/chore/post-tx-test
samcamwilliams Sep 3, 2025
98e566f
impr: `require-codec` replaces `accept-codec` _forces_ encoding with …
samcamwilliams Sep 4, 2025
a722778
Merge pull request #464 from permaweb/impr/require-codec
samcamwilliams Sep 4, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
11 changes: 0 additions & 11 deletions .githooks/_/install.sh

This file was deleted.

25 changes: 0 additions & 25 deletions .githooks/commit-msg

This file was deleted.

204 changes: 204 additions & 0 deletions .github/workflows/build-deploy-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,204 @@
name: 🥘 Build & Deploy Docs HB

on:
pull_request:
branches:
- main
paths:
# Trigger on changes to docs, mkdocs config, or the workflow itself
- "docs/**"
- "mkdocs.yml"
- ".github/workflows/build-deploy-docs.yml"
push:
branches:
- main
paths:
# Trigger on changes to docs, mkdocs config, or the workflow itself
- "docs/**"
- "mkdocs.yml"
- ".github/workflows/build-deploy-docs.yml"

# Perform a release using a workflow dispatch
workflow_dispatch:

defaults:
run:
shell: bash

jobs:
# Run the build as part of PRs to confirm the site properly builds
check_build:
if: ${{ startsWith(github.ref, 'refs/pull/') }}
runs-on: ubuntu-22.04
steps:
- name: ⬇️ Checkout repo
uses: actions/checkout@v3

# Setup Python environment
- name: 🐍 Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x' # Use a recent Python 3 version

# Install Erlang OTP 27 using kerl
- name: Install Erlang OTP 27
run: |
sudo apt-get update
sudo apt-get install -y build-essential autoconf libncurses5-dev libssl-dev
git clone https://github.com/kerl/kerl.git
./kerl/kerl build 27.0 otp-27.0
./kerl/kerl install otp-27.0 ~/otp-27.0
echo '. ~/otp-27.0/activate' >> ~/.bashrc
. ~/otp-27.0/activate
echo "Erlang version:"
erl -eval 'io:format("~s~n", [erlang:system_info(otp_release)]), halt().'
# Install system dependencies needed for HyperBEAM
- name: Install system dependencies
run: |
sudo apt-get update && sudo apt-get install -y --no-install-recommends \
build-essential \
cmake \
pkg-config \
ncurses-dev \
libssl-dev \
ca-certificates
# Debug step - display the region with syntax error
- name: Debug syntax error region
run: |
echo "Showing the region with syntax error in hb_message.erl:"
sed -n '1440,1460p' src/hb_message.erl || echo "File not found or cannot be read"
echo "Checking for syntax error fix files:"
find . -name "*.erl.fix" -o -name "hb_message.erl.*" | grep -v ".beam" || echo "No fix files found"
echo "Erlang version:"
. ~/otp-27.0/activate && erl -eval 'io:format("~s~n", [erlang:system_info(otp_release)]), halt().'
# Install rebar3
- name: Install rebar3
run: |
. ~/otp-27.0/activate
mkdir -p ~/.config/rebar3
curl -O https://s3.amazonaws.com/rebar3/rebar3 && chmod +x rebar3
sudo mv rebar3 /usr/local/bin/rebar3
. ~/otp-27.0/activate && rebar3 --version
# Install Rust toolchain (needed for WASM components)
- name: Install Rust and Cargo
run: |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
source "$HOME/.cargo/env"
# Setup Node.js
- name: ⎔ Setup Node
uses: actions/setup-node@v3
with:
node-version: 22 # Or your preferred version

# Install pip dependencies and cache them
- name: 📦 Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install mkdocs mkdocs-material mkdocs-git-revision-date-localized-plugin
- name: 🛠 Build Docs
run: |
. ~/otp-27.0/activate
SKIP_COMPILE=1 SKIP_EDOC=1 ./docs/build-all.sh -v
# Build and deploy the artifacts to Arweave via ArDrive
deploy:
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-22.04
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these deployments to complete.
concurrency:
group: deploy
cancel-in-progress: false
steps:
- name: ⬇️ Checkout repo
uses: actions/checkout@v3

# Setup Python environment
- name: 🐍 Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'

# Install Erlang OTP 27 using kerl
- name: Install Erlang OTP 27
run: |
sudo apt-get update
sudo apt-get install -y build-essential autoconf libncurses5-dev libssl-dev
git clone https://github.com/kerl/kerl.git
./kerl/kerl build 27.0 otp-27.0
./kerl/kerl install otp-27.0 ~/otp-27.0
echo '. ~/otp-27.0/activate' >> ~/.bashrc
. ~/otp-27.0/activate
echo "Erlang version:"
erl -eval 'io:format("~s~n", [erlang:system_info(otp_release)]), halt().'
# Install system dependencies needed for HyperBEAM
- name: Install system dependencies
run: |
sudo apt-get update && sudo apt-get install -y --no-install-recommends \
build-essential \
cmake \
pkg-config \
ncurses-dev \
libssl-dev \
ca-certificates
# Debug step - display the region with syntax error
- name: Debug syntax error region
run: |
echo "Showing the region with syntax error in hb_message.erl:"
sed -n '1440,1460p' src/hb_message.erl || echo "File not found or cannot be read"
echo "Checking for syntax error fix files:"
find . -name "*.erl.fix" -o -name "hb_message.erl.*" | grep -v ".beam" || echo "No fix files found"
echo "Erlang version:"
. ~/otp-27.0/activate && erl -eval 'io:format("~s~n", [erlang:system_info(otp_release)]), halt().'
# Install rebar3
- name: Install rebar3
run: |
. ~/otp-27.0/activate
mkdir -p ~/.config/rebar3
curl -O https://s3.amazonaws.com/rebar3/rebar3 && chmod +x rebar3
sudo mv rebar3 /usr/local/bin/rebar3
. ~/otp-27.0/activate && rebar3 --version
# Install Rust toolchain (needed for WASM components)
- name: Install Rust and Cargo
run: |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
source "$HOME/.cargo/env"
# Install pip dependencies and cache them
- name: 📦 Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install mkdocs mkdocs-material mkdocs-git-revision-date-localized-plugin
# Setup Node.js (needed for npx deploy command)
- name: ⎔ Setup Node
uses: actions/setup-node@v3
with:
node-version: 22 # Or your preferred version

- name: 👀 Env
run: |
echo "Event name: ${{ github.event_name }}"
echo "Git ref: ${{ github.ref }}"
echo "GH actor: ${{ github.actor }}"
echo "SHA: ${{ github.sha }}"
VER=`node --version`; echo "Node ver: $VER"
VER=`npm --version`; echo "npm ver: $VER"
. ~/otp-27.0/activate && erl -eval 'io:format("Erlang OTP version: ~s~n", [erlang:system_info(otp_release)]), halt().'
- name: 🛠 Build Docs
id: build_artifacts
run: |
. ~/otp-27.0/activate
SKIP_COMPILE=1 SKIP_EDOC=1 ./docs/build-all.sh -v
touch mkdocs-site/.nojekyll
echo "artifacts_output_dir=mkdocs-site" >> $GITHUB_OUTPUT
- name: 💾 Publish to Arweave
id: publish_artifacts
run: |
npx permaweb-deploy \
--arns-name=dps-testing-facility \
--ant-process=${{ secrets.ANT_PROCESS }} \
--deploy-folder=${ARTIFACTS_OUTPUT_DIR}
env:
DEPLOY_KEY: ${{ secrets.DEPLOY_KEY }}
ARTIFACTS_OUTPUT_DIR: ${{ steps.build_artifacts.outputs.artifacts_output_dir }}
ANT_PROCESS: ${{ secrets.ANT_PROCESS }}
26 changes: 18 additions & 8 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
config.*
.rebar3
_build
_checkouts
Expand All @@ -19,20 +20,29 @@ logs
*.iml
rebar3.crashdump
*~
/venv

*.json
node_modules
!.vscode/*

*.bin
!.vscode/*
.vscode/c_cpp_properties.json

native/hb_beamr/*.o
native/hb_beamr/*.d

c_src/*.o
c_src/*.d
priv/*
.DS_STORE
TEST-data*
test-cache/*
TEST-cache-**
cache-*

*.dot
*.svg

cu/
mkdocs-site/
mkdocs-site-id.txt
mkdocs-site-manifest.csv

.githooks/_/.setup
!test/admissible-report-wallet.json
!test/admissible-report.json
!test/config.json
4 changes: 0 additions & 4 deletions .gitpod.Dockerfile

This file was deleted.

16 changes: 0 additions & 16 deletions .gitpod.yml

This file was deleted.

44 changes: 40 additions & 4 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,28 @@
"version": "0.2.0",
"configurations": [
{
"name": "Launch Erlang with Dependencies",
"name": "Launch debugger on a function.",
"type": "erlang",
"request": "launch",
"cwd": "${workspaceRoot}",
"projectnode": "hb",
"cookie": "hb-debug",
"preLaunchTask": "Rebar3 Compile",
"arguments": "-pa _build/default/lib/*/ebin -eval \"ssl:start(), application:ensure_all_started(hb).\"",
"stopOnEntry": false,
"internalConsoleOptions": "openOnSessionStart"
"postDebugTask": "Stop HyperBEAM",
"stopOnEntry": true,
"internalConsoleOptions": "openOnSessionStart",
"module": "hb_debugger",
"function": "start_and_break",
"args": "[${input:moduleName}, ${input:functionName}, [${input:funcArgs}], <<\"${input:debuggerScope}\">>]"
},
{
"name": "Attach to a 'rebar3 debugger' node.",
"type": "erlang",
"request": "attach",
"projectnode": "hb",
"cookie": "hb-debug",
"timeout": 10,
"cwd": "${workspaceRoot}"
},
{
"name": "Attach C Debugger to beam.smp",
Expand All @@ -35,5 +49,27 @@
},
"internalConsoleOptions": "neverOpen"
}
],
"inputs": [
{
"id": "moduleName",
"type": "promptString",
"description": "Enter module to break in:"
},
{
"id": "functionName",
"type": "promptString",
"description": "Enter function to invoke:"
},
{
"id": "funcArgs",
"type": "promptString",
"description": "(Optional) Pass arguments to the function:"
},
{
"id": "debuggerScope",
"type": "promptString",
"description": "(Optional) Additional modules/prefixes for debugger scope:"
}
]
}
4 changes: 2 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"editor.detectIndentation": false,
"editor.insertSpaces": false,
"editor.insertSpaces": true,
"editor.tabSize": 4
}
}
Loading
Loading