Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RGB v0.12: zk-STARKy, fully refactored and simplified #286

Open
wants to merge 70 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
70 commits
Select commit Hold shift + click to select a range
3bc3831
epic: refactor state types
dr-orlovsky Oct 15, 2024
c3ef1e3
iface: make invoice state calculable with AluVM
dr-orlovsky Oct 15, 2024
8f7020c
iface: add abiloity to select inputs for a given state to ContractIface
dr-orlovsky Oct 15, 2024
3c4dcd4
iface: use StrictVal instead of State in ContractOp
dr-orlovsky Oct 16, 2024
10ee5cc
iface: provide clients with owned state in form of StrictVal
dr-orlovsky Oct 16, 2024
46694a5
iface: remove OwnedIface, change owned state inheritance mechanics
dr-orlovsky Oct 17, 2024
624e84c
persistence: add access to type system
dr-orlovsky Oct 17, 2024
0bfe36d
epic: improve invoice and interface state APIs
dr-orlovsky Oct 17, 2024
1a1ad23
further invoice and interface state improvements
dr-orlovsky Oct 17, 2024
bc455d7
iface: use updated state serialization APIs
dr-orlovsky Oct 17, 2024
0bc16ef
iface: improve AssignIface APIs
dr-orlovsky Oct 17, 2024
9240917
iface: add add_rights convenience method to builder
dr-orlovsky Oct 17, 2024
0bf8c97
iface: add ContractIface::outputs_typed method
dr-orlovsky Oct 17, 2024
50a7607
chore: remove outdated IfaceStd.con
dr-orlovsky Oct 17, 2024
ee649c6
chore: update aluvm
dr-orlovsky Oct 19, 2024
355b951
containers: add Suppl::with deterministic constructor
dr-orlovsky Oct 19, 2024
48428ba
reboot repo
dr-orlovsky Nov 26, 2024
b114c74
remove unneeded components
dr-orlovsky Dec 8, 2024
2a96e74
simplify workspace to a single package
dr-orlovsky Dec 8, 2024
c688b84
move bitcoin-specific functionality behind a feature gate
dr-orlovsky Dec 8, 2024
4362f3c
issue method
dr-orlovsky Dec 8, 2024
34a307c
operation prefabs and packs
dr-orlovsky Dec 8, 2024
0f3c2f3
seal types enum and dir excavator helper
dr-orlovsky Dec 9, 2024
8fc84e0
bitcoin and liquid support and integration
dr-orlovsky Dec 10, 2024
8015cf9
implement issue at barrow level
dr-orlovsky Dec 10, 2024
d01c882
bp: construction prefabs
dr-orlovsky Dec 10, 2024
b096db7
add index to pile
dr-orlovsky Dec 11, 2024
1ad416a
implement TXO seal conversion into a SONIC auth token
dr-orlovsky Dec 11, 2024
f81347c
implement operation prefabrication
dr-orlovsky Dec 11, 2024
6f6645d
construct blank operations
dr-orlovsky Dec 11, 2024
b588e2a
bundle blank operations
dr-orlovsky Dec 14, 2024
aca04fc
implement consign and accept procedures
dr-orlovsky Dec 15, 2024
626f22c
amend consign and accept methods
dr-orlovsky Dec 15, 2024
95ce0ad
refactor accept into consume: use RGB Core verification
dr-orlovsky Dec 15, 2024
e2c92a9
refactor verification and consignment consumption with state machines
dr-orlovsky Dec 16, 2024
f77cd44
add support for global schemata
dr-orlovsky Dec 16, 2024
f5ef7e4
fix reading schemata
dr-orlovsky Dec 16, 2024
f1e77ec
use costom issue params with seals and outpoints
dr-orlovsky Dec 16, 2024
8fe8c79
add seal type to the issue parameters
dr-orlovsky Dec 16, 2024
cbec3f5
debug contract issue
dr-orlovsky Dec 16, 2024
455bf09
contract and codex info objects
dr-orlovsky Dec 17, 2024
15a8a55
wallet methods
dr-orlovsky Dec 17, 2024
b758e4b
add EitherSeal type
dr-orlovsky Dec 17, 2024
7164f7a
fix PrefabParams with using assignment
dr-orlovsky Dec 18, 2024
27a3897
chore: update fmt rules
dr-orlovsky Dec 20, 2024
02823ad
add outpoint information into contract state
dr-orlovsky Dec 20, 2024
67d3dd4
rgbx: command-line toolbox utility
dr-orlovsky Dec 21, 2024
c867468
rgbx: command for dumping consignments
dr-orlovsky Dec 21, 2024
28f9ead
bp: store newly defined seals to keep
dr-orlovsky Dec 21, 2024
3790792
distinguish `state_all` from `state` method
dr-orlovsky Dec 21, 2024
0c288e0
rgbx: dump stockpile
dr-orlovsky Dec 21, 2024
81b0e03
attest operation
dr-orlovsky Dec 21, 2024
300b453
support anchor merging
dr-orlovsky Dec 22, 2024
a85ca8e
chore: re-export data types from sonic
dr-orlovsky Dec 22, 2024
c91f90a
make index persistent
dr-orlovsky Dec 22, 2024
52497ef
rgbx: fix dump implementation
dr-orlovsky Dec 22, 2024
8091907
fix ConsumeError display derive
dr-orlovsky Dec 22, 2024
4ff4bfd
do not panic on empty witness list for an operation
dr-orlovsky Dec 22, 2024
6b2bafc
read genesis seals from a consignment
dr-orlovsky Dec 22, 2024
55ad6b2
rgbx: support genesis seals in consignment dump
dr-orlovsky Dec 22, 2024
761b580
debug consignment consume
dr-orlovsky Dec 23, 2024
73c30de
add register_seal method to a Wallet interface
dr-orlovsky Dec 23, 2024
40a845f
resolve seals on consignment consume
dr-orlovsky Dec 23, 2024
3c9b93f
rename SonicSeal into RgbSeal
dr-orlovsky Dec 23, 2024
4d9b189
save resolved seals to pile
dr-orlovsky Dec 23, 2024
369f17e
use magic bytes and version in consignment stream
dr-orlovsky Dec 23, 2024
0d535af
chore: update dependencies
dr-orlovsky Dec 23, 2024
51bf4a2
chore: bump MSRV to 1.82
dr-orlovsky Dec 23, 2024
eba6ac8
chore: fix feature gates
dr-orlovsky Dec 23, 2024
fe00f28
chore: fix clippy lints
dr-orlovsky Dec 23, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ on:
branches:
- master
tags:
- 'v[0-9]+\.*'
- 'v[0-9]+.*'
pull_request:
branches:
- master
- develop
- 'v[0-9]+.[0-9]+'
- 'v[0-9]+.?*'

