Releases: linera-io/linera-protocol
v0.11.0
Linera: v0.11.0 update
We're very excited to publish Linera v0.11.0! 🚀
We've been working hard to improve the Linera protocol as part of our mission to deliver truly scalable Web3 infrastructure.
Summary
This release features another set of SDK improvements, making it easier to write applications for Linera.
For a more in-depth breakdown see the 'What's Changed' section.
What's Changed
- Fix round notification handling for CLI commands. by @afck in #1826
- Add fn user back to Message by @andresilva91 in #1832
- Modify Native Fungible App's Message to be Notify only by @andresilva91 in #1833
- change protocol version to 0.11.0 on the main branch by @afck in #1835
linera-version
: useCARGO_MANIFEST_DIR
instead ofPWD
by @Twey in #1837- Move Fungible ABI to linera SDK by @andresilva91 in #1836
- Put proxy metrics behind with_metrics by @andresilva91 in #1819
- Make sure we have metrics enabled in our Docker images by @andresilva91 in #1820
- Stop using unwrap_or_default in e2e tests by @andresilva91 in #1847
- enhancement: remove node_modules and add node_modules to .gitignore by @fenghaojiang in #1852
- chore: add
.git-blame-ignore-revs
by @Colerar in #1853 package{,-lock}.json
: remove accidental files by @Twey in #1856- Use
tuple<>
for the unit type by @jvff in #1859 linera-views
: avoid generating duplicate GraphQL type names by @Twey in #1857- Fix
Credit
message tracking in Fungible Token by @jvff in #1861 - Add a configurable policy for incoming messages. by @afck in #1862
linera-views::dynamodb
: boxaws-sdk-dynamodb
futures by @Twey in #1860- Remove push_to_all_chains by @andresilva91 in #1848
- Test bouncing of tokens rejected by receiver by @jvff in #1863
linera-views
: add local variants of store traits by @Twey in #1843- Fix some typos and comments. by @afck in #1866
- Make clap non-optional in linera-core. by @afck in #1865
- IndexedDB views backend by @Twey in #1630
.github/workflows/documentation
: supersede in-progress publishes by @Twey in #1867- Implement Witty traits for
BTreeMap
andDuration
by @jvff in #1869 - Remove InitializationArgument/Parameters from ContractAbi/ServiceAbi by @andresilva91 in #1844
- Update to the
README.md
and corresponding changes. by @MathieuDutSik in #1868 - Return from add_event and remove_event whether it was new. by @afck in #1870
- Implement Witty traits for
log::Level
by @jvff in #1877 - Use
anyhow::Error
in end-to-end tests by @jvff in #1878 - linera wallet forget-keys command by @andresilva91 in #1871
- linera wallet forget-chain command by @andresilva91 in #1872
- Derive Witty traits for
linera-base
types by @jvff in #1881 - Use u64 microseconds as durations in the protocol. by @afck in #1884
- Increase the gRPC message size limit to 16 MiB. by @afck in #1883
- Remove newline incorrectly added between the test and its attributes by @jvff in #1892
- Simplify current_round computation; remove previous_round. by @afck in #1882
- Ensure WIT types are registered in a deterministic order by @jvff in #1893
- Service engine uses Cranelift instead of Singlepass by @christos-h in #1885
- Fix Linera Explorer by @andresilva91 in #1896
- Use test_case in worker_tests. by @afck in #1894
- Display error in WasmExecutionError::ExecuteModuleInWasmer by @christos-h in #1886
- Rename the aws feature to dynamodb. by @afck in #1901
- Fix the build without RocksDB. by @afck in #1900
- Wait for refund messages before final assertions in Matching Engine end-to-end test by @jvff in #1873
- Fix warnings when building with --no-default-features. by @afck in #1904
- Make linera_chain::manager public, so the docs get published. by @afck in #1903
- Create a
WitInterface
trait to allow creating of WIT interface snippets by @jvff in #1902 - Add fallback/public mode to the chain manager. by @afck in #1899
- Added a Service API to fetch a blob of bytes from a URL by @christos-h in #1887
- Use Witty to declare the application interfaces by @jvff in #1907
- Replace
file-lock
dependency withfs4
in order to support non-POSIX operating systems by @jvff in #1908 - Receive
wasmer::Engine
by reference inInstanceBuilder
constructor by @jvff in #1911 - Add WIT file contents generation to Witty by @jvff in #1910
- Adjusting NFT Webfrontend README by @andresilva91 in #1913
- Make Wallet public and usable in tests with ClientContext. by @afck in #1912
- Add some Wasmer specific getters to Witty by @jvff in #1914
- Generate WIT files using a custom binary by @jvff in #1916
- Add TestClock::sleep to make sleeps respect simulated time. by @afck in #1917
- Add
fetch_url
toServiceSystemApi
type exported by Witty by @jvff in #1919 - Migrate to Witty by @jvff in #1920
- Run check-all-features also without --all-targets. by @afck in #1923
- Restrict read/write access to wallet.json to the user on Unix. by @afck in #1925
- Handle timeouts returned by process_inbox_if_owned in ChainListener. by @afck in #1922
- Use Web-safe time primitives by @Twey in #1926
- Rename the
get_free_port
and introduce one for endpoint. by @MathieuDutSik in #1930 - [amm] Send tokens back to owner's chains by @andresilva91 in #1909
- Remove redundant operation mutation from AMM by @andresilva91 in #1928
- Llm example by @christos-h in #1915
- Adding CloseChain operation to AMM by @andresilva91 in #1929
- Fix incorrect delivery notifications for rejected blocks by @jvff in #1933
- Remove WIT files that are no longer used by @jvff in #1935
- Update Rust to version 1.77.0 by @jvff in #1937
- Insertion of the Ethereum support in Linera by @MathieuDutSik in #1918
- Wasmer v4 by @Twey in #1879
- Disallow grants for broadcast channels by @andresilva91 in #1941
- Update to Rust 1.77.2 by @jvff in #1943
- Clean up some leftover code by @MathieuDutSik in #1944
- Use BlockExecutionOutcome in ExecutedBlock. by @afck in #1940
- Rename contract's
initialize
entrypoint toinstantiate
by @jvff in #1936 - Bounded the
exists
quer...
v0.10.1
Linera: v0.10.1 update
We're very excited to publish Linera v0.10.1! 🚀
We've been working hard to improve the Linera protocol as part of our mission to deliver truly scalable Web3 infrastructure.
Summary
This release fixes an issue that prevented the documentation from appearing on docs.rs, and an issue with multi-owner chains.
What's Changed
linera-version
: useCARGO_MANIFEST_DIR
instead ofPWD
by @Twey in #1837- Fix round notification handling for CLI commands by @afck in #1826
Full Changelog: v0.10.0...v0.10.1
v0.10.0
Linera: v0.10.0 update
We're very excited to publish Linera v0.10.0! 🚀
We've been working hard to improve the Linera protocol as part of our mission to deliver truly scalable Web3 infrastructure.
Summary
This release features an improved SDK, making it easier to write applications for Linera.
For a more in-depth breakdown see the 'What's Changed' section.
What's Changed
- Add TestSignable and CryptoHash::debug. by @afck in #1695
- revert two bogus changes in json files from #1697 by @ma2bd in #1701
- Add
linera-storage-service
to Dockerfile by @jvff in #1700 - Wasm compilation for crates by @Twey in #1659
- Improve support for generics in
linera-views-derive
by @jvff in #1467 flake.nix
: addjq
for testing by @Twey in #1703- Add redundant target exemption to config.toml. by @afck in #1699
- Fix linera-views-derive tests. by @afck in #1705
- Add OpenChainConfig. by @afck in #1696
- Chain applications by @afck in #1702
- Move ChainOwnership to linera-base. by @afck in #1706
- Rename chain_application to authorized_applications; allow multiple. by @afck in #1707
- Extract open_chain from execute_operation. by @afck in #1709
- Remove
wit-bindgen
standalone feature requirement by @jvff in #1710 - Fix import in
linera-sdk
macro and Wasm fuel test fixtures by @jvff in #1712 - update README file by @ma2bd in #1711
- Move SystemExecutionState to test_utils. by @afck in #1717
- Turn from_system_state into into_view. by @afck in #1719
- Native Fungible Token App by @andresilva91 in #1675
- Add open_chain and chain_ownership to the system API. by @afck in #1720
- Remove unused ChainManager::is_active. by @afck in #1723
- Added more configuration options to helmfile by @christos-h in #1724
- Add close_chain to the system API. by @afck in #1722
- Faucet URL for testing is configurable via an env var by @christos-h in #1727
- Make snap filenames Windows-compatible. by @afck in #1731
- Use the correct message index in open_chain. by @afck in #1732
- Fix Witty type size alignment by @jvff in #1716
- Fix parameter order in WIT proxy function by @jvff in #1715
- Make open_chain return a result. by @afck in #1730
.github
: continue on error in Rust lint workflow by @Twey in #1737- Support accounts query on native fungible as well by @andresilva91 in #1725
- Fix fungible README hashes by @andresilva91 in #1734
- Native fungible README by @andresilva91 in #1733
- Fix flaky leader timeout test. by @afck in #1741
- Implement
query_iter
for the queries by @MathieuDutSik in #1743 - Add Linera logo to README by @papadritta in #1740
- Add a ChangeApplicationPermissions operation. by @afck in #1744
- Address the hash invalidation problem in QueueView by @MathieuDutSik in #1745
- Add graphQL tests to fungible/native-fungible READMEs by @andresilva91 in #1739
- update logo and first sentences by @ma2bd in #1749
- Consistently spell ID. by @afck in #1747
linera-service
: export agrpc-web
–compatible endpoint by @Twey in #1735- Add missing close_chain function to system_api. by @afck in #1746
- Move app permissions types to linera-base. by @afck in #1754
- Add more context to Unknown Chain error by @andresilva91 in #1757
- Remove empty fungible accounts. by @afck in #1758
- Implement the storage service for the end-to-end tests by @MathieuDutSik in #1679
- Fix non-deterministic RegisterApplications messages. by @afck in #1760
- Remove deprecated NaiveDateTime::from_timestamp_opt. by @afck in #1765
- Send tokens back to owner chain when orders are filled or cancelled. by @afck in #1759
- Fail earlier in retrying CLI wrapper functions. by @afck in #1763
- Upgrade dependencies by @afck in #1767
- Improve invalid discriminant error by @jvff in #1718
- Use
AttributeParameters
to get metadata by @jvff in #1684 - Replace context types with runtime types in SDK by @jvff in #1748
- Generate WIT type declarations by @jvff in #1704
- Reduce usage of RocksDB in tests by @MathieuDutSik in #1768
linera-rpc
: refactor (simple network ↔ gRPC network, client ↔ server) by @Twey in #1736- Add a CloseChain operation to the Matching Engine. by @afck in #1770
- Update service-related packages to support native AFIT by @Twey in #1769
- RPC feature flags for server and simple network by @Twey in #1755
- Some refactor by @MathieuDutSik in #1773
- Clone query argument in mock
try_query_application
API by @jvff in #1776 linera-rpc
: replacegenerate-format
withinsta
by @Twey in #1775- Add a change-ownership command. by @afck in #1772
- Several adjustments to accelerate the CI. by @MathieuDutSik in #1784
- Non Fungible Token App by @andresilva91 in #1774
- Fix Wasmtime fuel consumption calculation by @jvff in #1786
- NFT Web Frontend by @andresilva91 in #1782
- NFT App README by @andresilva91 in #1783
- Change Component Library to Ant Design by @andresilva91 in #1789
- Add
Contract::finalize
entrypoint by @jvff in #1792 - Use images as NFT's payload by @andresilva91 in #1791
- Remove sessions by @jvff in #1780
- Use apply_client_command where appropriate. by @afck in #1797
- Add atomic swaps to Matching Engine README. by @afck in #1794
- Use the wrappable hash and simplifies the views by @MathieuDutSik in #1779
- Add an ArcChainClient wrapper by @afck in #1805
- Move non fungible e2e test by @andresilva91 in #1808
- Including native-fungible and non-fungible READMEs into the readme test by @andresilva91 in #1809
- Introduction of a single server for the test files by @MathieuDutSik in #1781
- Create separate contract and service types with the runtime instance by @jvff in #1778
- Adding minter to mint mutation for NFTs by @andresilva91 in #1806
- Make the
linera-storage-service
handle requests and replies that have size higher than 4M. by @MathieuDutSik in #1788 - `linera...
v0.9.0
Linera: v0.9.0 update
We're very excited to publish Linera v0.9.0! 🚀
We've been working hard to improve the Linera protocol as part of our mission to deliver truly scalable Web3 infrastructure.
Summary
This release we focused on internal improvements which won't be as visible to the end-user, with a focus on improving performance and system stability.
For a more in-depth breakdown see the 'What's Changed' section.
What's Changed
- Expand the size in the tombstone correction. by @MathieuDutSik in #1582
- Bump tombstone limit by @christos-h in #1627
- Moving AccountOwner to linera-base by @andresilva91 in #1624
- Reduce work in CI by @ma2bd in #1636
.github/workflows
: use upstream Rust actions by @Twey in #1634scripts/check_copyright_header
: give more useful feedback by @Twey in #1635- Fix a couple of bugs in
cargo-sort
by @Twey in #1631 - Make end-to-end tests work with non-zero fees, and with Devnet. by @afck in #1632
- Allow skipping fields in Witty by @jvff in #1642
- Add a
SharableView
trait by @jvff in #1641 - Get rid of
*_approx
in the end-to-end tests. by @afck in #1644 - nit: about empty log line when starting services by @ma2bd in #1639
- Update toolchain to 1.75 by @Twey in #1643
linera-execution
: Feature-gate Prometheus by @Twey in #1628- Moving system::Account to linera-base by @andresilva91 in #1645
- silence "unknown lints" warning in two files by @ma2bd in #1647
- Implement the shared storage for memory/rocksDb by @MathieuDutSik in #1525
- Creating pd-balanced StorageClass for GCP by @andresilva91 in #1646
- Default to charging fees from the chain account by @ma2bd in #1638
- Implement pagination for
DynamoDB
andScyllaDB
. by @MathieuDutSik in #1654 - Use the assert_matches crate: more helpful output. by @afck in #1663
- Fix code generated for
struct
s with named fields where only one field is skipped by @jvff in #1664 - Closed chains still reject messages. by @afck in #1661
- Introduction of the
AdminKeyValueStore
by @MathieuDutSik in #1640 - Implement a child process for the linera storage server by @MathieuDutSik in #1662
- Sender fees by @ma2bd in #1626
- Waive block fee on closed chains; disallow empty blocks. by @afck in #1670
- Allow rejecting protected messages on closed chains. by @afck in #1669
- Put both the received and the expected epoch in the InvalidEpoch error. by @afck in #1667
- Address the test of existence of child storage service server by @MathieuDutSik in #1673
- Make Error an associated type of AdminKeyValueStore. by @afck in #1665
- Improve InsufficientRound error message. by @afck in #1676
- The faucet must remember the pending block after a restart. by @afck in #1677
- Root chains are subscribed to admin chain from the start. by @afck in #1674
- Improve generics support for the
#[wit_export]
macro by @jvff in #1660 - Refactor Witty feature flags by @jvff in #1672
scripts/linera_net_helper.sh
: stop littering the current directory with temp files by @Twey in #1682- Upgrade to
rand
0.8 everywhere by @Twey in #1678 - Print weights in CommunicationError::Sample by @afck in #1689
- Use configured cross-chain message delivery in FinalizeBlock. by @afck in #1691
- Simplify ValidatorUpdater. by @afck in #1690
- Don't skip if locked block is from different round. by @afck in #1693
- Make linera-execution test utilities public. by @afck in #1694
- change protocol version to 0.9.0 on the main branch by @ma2bd in #1697
Full Changelog: v0.8.0...v0.9.0
v0.8.0
Linera: v0.8.0 update
We're very excited to publish Linera v0.8.0! 🚀
We've been working hard to improve the Linera protocol as part of our mission to deliver truly scalable Web3 infrastructure.
Summary
This release we focused on internal improvements which won't be as visible to the end-user, with a focus on improving performance and system stability.
For a more in-depth breakdown see the 'What's Changed' section.
Upgrading
This update is backwards compatible so you can use your existing wallet from v0.7.1 to continue interacting with the Linera devnet.
You should however update your client by running: cargo install linera-service --bin linera
.
What's Changed
- improve version check by @ma2bd in #1580
- Print more information if request_leader_timeout test assert fails. by @afck in #1583
- Remove most of the meta-counter README. by @afck in #1584
- Add GIT_COMMIT override for version info by @Twey in #1586
- change protocol version to 0.8.0 on the main branch by @ma2bd in #1585
- nit: Rename system_balance in callbacks and chain info queries by @ma2bd in #1574
- improvements to the CLI by @ma2bd in #1577
- Measure the latency to load a chain by @jvff in #1592
VersionInfo
: addget()
method to dynamically get version info by @Twey in #1591- Add git_commit label to Dockerfile by @andresilva91 in #1590
- Improve dashboard tags by @andresilva91 in #1596
- Fix fuel consumption tracking by @jvff in #1599
- Expand the scope of the temporary directories in
RocksDb
by @MathieuDutSik in #1595 .github/workflows/rust.yml
: use fixed version ofcargo-sort
by @Twey in #1597- Removing uneeded Rc usages by @andresilva91 in #1618
- Deduplicate LineraNetConfig impls. by @afck in #1622
- Separate version logic into
linera-version
crate by @Twey in #1594 - Support prepared queries in the
ScyllaDb
code by @MathieuDutSik in #1598 - Add a metric for the number of times
OpenChain
is executed by @jvff in #1625
Full Changelog: v0.7.1...v0.8.0
v0.7.1
What's Changed
- Parallelize cluster initialization by @andresilva91 in #1286
- Wait for Scylladb initialization instead of failing by @andresilva91 in #1293
- Add
specialize
attribute to Witty by @jvff in #1294 linera-sdk
: surface GraphQL errors in failure output by @Twey in #1301linera-views
: Generalize API inmap_view
by @Twey in #1302- Improvement to the
stored_size
code. by @MathieuDutSik in #1298 - Implement the total stored size in storage fees by @MathieuDutSik in #1224
- Change the use statements for smart contracts by @MathieuDutSik in #1299
- CI: correctly deny doc warnings by @Twey in #1304
- Removal of the "delete" and "write_delete". by @MathieuDutSik in #1297
- Update AWS crates by @ma2bd in #1307
- update
linera project new
by @ma2bd in #1306 - Add proxy-internal service to Kubernetes by @andresilva91 in #1314
- Register
#[witty_specialize_with]
attribute by @jvff in #1318 - Fix k8s-local config hosts by @andresilva91 in #1315
- Address two bugs with the handling of prefixes by @MathieuDutSik in #1309
- Stop limiting docker image loading concurrency by @andresilva91 in #1313
- Support custom user data in host functions exported with Witty by @jvff in #1310
- Fix Witty specialization inside tuple types by @jvff in #1321
- Use more suitable tokio Command functions by @andresilva91 in #1319
- Enable --copy for mac users on build_and_redeploy by @andresilva91 in #1311
- Remove total from message limit warning. by @afck in #1324
- Fix support for nested
enum
s in Witty by @jvff in #1323 linera-views
: Add local guard newtypes by @Twey in #1300- Remove
GraphQLView
by @Twey in #1280 - Pass one e2e and one wasm e2e test with Kubernetes by @andresilva91 in #1317
- Box chain manager info fields by @afck in #1329
linera-views
: refactortry_load_entry{,_mut}
by @Twey in #1331- Kill build_and_redeploy by @andresilva91 in #1333
- Increased ingress connection timeouts by @christos-h in #1345
- Support directly testing the existence of keys without downloading the key. by @MathieuDutSik in #1325
- Retry immediately if gRPC client loses connection. by @afck in #1346
- Use runtime actor instead of &dyn trait for all types of contracts by @ma2bd in #1328
- Upgrade Rust to version 1.74.0 by @afck in #1353
- Add a ticker symbol to the fungible example. by @afck in #1349
- Manage the contract execution thread generically from the runtime by @ma2bd in #1351
fungible
: fix web frontend for new GraphQL API by @Twey in #1357- Create new runtime interface for the contract execution thread by @ma2bd in #1352
- Fix panic on user application errors by @jvff in #1350
- Update fungible UI README file. by @afck in #1358
- Clarify the wallet init warning. by @afck in #1360
- Nix update by @Twey in #1359
- Clap 4 by @Twey in #1348
- Moving build-image.yaml to linera-infra by @andresilva91 in #1368
flake.nix
: use a prebuiltrocksdb
to speed compilation by @Twey in #1369- Append environment arguments before the sub-command arguments by @jvff in #1376
- Validate application parameters inside
initialize
of every example by @jvff in #1373 - Fix MatchingEngineApp::get_account_info. by @afck in #1374
- Document CLI by @Twey in #1370
- Introduce
contains_hash
for theStorage
by @MathieuDutSik in #1385 - Add a faucet endpoint to return the current list of validators. by @afck in #1383
- Speed up
find_received_certificates
. by @afck in #1384 - Rename
GreatestLowerBoundIterator
toSuffixClosedSetIterator
by @MathieuDutSik in #1381 - Add linera_base::sync::Lazy by @ma2bd in #1375
- Fix ChainClient::identity if an owner is regular and super. by @afck in #1391
- Display fungible ticker symbol in the UI. by @afck in #1356
- Improvement to the SDK support of
contains_key
andread_multi_values_bytes
by @MathieuDutSik in #1354 - Make make_client async by @andresilva91 in #1377
- Add initial_balance parameter to open_and_assign by @andresilva91 in #1378
- Add initial_funding parameter to create_genesis_config by @andresilva91 in #1379
- Pass all Wasm e2e tests with Shared Kubernetes cluster by @andresilva91 in #1380
- Unify e2e tests and pass all with Shared Kubernetes cluster by @andresilva91 in #1388
- fix: use the
linera_base::sync::Lazy
instead ofonce_cell::sync::Lazy
by @duguorong009 in #1371 - Allow different system runtime implementations by @ma2bd in #1393
- Dynamic support for experimental runtimes by @ma2bd in #1395
- move the client call to stage_block_execution outside of the communication action by @ma2bd in #1402
- Box ChainInfo to prevent stack overflows. by @afck in #1403
- Simplify Wasm modules by @ma2bd in #1399
- feat: add 3 new fields to
ChainStateView::tip_state
(ChainTipState) by @duguorong009 in #1397 - Remove obsolete docker/local-tests. by @afck in #1404
- Introduce
PriceAsk/PriceBid
for the matching engine. by @MathieuDutSik in #1396 - Introduce pagination for Scylla by @MathieuDutSik in #1394
linera-service
: don't drop errors inLocalKubernetesNet::run
by @Twey in #1407- Allow mutable access to custom user data by @jvff in #1408
- Have client discard incoming messages that fail to execute by @ma2bd in #1410
flake.nix
: add kind and Kubernetes by @Twey in #1406linera-service
: remove some unnecessary allocations by @Twey in #1405- Implement integration test for the
matching_engine
smart contract by @MathieuDutSik in #1400 - Correct the authentication of the matching engine application. by @MathieuDutSik in #1411
- Adding option to net up --kubernetes to build within docker container by @andresilva91 in #1409
- Check copyright headers in examples by @jvff in #1415
- Enable the end-to-end test for the matching_engine. by @MathieuDutSik in #1414
- Add synchronous runtime and make it the default for Wasm system APIs by @ma2bd in #1398
- Fix infinite loop in `proces...
v0.6.0-alpha
What's Changed
- Test example bash snippets by @Twey in #1158
- Log proxy side metrics to Prometheus by @andresilva91 in #1166
- Log server request latency per request type by @andresilva91 in #1165
- Log proxy request latency by @andresilva91 in #1169
- Log proxy request count by @andresilva91 in #1170
- Log proxy request success by @andresilva91 in #1171
- Log proxy request error by @andresilva91 in #1172
- Adds a .editorconfig file with preferred defaults by @Twey in #1175
- Fix deadlock in
ChainClient::listen
by @jvff in #1173 - Simplify the input for
linera_db
. by @MathieuDutSik in #1184 - Log transaction count by @andresilva91 in #1164
- Implement storage fees and limits by @MathieuDutSik in #1155
- Listen to all the chains in the wallet by @ma2bd in #1058
cargo upgrade
by @Twey in #1178- Copy existing binaries to Docker image by @andresilva91 in #1188
- Change Kubernetes CI to copy existing binaries by @andresilva91 in #1189
- Create trait
LineraNet
so that e2e tests can drive other types of test nets by @ma2bd in #1190 - Switch GitHub actions to actions-rust-lang/setup-toolchain by @Twey in #1182
- Parameterize Dockerfile on platform and env by @Twey in #1192
- Dockerfile optimization by @Twey in #1194
- Add linera faucet command. by @afck in #1195
- Run Wasm guest code in separate threads by @jvff in #1148
- Return chain ID and certificate hashes from the faucet claim mutation. by @afck in #1197
- Unify Dockerfile and Dockerfile.copy by @Twey in #1198
- Dont panic if the
RuntimeActor
stops by @jvff in #1208 - Improve clarity of
RuntimeActor
code by @jvff in #1209 - Update CONTRIBUTING.md - Fix some typos by @MartinKong1990 in #1210
- Merge chain managers by @afck in #1109
- Use
--with-wallet
in examples by @Twey in #1202 - Add initial balance to OpenChain. by @afck in #1201
- Remove unused opt_list by @andresilva91 in #1204
- Running formatter on build_and_redeploy by @andresilva91 in #1205
- Some fixes on build_and_redeploy by @andresilva91 in #1206
- Remove unnecessary comments by @andresilva91 in #1216
- Add
prometheus
metrics related to thestorage
. by @MathieuDutSik in #1196 - Add --faucet argument to wallet init command. by @afck in #1211
- Using errexit on build_and_redeploy.sh by @andresilva91 in #1212
- Use rustls instead of openssl by @andresilva91 in #1215
- Update the version of
DynamoDb
. by @MathieuDutSik in #1214 - Fix Cloud builds by @andresilva91 in #1219
- Fix helm install when running Cloud built image locally by @andresilva91 in #1221
- Simplify GenesisConfig. by @afck in #1223
- Make interface between Wasm guests and the host synchronous by @jvff in #1225
- Fix Linera SDK Wasm tests by @jvff in #1233
- Remove
async_determinism
module by @jvff in #1234 - Validators use TLS by @christos-h in #1207
- Faucet listens for connections of 0.0.0.0 instead of 127.0.0.1 by @christos-h in #1235
- Renamed cloud build file by @christos-h in #1236
- Fix opening a chain without its grandparent by @afck in #1220
rust-toolchain.toml
: bump Rust to latest stable (1.73) by @Twey in #1232- Implement progressive fees by @MathieuDutSik in #1226
- Simplify the
from_bytes_opt
. by @MathieuDutSik in #1240 - Add --limit-rate-until to faucet command. by @afck in #1238
- Bumped versions to 0.6.0 by @christos-h in #1243
- Fix build_and_redeploy by @andresilva91 in #1244
- Clean types in
collect()
statements. by @MathieuDutSik in #1241 - Save pending block in wallet; add retry command. by @afck in #1242
- Let faucet provide the genesis config. by @afck in #1246
- Verify data after initializing the wallet. by @afck in #1248
- Use a
RwLock
over the contract system runtime to prevent data races by @jvff in #1239 - Upgrade
syn
to v2 by @Twey in #1250 - Filterable map views by @Twey in #1237
- CI: add timeouts and reduce CPU costs by @ma2bd in #1253
- Codify linting toolchain by @Twey in #1251
- Rename now to local_time. by @afck in #1249
- Add a network name to the genesis config. by @afck in #1252
- Implement a
max_key_size()
by @MathieuDutSik in #1181 - Explore
ChainState
by @Twey in #1247 - Split WasmApplication into WasmContract and WasmService by @ma2bd in #1258
- linera net up --kubernetes initial version by @andresilva91 in #1231
- [prometheus] Don't log high cardinality labels by @andresilva91 in #1262
- Print more useful info on build_and_redeploy by @andresilva91 in #1256
- Fix deadlock in
ChainListener
by @jvff in #1266 - Add timeouts for reqwest clients by @christos-h in #1261
- Code improvements in linera-storage by @ma2bd in #1267
- Add
--tokio-threads
option to command line tools by @jvff in #1268 - Improvements to
MapView
by @MathieuDutSik in #1259 - linera net up --kubernetes multiple validators by @andresilva91 in #1255
- Codify lint toolchain, Mk.II by @Twey in #1260
- Renamings related to KeyValueStore by @MathieuDutSik in #1276
- Use local node notifications in the chain listener. by @afck in #1183
- Increasing aio-max-nr only on kind clusters by @andresilva91 in #1273
- Increase Helm Install timeout to 10m by @andresilva91 in #1275
- Resolution of two bugs in the MapView and KeyValueStoreView. by @MathieuDutSik in #1284
- UDP network can now wait for outgoing messages by @ma2bd in #1283
- Properly cleanup if something fails on linera net up --kubernetes by @andresilva91 in #1274
- Remove unnecessary retry loop after #1220 by @ma2bd in #1285
- Implement the support of
stored_size
forKeyValueStoreView
. by @MathieuDutSik in #1287 - Remove retry loops when sending certificates by @ma2bd in https://github.com/linera-io/linera-p...
v0.5.0-alpha
What's Changed
- Quick fix to skip failing user messages by @ma2bd in #1072
- Nit on PR Template by @andresilva91 in #1074
- Updating local Kubernetes CI by @andresilva91 in #1062
- Make the numbers of validators and shards configurable in
linera net up
and e2e tests by @ma2bd in #1076 - Minor improvements to
ScyllaDb
support by @MathieuDutSik in #1051 - Better code for reading several keys in
ScyllaDb
. by @MathieuDutSik in #1077 - Getting rid of redeploy.sh by @andresilva91 in #1073
- fix: Make sure process_inbox cannot kill the ChainListener task by @ma2bd in #1080
- Make sure CI runs on every PR, even if stacked by @andresilva91 in #1079
- Up Kubernetes CI to 16 cores by @andresilva91 in #1085
- Removing sleep from build_and_redeploy.sh by @andresilva91 in #1078
- ignore certain changed paths during pull requests by @ma2bd in #1087
- Resolve bugs in DynamoDb support. by @MathieuDutSik in #1081
- Make key generation (optionally) reproducible for manual testing by @ma2bd in #1059
- Support
ScyllaDb
for the end-to-end tests by @MathieuDutSik in #1083 - Share notifiers and cache among chain clients; listen to local notifications. by @afck in #1088
- Remove unused ChainClient::new. by @afck in #1090
- Make ReentrantCollectionView available on Wasm by @ma2bd in #1066
- Fix typo in build_and_redeploy by @andresilva91 in #1100
- Fix application ID computation. by @afck in #1099
- Insertion of pagination code for
DynamoDb
and putting end-to-end tests forDynamoDb
. by @MathieuDutSik in #1091 - Improve CLI parsing in Wasm test runner by @ma2bd in #1106
- Simplify dependencies to Linera binaries by @ma2bd in #1107
- Log server side metrics to Prometheus by @andresilva91 in #1101
- Sort all Cargo.toml files by @andresilva91 in #1112
- Check if Cargo.toml is sorted on linter by @andresilva91 in #1113
- Rename some storage types to match the
Store
trait name. by @afck in #1108 - rename test-runner into linera-wasm-test-runner by @ma2bd in #1111
- Use anyhow's ensure and Context where appropriate. by @afck in #1116
- Reads the list of all the tables that have been installed for
DynamoDb
andScyllaDb
. by @MathieuDutSik in #1117 - add missing canonicalize for util::resolve_binary by @ma2bd in #1119
- Introduce error codes for
linera-db
tool by @MathieuDutSik in #1120 - Add option
linera project new --linera-root PATH
by @ma2bd in #1115 - Make CLI wrappers more type-safe. by @afck in #1121
- Change all metrics crate usage to Prometheus by @andresilva91 in #1105
- Introduction of crash resistant batching for ScyllaDB. by @MathieuDutSik in #1103
- Bump the version of RocksDB. by @MathieuDutSik in #1122
- Correct an error in
ScyllaDb
and handle one more scenario in the tests by @MathieuDutSik in #1123 - Fix hang in
find_key_values
by @jvff in #1129 - Scylla db in validator by @christos-h in #1125
- Small Dockerfile fix by @andresilva91 in #1132
- Fix resolve_binary (again) by @ma2bd in #1130
- Make it possible to use
linera net up
in bash scripts by @ma2bd in #1126 - Log number of blocks executed metric by @andresilva91 in #1133
- Log block execution latency metric by @andresilva91 in #1134
- Nit: change wording of counter creation expect by @andresilva91 in #1135
- Moved Prometheus ServiceMonitor to prometheus.yaml by @christos-h in #1127
- Log Wasm fuel used per block by @andresilva91 in #1137
- Use anyhow in CLI wrappers instead of panicking. by @afck in #1140
- Improve cli wrappers and linera tool by @ma2bd in #1143
- Fix RUST_LOG=debug cargo test readme by @ma2bd in #1142
- Add message counts to
ExecutedBlock
. by @afck in #1141 - Remove sleep from kubernetes GH action by @christos-h in #1149
- CI: build example applications ahead of tests for DynamoDb and ScyllaDb by @ma2bd in #1150
- Finish up some SDK APIs (breaking changes) by @ma2bd in #1151
- Log number of rounds in certificates by @andresilva91 in #1138
- Make Linera net helper script available to users of
cargo install
by @ma2bd in #1154 - Test the bash quotes of the README files of fungible in CI by @ma2bd in #1156
- Added loki to the validator by @christos-h in #1157
- Redoing stack ending on #1145 by @andresilva91 in #1161
- Log server request success by @andresilva91 in #1146
- Log server request error by @andresilva91 in #1147
- Prometheus log fixes by @afck in #1160
- Nix flake by @Twey in #1162
- Simplify linera_net_helper script by @Twey in #1163
- Partially undo renaming of query_application by @ma2bd in #1167
- Prepare release of crates v0.5.0 by @ma2bd in #1168
New Contributors
Full Changelog: v0.4.1...v0.5.0
v0.4.1-alpha
What's Changed
- [example] AMM by @andresilva91 in #893
- Use a different error type for operations on a local node by @ma2bd in #974
- Run existing Validators on GCP by @andresilva91 in #919
- avoid
realpath
in README files by @ma2bd in #983 - GraphQL BTreeMap keys as strings by @maxtori in #980
- Create ChainClientError to replace anyhow by @ma2bd in #977
- Extend chain info query and chain manager with stubs for leader timeouts. by @afck in #986
- Correctly support subscriptions in local node and test node by @ma2bd in #982
- Fix share_ownership: Don't remove keys. by @afck in #985
- Make Epoch a u32 by @afck in #992
- Restructuration of the database API code by @MathieuDutSik in #984
- Missed correction by @MathieuDutSik in #995
- Clean up impl_wrapped_number macro. by @afck in #994
- Add test utilities for creating blocks. by @afck in #998
- Fixing linera-proxy Kubernetes port by @andresilva91 in #1000
- Migrate to Rust toolchain 1.72.0 by @ma2bd in #996
- Restructure Kubernetes manifests under Helm by @christos-h in #997
- Experimental indexer for Linera chains by @maxtori in #883
- (easy) add 1 logging in simple_network by @ma2bd in #1007
- Cleanup kubernetes by @christos-h in #999
- Follow ups with indexer PR #993 by @ma2bd in #1006
- rename linera-execution::ApplicationId into GenericApplicationId by @ma2bd in #1004
- Changed validator protocol to Grpc by @christos-h in #1008
- Added Dockerfile for aarch64 used to run validators locally by @christos-h in #1009
- Fixing Docker build by @andresilva91 in #1010
- Add missing # to top of Dockerfile by @andresilva91 in #1012
- Fix Wasm spelling. by @afck in #1014
- Graphql client by @maxtori in #975
- Makes cross-chain messages unskippable by default by @ma2bd in #976
- Separate Wasm from other end-to-end tests. by @afck in #1013
- Move some end-to-end tests back out of the Wasm-specific module. by @afck in #1017
- Getting local requests to work with build_and_redeploy.sh by @andresilva91 in #1016
- Generic plugin explorer by @maxtori in #981
- Simplify Runnable trait. by @afck in #1022
- Add a test clock for more deterministic tests. by @afck in #1019
- Vitest by @maxtori in #1020
- Persistent volumes for shards by @christos-h in #1023
- Fix explorer CI. by @afck in #1027
- Address Compilation errors and correct
detect_current_features
. by @MathieuDutSik in #1028 - Adding Prometheus/Grafana to Helm deployment by @andresilva91 in #1021
- iterate on #1028 by @ma2bd in #1030
- Plugin deriver by @maxtori in #979
- More stable environment for vitest by @maxtori in #1031
- Scylladb indexer by @maxtori in #1018
- prometheus-kube-stack is now a helm dependency by @christos-h in #1032
- Report the execution step that triggered an execution error by @ma2bd in #1029
- Expose the end to end tests to different Storage systems by @MathieuDutSik in #1025
- Implement readme test for ScyllaDb by @MathieuDutSik in #1001
- Fault-tolerant multi-owner chain manager by @afck in #1024
- Make workers and chain clients built with TestBuilder share a TestClock. by @afck in #1042
- Implement ChainClient::request_leader_timeout by @afck in #1043
- Update locked block correctly in multi-owner chains. by @afck in #1046
- Rename "client" to "store" or "node" to disambiguate. by @afck in #1045
- [Issue #987] Replace is_err() with suitable messages by @ashu26jha in #1035
- Test nits by @ma2bd in #1049
- Add --storage param to Dockerfiles when creating config files by @andresilva91 in #1052
- Local k8s run script improvements by @andresilva91 in #1040
- Make sure tracing works on database_tool by @andresilva91 in #1053
- simplify .github/workflows/explorer.yml by @ma2bd in #1057
- rename linera_service/src/client.rs into cli_wrappers.rs by @ma2bd in #1055
- Fix local Kubernetes run after storage changes by @andresilva91 in #1054
- Avoid using
String::replace
to quote JSON in GraphQL queries by @ma2bd in #1063 - Enable WARN-level logging for ScyllaDB/DynamoDB CI. by @afck in #1065
- linera net up optionally generates extra wallets by @christos-h in #1039
- Update locked block from past rounds if we're not a validator. by @afck in #1064
- Shards are assigned an ID which is their StatefulSet ordinal by @christos-h in #1061
- update PR template by @ma2bd in #1068
- prepare new release by @ma2bd in #1067
- CI: use 16 cores instead of 8 cores by @ma2bd in #1070
New Contributors
- @ashu26jha made their first contribution in #1035
Full Changelog: v0.4.0...v0.4.1
v0.4.0-alpha
What's Changed
- Renaming Rocksdb by @MathieuDutSik in #920
- Implement ScyllaDb as a
KeyValueStoreClient
by @MathieuDutSik in #887 - Fix internal alignment in
frunk
heterogeneous lists by @jvff in #929 - Use heterogeneous lists in code generated by Witty derive macros by @jvff in #937
- Make round number a u32. by @afck in #938
- Ignore invalid notifications. by @afck in #939
- Add support for WIT variants by @jvff in #921
- Ensure votes are for the correct round in the updater by @afck in #942
- Add
wit_import
attribute macro to import functions from Wasm modules by @jvff in #944 - Add support for Wasmer in Witty by @jvff in #945
- linera project publish-and-create now uses workspace by @christos-h in #930
- Add support for Wasmtime in Witty by @jvff in #947
- Add a parameter
max_concurrent_queries
for controlling the number of concurrent queries by @MathieuDutSik in #931 - Fix graphql queries argument requirement by @maxtori in #949
- Allow creating multi-owner chains. by @afck in #950
- linera net up and client refactoring by @christos-h in #951
- Fix types in client wrapper: PublicKey, not Owner by @afck in #952
- Introduce more debugging techniques by @MathieuDutSik in #948
- Add
wit_export
attribute macro to export host functions to Wasm modules by @jvff in #955 - change the homepage of all crates to linera.dev by @ma2bd in #957
- Fix detection of fallible functions in Witty by @jvff in #959
linera project new
version derived from binary version by @christos-h in #956- Add reentrancy support to Witty by @jvff in #960
- Make wallet and storage explicit in READMEs with multiple wallets. by @afck in #961
- Introduction of the ScyllaDb CI. by @MathieuDutSik in #953
- ScyllaDb follow-ups by @ma2bd in #964
- Simplify generics for exporting reentrant functions with Witty by @jvff in #965
- New round notification, leader timeout value by @afck in #962
- Create data type(s) (Raw)OutgoingMessage by @ma2bd in #966
- Code generate mutation root by @christos-h in #954
- nit: quick follow up with #954 on mutation roots by @ma2bd in #970
- Several cleanups of the Database support and tests. by @MathieuDutSik in #967
- Kubernetes deployment for Validators by @andresilva91 in #973
- Workaround deadlock in tests during calls to sychronous system APIs by @jvff in #972
Full Changelog: v0.3.0...v0.4.0