Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2506 commits
Select commit Hold shift + click to select a range
ef4bc16
fix: normalize stores in `~cookie@1.0`, not globally
samcamwilliams Jul 25, 2025
db2c537
fix: load `from` messages with normal opts before parsing with `Cooki…
samcamwilliams Jul 27, 2025
623b607
fix: remove `priv` elements before transmission of HTTP messages outb…
samcamwilliams Jul 27, 2025
04fd037
fix: remove empty `path` key from first message inhb_singleton:from
samcamwilliams Jul 27, 2025
9cb4612
chore: remove extraneous line breaks in functions.
samcamwilliams Jul 27, 2025
93b5a00
chore: cleanup `http_request` event group
samcamwilliams Jul 27, 2025
b363e1e
chore: update `~snp@1.0` node message ID to reflect new comm IDs
samcamwilliams Jul 27, 2025
a356161
fix: correctly handle resetting commitments where the `path` key is c…
samcamwilliams Jul 27, 2025
5d50c5e
impr: return more helpful error on `~simple-pay@1.0` multi-signer charge
samcamwilliams Jul 27, 2025
74bd2c5
impr: do not remove commitments on path set to the same key
samcamwilliams Jul 27, 2025
d5ab350
impr: don't print greeter in tests.
samcamwilliams Jul 28, 2025
86f9112
fix: pass `Opts` in `~scheduler@1.0` registry tests
samcamwilliams Jul 28, 2025
707a295
impr: add keyid prefixes for `~tx@1.0` and `~ans104@1.0` codecs
samcamwilliams Jul 28, 2025
428e91e
wip: changes for scheduling on processes with auth cookie
samcamwilliams Jul 28, 2025
951a723
fix: extract cookie from priv in req
samuelmanzanera Jul 28, 2025
b84ff55
fix: use priv from req when verify
samuelmanzanera Jul 28, 2025
8d24a68
fix: `hb_singleton` do_build function
Lucifer0x17 Jul 28, 2025
cec47f6
wip: candidate fix for scoped key precedence
samcamwilliams Jul 28, 2025
1c864d0
fix: properly support `ID~device@1.0` parsing
samcamwilliams Jul 28, 2025
7787c03
impr: optionally allow scheduling unsigned (but valid) messages
samcamwilliams Jul 28, 2025
1cabfac
impr: abstract private `Opts` generation
samcamwilliams Jul 28, 2025
d013588
impr: message not found throw signalling
samcamwilliams Jul 28, 2025
4f2b6cf
impr: store testing facilities
samcamwilliams Jul 28, 2025
81feedd
fix: if the file system cannot resolve apart of the path; return `not…
samcamwilliams Jul 28, 2025
0df1064
chore: add `hb_private` opts tests
samcamwilliams Jul 28, 2025
3746f80
fix: normalize cookie headers in HTTPC engine
samcamwilliams Jul 28, 2025
65d24a8
Merge pull request #389 from permaweb/lucifer/fix-singleton-issue
samcamwilliams Jul 28, 2025
7c8d3af
Revert "fix: extract cookie from priv in req"
samcamwilliams Jul 28, 2025
12a1fde
Revert "fix: use priv from req when verify"
samcamwilliams Jul 28, 2025
b48e2a5
fix: `~scheduler@1.0` test signs message before submitting
samcamwilliams Jul 28, 2025
a20c518
fix: AO-Core resolving of `as` without path in request messages
samcamwilliams Jul 29, 2025
207dbfb
wip: `cookie-sign` key to commit individual messages in the sequence
samcamwilliams Jul 29, 2025
6e2ad3d
fix: improve list printing slightly. There is still a bug with indents.
samcamwilliams Jul 29, 2025
0bd7cae
wip: cookie hook reorganization for individual message signing
samcamwilliams Jul 29, 2025
693773c
impr: fix final(?) list processing issues in pprinter
samcamwilliams Jul 30, 2025
cca60c9
impr: `priv` security in printing
samcamwilliams Jul 30, 2025
6f0c0d0
chore: fix missing newlines for list presentation
samcamwilliams Jul 30, 2025
0636306
chore: misc tidying
samcamwilliams Jul 30, 2025
dabc0d2
fix: `~cookie@1.0` hook
samcamwilliams Jul 30, 2025
fa172e0
feat: add console controllability to default index page
samcamwilliams Jul 30, 2025
73e0e51
Merge branch 'feat/hmac-secret-keys' into feat/cookies
samcamwilliams Jul 30, 2025
271b0e8
wip: `~http-auth@1.0` generator for `~cookie@1.0`
samcamwilliams Jul 30, 2025
5d9880f
fix: using request in the generator to retrive authorization header
samuelmanzanera Jul 30, 2025
851247b
fix: decode committer's key in
samuelmanzanera Jul 30, 2025
843c7f6
chore: using OWASP best practice for pkfd2 iterations
samuelmanzanera Jul 30, 2025
2daf0fd
wip: abstract `~httpsig/verify?type=sha256-hmac` proxy calling
samcamwilliams Jul 30, 2025
e818788
fix: correct encoding for secrets in proxy call
samcamwilliams Jul 30, 2025
7c61147
fix: return default status code if unknown atom is given
samcamwilliams Jul 30, 2025
b3f4c76
feat: implement `commit` and `verify` keys in `~http-auth@1.0`
samcamwilliams Jul 30, 2025
54af91b
chore: print 5xx error with formatter on console; options order
samcamwilliams Jul 30, 2025
cafaeae
impr: HTTP error log formatting
samcamwilliams Jul 30, 2025
1aa8d0e
impr: HTTP error log formatting
samcamwilliams Jul 30, 2025
c2eb3e6
chore: move `~http-auth@1.0` namespace to codecs, as it now commits/v…
samcamwilliams Jul 30, 2025
378827e
wip: abstract on-request wallet signing with secret key auth mechanisms
samcamwilliams Jul 30, 2025
99e3003
wip: generalized on-request symmetric key signing framework
samcamwilliams Jul 31, 2025
6a29a92
chore: improve error logging when secret key is unknown in `~cookie@1.0`
samcamwilliams Jul 31, 2025
4dc727a
fix: bugs and naming
samcamwilliams Jul 31, 2025
6bd7901
impr: trace logging
samcamwilliams Jul 31, 2025
d662301
impr: search `~wallet@1.0/generate` base for auth message
samcamwilliams Jul 31, 2025
e0afbe5
chore: support `{trace, ...}` printing and add `~hook@1.0` to opts
samcamwilliams Jul 31, 2025
7fedc97
wip: generalized `on-request` hook for signing
samcamwilliams Jul 31, 2025
efcd941
wip: generalized request auth
samcamwilliams Jul 31, 2025
31e554b
wip
samuelmanzanera Aug 1, 2025
18e0826
wip
samuelmanzanera Aug 1, 2025
b7441d3
feat: `~auth-hook@1.0` device
samcamwilliams Aug 1, 2025
022abfa
chore: renaming and tidying
samcamwilliams Aug 1, 2025
cb65865
feat: allow configuration of request relevance in `~auth-hook@1.0`
samcamwilliams Aug 1, 2025
0c8b628
impr: naming and documentation for the cluster of new secret devices
samcamwilliams Aug 2, 2025
cd5a309
chore: remove unnecessary cookie-specific auth hook
samcamwilliams Aug 2, 2025
de20841
chore: fix `key` -> `secret` reference
samcamwilliams Aug 2, 2025
8c2e7df
Merge branch 'feat/http-auth' into feat/cookies
samcamwilliams Aug 2, 2025
20cbfb2
chore: start merge of `secrets` work with `edge`
samcamwilliams Aug 2, 2025
d494a04
chore: fix merge conflict
samcamwilliams Aug 2, 2025
7c5c057
impr: search all messages in the sequence for `when/keys`; naming
samcamwilliams Aug 2, 2025
7673309
chore: add default-enabled HTTP auth signing on presence of `!` key i…
samcamwilliams Aug 2, 2025
1b50811
Merge pull request #394 from permaweb/omni/secrets
samcamwilliams Aug 2, 2025
d10d03e
chore: move to synchronous elmdb API
samcamwilliams Aug 2, 2025
0bb0738
chore: add option to use experimental hyper LMDB store implementation
samcamwilliams Aug 2, 2025
21a8c30
wip: support legacynet CU's new snapshot API
samcamwilliams Aug 3, 2025
259a9dd
chore: formatting and debug log
samcamwilliams Aug 3, 2025
0b618b6
feat: call `snapshot` endpoint to force a file state write in del. co…
samcamwilliams Aug 3, 2025
cde5d8d
refactor: simplify lmdb store implementation
Aug 3, 2025
b2a7ca0
chore: add check in hb_store if opts already has a store prop
Aug 4, 2025
ca3c0c7
impr: updated with latest elmdb-rs dependency
Aug 4, 2025
395dac2
feat: `/part=val/...` interpreted as `#{ path = part, part = val }`
samcamwilliams Aug 4, 2025
ae8542c
Merge pull request #395 from permaweb/feat/path-default-key-syntax
samcamwilliams Aug 4, 2025
82d6b11
wip: support legacynet CU's new snapshot API
samcamwilliams Aug 3, 2025
94deb4d
chore: formatting and debug log
samcamwilliams Aug 3, 2025
9e11f7d
feat: call `snapshot` endpoint to force a file state write in del. co…
samcamwilliams Aug 3, 2025
7b0e234
Merge remote-tracking branch 'hyperbeam-main/feat/delegated-compute-s…
samcamwilliams Aug 4, 2025
d6b2a6f
feat: Support double quotes in paths.
samcamwilliams Aug 4, 2025
7882835
Merge pull request #396 from permaweb/feat/quoted-inlined-values
samcamwilliams Aug 4, 2025
b62c3f1
chore: properly db_close before env_close also remove blank lines in …
Aug 4, 2025
fde911e
Merge branch 'edge' into feat/delegated-compute-snapshots
samcamwilliams Aug 4, 2025
ea2af5e
fix: call `normalize` correctly from genesis wasm
samcamwilliams Aug 4, 2025
73ba5a1
wip: checkpoint processes only every x period
samcamwilliams Aug 4, 2025
9879737
chore: tidy
samcamwilliams Aug 4, 2025
6fa1a70
feat: add `event` profiler, showing event count during execution
samcamwilliams Aug 4, 2025
4984d9a
chore: `--merge` is unnecessary, simply do not add the `flamechart` arg
samcamwilliams Aug 4, 2025
8587119
Merge pull request #397 from permaweb/feat/profile-events
samcamwilliams Aug 4, 2025
5bf8612
chore: update to latest elmdb nif
twilson63 Aug 5, 2025
e8c8e5a
Merge pull request #400 from permaweb/feat/delegated-compute-snapshots
samcamwilliams Aug 6, 2025
f6aa9ad
fix: defer lua_tests parsing to prevent boot crash
PeterFarber Aug 6, 2025
6233df1
Merge pull request #402 from permaweb/fix/lua-tests_circular-dependency
twilson63 Aug 6, 2025
a3807ae
chore: update to latest elmdb nif
jyeshe Aug 6, 2025
fd7689f
Revert "fix: defer lua_tests parsing to prevent boot crash"
twilson63 Aug 6, 2025
7fc3491
Merge pull request #403 from permaweb/revert-402-fix/lua-tests_circul…
twilson63 Aug 6, 2025
ce68b81
Revert "chore: add option to use experimental hyper LMDB store implem…
twilson63 Aug 6, 2025
7582cff
chore: revert hyper_store and set PRIMARY_DEFAULT_STORE in hb_opts
twilson63 Aug 6, 2025
9aec1ef
fix: handle missing scripts directory in dev_lua_test
dhia-gharsallaoui Aug 7, 2025
dd1af34
fix: prevents elmdb:list panic on not found
jyeshe Aug 7, 2025
686982f
Merge pull request #406 from permaweb/fix/elmdb-safe-list
twilson63 Aug 7, 2025
a647b71
impr: process options allow for slot and time-based snapshotting simu…
samcamwilliams Aug 7, 2025
a125a37
fix: ensure device names are formatted correcting in `io_lib` calls
samcamwilliams Aug 7, 2025
fff5a5d
chore: align `INDEX` CLI arg with `HB_` naming standard
samcamwilliams Aug 7, 2025
f9b2b6e
Merge pull request #405 from dhia-gharsallaoui/edge
twilson63 Aug 7, 2025
20af6a0
Merge pull request #404 from permaweb/fix/elmdb
twilson63 Aug 7, 2025
6c1ffcd
impr: add support for compute inline key: `GET /procID/compute=100/...`
samcamwilliams Aug 7, 2025
4b8f24f
Merge pull request #409 from permaweb/misc/process-fixes
samcamwilliams Aug 8, 2025
72d8e68
feat: support access controls on store definitions
samcamwilliams Aug 8, 2025
9e72c65
feat: support isolated scheduler stores
samcamwilliams Aug 8, 2025
9dc3b31
chore: Added stress tests for volatile scheduler store
Lucifer0x17 Aug 8, 2025
420a522
chore: add store access control tests
Lucifer0x17 Aug 8, 2025
4f18163
impr: fix tests; reformat
samcamwilliams Aug 8, 2025
b142b5a
Merge pull request #410 from permaweb/test/store-impr
samcamwilliams Aug 8, 2025
3e4b41e
fix: scheduler cache ensures that msgs are first loaded using norm store
samcamwilliams Aug 8, 2025
d2408a9
chore: update default opts and `~lua@5.3a` benchmark config params
samcamwilliams Aug 8, 2025
61c4c8d
Merge pull request #411 from permaweb/impr/store-opts
samcamwilliams Aug 8, 2025
4a2e350
temp: Store messages primarily by their signed ID
samcamwilliams Aug 8, 2025
8d3405f
Merge pull request #412 from permaweb/temp/separated-messages
samcamwilliams Aug 8, 2025
ff8e9ee
impr: force a snapshot after every process compute request terminates
samcamwilliams Aug 8, 2025
38e601f
chore: tidy excessively long logs
samcamwilliams Aug 8, 2025
4e61a83
Merge pull request #413 from permaweb/impr/snapshot-on-completion
samcamwilliams Aug 8, 2025
c8b8ae7
feat: Determine node config encoding from file extension
samcamwilliams Aug 9, 2025
e43b54b
Merge pull request #414 from permaweb/feat/opts-file-ext-to-device
samcamwilliams Aug 9, 2025
1c75d38
chore: removed `test/config.json` from `.gitignore` `
Lucifer0x17 Aug 9, 2025
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
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
86d00d7
chore: added a proper documentation for the formatter
Lucifer0x17 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
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
adb9237
wip: remove duplicate top level data key
parthks Aug 19, 2025
e545b5d
fix: serialize binary payload in bundle
parthks Aug 19, 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
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
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
c8daeb6
chore: bring over L1 tx support modules from Arweave
JamesPiechota Aug 22, 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