env:
CARGO_TERM_COLOR: always
Expand All @@ -33,7 +33,7 @@ jobs:
strategy:
fail-fast: false
matrix:
feature: [ fs, serde ]
feature: [ bp, fs, serde ]
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
Expand All @@ -57,7 +57,7 @@ jobs:
strategy:
fail-fast: false
matrix:
toolchain: [ nightly, beta, stable, 1.77.0 ]
toolchain: [ nightly, beta, stable, 1.82.0 ]
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ on:
branches:
- master
tags:
- 'v[0-9]+\.*'
- 'v[0-9]+.*'
pull_request:
branches:
- master
- develop
- 'v[0-9]+.[0-9]+'
- 'v[0-9]+.?*'

env:
CARGO_TERM_COLOR: always
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
branches:
- master
- develop
- 'v[0-9]+.[0-9]+'
- 'v[0-9]+.?*'

env:
CARGO_TERM_COLOR: always
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ on:
branches:
- master
tags:
- 'v[0-9]+\.*'
- 'v[0-9]+.*'
pull_request:
branches:
- master
- develop
- 'v[0-9]+.[0-9]+'
- 'v[0-9]+.?*'

env:
CARGO_TERM_COLOR: always
Expand Down
2 changes: 2 additions & 0 deletions .rustfmt.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@ max_width = 100
array_width = 100
attr_fn_like_width = 100
comment_width = 100
chain_width = 60
fn_call_width = 100
single_line_if_else_max_width = 100
struct_lit_width = 60

fn_single_line = true
format_code_in_doc_comments = true
Expand Down
Loading
Loading