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

fix(faucet): resume after restart #517

Merged
merged 33 commits into from
Oct 30, 2024
Merged
Show file tree
Hide file tree
Changes from 9 commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
fcb66c7
feat: improve node errors
polydez Oct 18, 2024
40a42f1
docs: update `CHANGELOG.md`
polydez Oct 18, 2024
8873ba5
feat: save/restore faucet state and keypair to/from files
polydez Oct 11, 2024
9053f12
feat: make faucet account public, request account state on submission…
polydez Oct 17, 2024
f984e67
feat: introduce `ClientError`
polydez Oct 18, 2024
8e12b04
fix: update config
polydez Oct 18, 2024
4fc851f
fix: save new faucet state to in-memory store after getting from the …
polydez Oct 18, 2024
cebc372
fix: remove `macros` feature from axum dependency
polydez Oct 18, 2024
be90b6b
docs: update `CHANGELOG.md`
polydez Oct 18, 2024
b808a80
docs: add comment for `seed` field
polydez Oct 21, 2024
dafc01b
fix: log message
polydez Oct 21, 2024
50fd73e
refactor: address review comments
polydez Oct 21, 2024
011002a
Merge branch 'next' into polydez-faucet-restore
polydez Oct 22, 2024
8db4ae9
refactor: initial changes
Fumuran Oct 24, 2024
a78828f
refactor: impl Send and Sync for FaucetDataStore
Fumuran Oct 24, 2024
af6a0f3
chore: update changelog
Fumuran Oct 24, 2024
bf9bdc2
refactor: remove unnecessary async, add warning ignore to makefile
Fumuran Oct 24, 2024
349c43b
refactor: update genesis generation, read faucet account from `faucet…
polydez Oct 25, 2024
bf0e97d
feat: faucet account creation
polydez Oct 25, 2024
c9f7fdd
fix: handling of account not found error
polydez Oct 25, 2024
9e5d91d
refactor: use Arc and Mutex
bobbinth Oct 25, 2024
738eae0
chore: removed unneeded cast
bobbinth Oct 25, 2024
df3a19b
fix: lint
bobbinth Oct 25, 2024
915edf2
docs: update CHANGELOG.md
polydez Oct 28, 2024
573f5c3
Merge branch 'refs/heads/andrew-migrate-to-miden-vm-0.11' into polyde…
polydez Oct 28, 2024
4384a76
fix: compilation errors
polydez Oct 28, 2024
ea5d59c
docs: add `TODO` for incorrect and unsafe `Send` implementation
polydez Oct 28, 2024
f111115
refactor: small refactoring
polydez Oct 28, 2024
a6c37d0
Merge branch 'next' into polydez-faucet-restore
polydez Oct 28, 2024
0a9f068
refactor: address review comments
polydez Oct 29, 2024
112fcb6
docs: update `README.md` for faucet
polydez Oct 29, 2024
d0b8b5c
docs: improve instructions and clarifications in faucet's `README.md`
polydez Oct 30, 2024
96d406d
Merge branch 'next' into polydez-faucet-restore
polydez Oct 30, 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
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
- Added `GetAccountProofs` endpoint (#506).
- Migrated faucet from actix-web to axum (#511).
- Changed the `BlockWitness` to pass the inputs to the VM using only advice provider (#516).
- [BREAKING] Improved store API errors (return "not found" instead of "internal error" status if requested account(s) not found) (#518).
- Support for faucet restarting without blockchain restarting (#517).

## 0.5.1 (2024-09-12)

Expand Down
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion bin/faucet/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ repository.workspace = true
testing = ["miden-objects/testing", "miden-lib/testing"]

[dependencies]
anyhow = "1.0"
axum = { version = "0.7", features = ["tokio"] }
clap = { version = "4.5", features = ["derive", "string"] }
figment = { version = "0.10", features = ["toml", "env"] }
Expand All @@ -33,7 +34,7 @@ rand_chacha = "0.3"
serde = { version = "1.0", features = ["derive"] }
static-files = "0.2"
thiserror = { workspace = true }
tokio = { workspace = true }
tokio = { workspace = true, features = ["fs"] }
toml = { version = "0.8" }
tonic = { workspace = true }
tower = "0.5"
Expand Down
Loading
Loading