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

Feat 2.0 #383

Open
wants to merge 207 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
207 commits
Select commit Hold shift + click to select a range
d1d5150
Storing ApiVersion for sse events of the node from which the event wa…
zajko Feb 12, 2024
7511324
RPC sidecar changes (#231)
jacek-casper Feb 23, 2024
13accda
Replacing 'deploy' naming with 'transaction'. Replaced /deploy/(...) …
zajko Feb 27, 2024
ced3510
Move merkle proof to casper-types, fix compile errors and cleanup (#247)
jacek-casper Feb 27, 2024
b552709
Add an addressable entity endpoint (#249)
jacek-casper Feb 28, 2024
820fce5
Bump versions (#250)
jacek-casper Feb 28, 2024
980c976
Sync node fix (#251)
jacek-casper Feb 29, 2024
4406583
Adding network_name as a field in event_log. It is fetched from `/sta…
zajko Feb 29, 2024
ff4f272
Changed REST API endpoint so that they don't return simply the stored…
zajko Mar 5, 2024
458f708
Update usage of ReactorState (#256)
jacek-casper Mar 7, 2024
488332d
rpc-sidecar: include new style bid records in auction info
Mar 11, 2024
379e920
Merge pull request #259 from alsrdn/fix-bid-records-in-auction-info
alsrdn Mar 11, 2024
380cd41
Work done: (#257)
zajko Mar 13, 2024
fdbc585
Fix auction state tests (#260)
jacek-casper Mar 13, 2024
8b9f196
Added `enable_server` flag to all the internal components of sidecar …
zajko Mar 14, 2024
7003df5
Bump casper types and refresh test schema file (#263)
jacek-casper Mar 15, 2024
05626a7
Switch block reporting changes (#261)
jacek-casper Mar 18, 2024
dbed884
Updated oauth definition of endpoints. Reworded some things in docume…
zajko Mar 18, 2024
3aaa4ad
* Fixed import of dependency in `sqlite_database` - it caused bulding…
zajko Mar 19, 2024
3072c8a
Bump casper types
jacek-casper Mar 22, 2024
5a4b005
Add support for the new speculative execution results
Mar 25, 2024
f7b00f7
Use workspace-wide temporary patch for casper-types
Mar 25, 2024
b8b7fe2
Refreshed documentation so it reflects how users should interact with…
zajko Mar 26, 2024
12e9ddd
Speculative execution no longer needs 'block_identifier'
Mar 27, 2024
e0e98b6
Merge remote-tracking branch 'upstream/feat-2.0' into track-feat-2.0-…
Mar 27, 2024
67b9b02
Re-add temporarily commented code
Mar 27, 2024
45bfc5e
Remove stray debug artifact
Mar 27, 2024
3589624
Bumping dependencies of sidecar (#269)
zajko Mar 27, 2024
2cd7a9c
Update RPC schema
Mar 28, 2024
97b229a
Bump `juliet` version to `0.3`
Mar 28, 2024
6d3c03e
Merge pull request #271 from rafal-ch/bump_juliet
rafal-ch Mar 28, 2024
b24b905
Added metrics that trace response time of RPC methods. Removed PATH_A…
zajko Mar 28, 2024
dad08fd
Merge remote-tracking branch 'upstream/feat-2.0' into track-feat-2.0-…
Mar 29, 2024
2f54517
Update JSON schema
Mar 29, 2024
55f474e
Update RPC schema to cover `gas_price_tolerance`
Apr 3, 2024
a22f521
Remove stray debug print
Apr 3, 2024
3cf155e
Leverage new dictionary request (#267)
jacek-casper Apr 4, 2024
47ee5fb
Re-enable support for `latest_switch_block_hash` in status
Apr 5, 2024
43e8ee8
Merge remote-tracking branch 'upstream/feat-2.0' into track-feat-2.0-…
Apr 5, 2024
ae07fbc
Update dependencies
Apr 8, 2024
723aaec
Merge pull request #268 from rafal-ch/track-feat-2.0-spicy-merge
rafal-ch Apr 8, 2024
e4abcfa
Updated casper-types to include deserialization fixes (#276)
zajko Apr 10, 2024
c7988fa
Use EntityAddr instead of AddressableEntityHash (#275)
jacek-casper Apr 11, 2024
c87274d
Binary port balance query (#274)
jacek-casper Apr 11, 2024
016a0f2
Added 'rpc.discover' method to speculative json rpc api (#278)
zajko Apr 11, 2024
c4c88cf
Correct RPC method names (#279)
jacek-casper Apr 23, 2024
c91da28
Bringing back /main /deployss /sigs events to sidecars SSE server. Fo…
zajko Apr 26, 2024
42d1324
Remove 'juliet' from the RPC sidecar (#289)
rafal-ch Apr 29, 2024
c5fb3b5
Point casper-node dependency back at the main repo (#291)
jacek-casper Apr 29, 2024
2dfbd88
Execution result should be null (#287)
zajko Apr 29, 2024
41c2b4e
Bump casper-types (#293)
jacek-casper Apr 30, 2024
7ef6e7c
Balance cleanup (#292)
jacek-casper Apr 30, 2024
a3533ba
Making 'emulate_legacy_sse_apis' config value optional, defaulting to…
zajko Apr 30, 2024
2f47b5b
Update casper node dependencies (#297)
jacek-casper May 7, 2024
fb41154
Mapping for legacy filters (#290)
zajko May 7, 2024
8aa3710
Bump casper-node dependencies (#299)
jacek-casper May 7, 2024
27b5362
Add test for binary port reconnection
May 7, 2024
23d8f4f
Fix reconnection for node client
May 7, 2024
e91a4e0
Merge pull request #300 from rafal-ch/add_reconnection_test
rafal-ch May 7, 2024
949d502
Updated flow, wording, and some configs in the main README
ipopescu May 9, 2024
8a346a4
Edited USAGE and formatting error
ipopescu May 9, 2024
883006e
Add TOC in main README
ipopescu May 9, 2024
2b8726d
Improved flow in main README
ipopescu May 9, 2024
6e52419
Removed duplication in the ETC_README for node operators
ipopescu May 9, 2024
587d601
Updated example config files
ipopescu May 9, 2024
9e66a4c
Remove "event" sidecar wording from files, since it does more now
ipopescu May 9, 2024
dcfdd81
Cleaned up rpc_sidecar/README.md
ipopescu May 9, 2024
0e28aca
Add logo and license to the main README
ipopescu May 9, 2024
b5016f0
Minor spelling update
ipopescu May 9, 2024
a262515
Add back details after checking with the devs.
ipopescu May 10, 2024
8cbb6bf
Initial modification in Cargo
darthsiroftardis May 10, 2024
1b11568
Update dependencies to address block restructure
May 10, 2024
deb2518
Fix translation of BlockV2's to legacy blocks
May 10, 2024
a9614a1
Update `read_balance` binary port request after updates to `GlobalSta…
May 10, 2024
de74e5d
Fix tests compilation issues
May 10, 2024
50e7051
Fix tests broken by changes to address block restructure, ignore 2 te…
May 10, 2024
d037ced
run cargo fmt
May 10, 2024
630d86c
Address failing test
darthsiroftardis May 13, 2024
467c36b
Address cargo fmt check
darthsiroftardis May 13, 2024
0bbe17f
Address PR ci issue
darthsiroftardis May 13, 2024
0bbf07e
Merge pull request #305 from darthsiroftardis/address-block-restructure
darthsiroftardis May 13, 2024
440fc93
Remove unwrap in state_get_auction_info (#302)
jacek-casper May 14, 2024
aa0a219
Retrieve entity named keys and entry points (#296)
jacek-casper May 14, 2024
0cba5c9
Added documentation for legacy translation. Fixed removed tests. Adde…
zajko May 14, 2024
79d5aef
expand error enums to capture the new values being sent by the binary…
May 15, 2024
09066c8
Update error handling for `account_put_deploy` and `account_put_trans…
May 15, 2024
c0f1726
Update RPC error enum to support the expanded binary port errors.
May 15, 2024
038d874
Merge branch 'feat-2.0' into 805_update_docs
ipopescu May 16, 2024
478dde3
Remove TODO
May 16, 2024
5136a45
Merge pull request #307 from zacshowa/expand-transaction-errors
zacshowa May 16, 2024
2c6bed0
Fix pre-1.5 auction state retrieval (#310)
jacek-casper May 17, 2024
7ce6bc4
Editing pass with open questions
ipopescu May 17, 2024
b23de19
Bump casper-node dependencies (#309)
jacek-casper May 20, 2024
1fb3a0f
Generate binary messages with incrementing IDs
May 22, 2024
237d177
Handle request id mismatch scenario
May 24, 2024
7116330
Add tests related to request id
May 24, 2024
21a46c4
Prevent deserialization of the original request when validating reque…
May 27, 2024
927e06f
Make tests compatible with the "request id" related change
May 27, 2024
d82ec86
Added comment message to all the legacy endpoints whic explains the d…
zajko May 28, 2024
3e40371
Prevent potential infinite loop when retrying to get a response from …
May 29, 2024
cf63f24
Bump casper-node dependencies (#316)
jacek-casper May 30, 2024
8f44aeb
Bump casper-node dependencies (#317)
jacek-casper Jun 3, 2024
a310fb5
Updates to final configs for current version.
sacherjj Jun 3, 2024
6369daa
Resolved questions and using full labels
ipopescu Jun 3, 2024
de90e9c
Merge branch 'feat-2.0' into 805_update_emulation_doc
ipopescu Jun 3, 2024
ab19737
Validate config to check whether any server is enabled (#320)
jacek-casper Jun 3, 2024
764e64c
Review feedback
ipopescu Jun 3, 2024
dfbe60a
Review feedback
ipopescu Jun 3, 2024
e38a2a2
Update diagram labels for consistency
ipopescu Jun 4, 2024
746f6e6
Merge branch '805_update_docs' of https://github.com/casper-network/c…
ipopescu Jun 4, 2024
286fef4
Add a brief introduction
ipopescu Jun 4, 2024
58dfb90
Minor error fix
ipopescu Jun 4, 2024
c1af7cf
Temporarily point to forked node repo with necessary changes
Jun 5, 2024
e5de10a
Promote binary port error from `u8` to `u16`
Jun 6, 2024
711b267
Merge remote-tracking branch 'upstream/feat-2.0' into binary_port_fixes
Jun 6, 2024
7a72933
Update `casper-binary-port` and `casper-types` dependencies
Jun 6, 2024
a2801e8
Satisfy clippy
Jun 6, 2024
598593c
Update formatting
Jun 6, 2024
5dd23af
Review feedback incl. updated highlighting
ipopescu Jun 7, 2024
7346fe3
casper-json-rpc updated highlighting and cleanup
ipopescu Jun 7, 2024
4aa3748
Review feedback
ipopescu Jun 7, 2024
b880b85
Merge pull request #303 from casper-network/805_update_docs
ipopescu Jun 7, 2024
74c42b0
Review feedback - remove HTML
ipopescu Jun 7, 2024
8f8a786
Implement the reward endpoint (#321)
jacek-casper Jun 7, 2024
10c8301
Merge pull request #319 from casper-network/805_update_emulation_doc
ipopescu Jun 7, 2024
c4d46cd
Merge remote-tracking branch 'upstream/feat-2.0' into binary_port_fixes
Jun 12, 2024
d362961
Update expected schemas for min/max delegation amounts
Jun 12, 2024
3818015
Point `casper-types` and `casper-binary-port` back to `feat-2.0`
Jun 12, 2024
843d24b
Update expected schemas for min/max delegation amounts
Jun 12, 2024
4add99d
Merge pull request #322 from rafal-ch/update_deps
rafal-ch Jun 13, 2024
91972f4
Update dependencies
Jun 13, 2024
5346eb3
Add installation steps
ipopescu Jun 14, 2024
4eaa6a3
Add usage steps for replaying events
ipopescu Jun 14, 2024
4127a85
Temporarily point to repo with binary port changes
Jun 18, 2024
d573845
Merge remote-tracking branch 'upstream/feat-2.0' into binary_port_fixes
Jun 18, 2024
8201b54
Bring back dependencies to `feat-2.0`
Jun 18, 2024
c617b17
Update schemas to cover `transaction_category`
Jun 18, 2024
bab93a8
Update test fixture to cover `transaction_category`
Jun 18, 2024
e25d297
Merge pull request #315 from rafal-ch/binary_port_fixes
rafal-ch Jun 18, 2024
d8fabae
Merge pull request #323 from casper-network/add_installation
ipopescu Jun 19, 2024
a4ca4bc
Merge branch 'feat-2.0' into debian-package-updates
sacherjj Jun 20, 2024
5854bba
Bypass security audits for now.
sacherjj Jun 20, 2024
7438805
Merge pull request #318 from sacherjj/debian-package-updates
sacherjj Jun 20, 2024
4979d3f
Handle error codes recently added to binary port
Jun 27, 2024
c5d2614
Merge pull request #327 from rafal-ch/handle_new_error_codes
rafal-ch Jun 27, 2024
f47133e
Making SSE event storage optional. From now the [sse_server] config s…
zajko Jul 2, 2024
44ec8ef
Fixing Sidecar config which allows the whole [storage] section to be …
zajko Jul 2, 2024
1872df7
Expose delegation rate in reward responses (#328)
jacek-casper Jul 4, 2024
3b915c1
Expose protocol version in status (#334)
jacek-casper Jul 5, 2024
907fe16
Bump dependencies for binary port and types
Jul 24, 2024
318a36d
Bump `vergen` and `reqwest` to dodge RUSTSEC issues
Jul 25, 2024
686413a
Adapt `lagging_clients_should_be_disconnected()` test to updated requ…
Jul 25, 2024
48fc103
Merge pull request #335 from rafal-ch/bump_dependencies
rafal-ch Jul 25, 2024
055e6d0
Return the switch block hash with rewards response (#336)
jacek-casper Jul 26, 2024
476600b
Handle purse not found error (#337)
jacek-casper Jul 26, 2024
83bdb66
Bump casper-types dependency (#338)
jacek-casper Aug 20, 2024
df5d9da
Get entity get package (#341)
zajko Sep 11, 2024
fca0147
Updating casper-node dependency to use new Transaction definition; up…
zajko Oct 25, 2024
b92a114
add initial retry in request handler
Nov 4, 2024
a653855
update gitignore
Nov 4, 2024
aa42814
update reconnect test
Nov 6, 2024
7ebd64f
reduce code duplication
Nov 7, 2024
acb2f17
add config typing for addresses
Nov 12, 2024
5b307f1
fix linter errors
Nov 7, 2024
a630bc4
Merge pull request #349 from teonite/rpc_graceful_reconnect
wojcik91 Nov 12, 2024
32a4729
Merge branch 'feat-2.0' into parse_socket_addrs
Nov 12, 2024
bdfbacf
add optional network name to config
Nov 13, 2024
4a2767a
revert unintended changes
Nov 13, 2024
5cb7b00
Merge pull request #353 from teonite/parse_socket_addrs
wojcik91 Nov 13, 2024
53e7d1b
Merge branch 'feat-2.0' into validate_network_name
Nov 13, 2024
a111ac4
Updating dependency to casper-node; fixing `state_get_auction_info` c…
zajko Nov 14, 2024
06c1e68
validate network name on SSE connection
Nov 14, 2024
bc1323a
validate network name when connecting RPC client
Nov 14, 2024
04b5109
Merge branch 'feat-2.0' into validate_network_name
Nov 14, 2024
1d39e68
split address config into IP + port
Nov 14, 2024
0aee346
update example config files
Nov 15, 2024
7bcc087
updating dependencies to reflect newest "casper-types" (#362)
zajko Nov 19, 2024
1c6a2db
Merge pull request #358 from teonite/consistent_port_config
wojcik91 Nov 19, 2024
10f4ed2
Merge branch 'feat-2.0' into validate_network_name
Nov 20, 2024
89c086e
make network_name a top-level config option
Nov 20, 2024
db86dd0
use local duplicate of AuctionState struct
Nov 21, 2024
a881d1c
add keepalive checks
igor-casper Nov 22, 2024
33963cc
include request id in the keepalive payload
igor-casper Nov 25, 2024
817f63f
consume the response
igor-casper Nov 25, 2024
af91bc9
Aligning code with recent changes to casper-types, fixing auction_inf…
zajko Nov 25, 2024
037f9fd
Merge branch 'feat-2.0' into keep-alive-checks
igor-casper Nov 26, 2024
e8f2a69
apply formatting
igor-casper Nov 26, 2024
332b2d3
Aligning sidecar to latest changes in casper-node (#367)
zajko Nov 26, 2024
e9d12b0
fix tests
igor-casper Nov 26, 2024
25ad1c3
Merge pull request #368 from igor-casper/keep-alive-checks
igor-casper Nov 26, 2024
1c18a4c
Merge branch 'feat-2.0' into copy_auction_state_from_types
Nov 26, 2024
2df3c85
Merge branch 'feat-2.0' into validate_network_name
Nov 26, 2024
5ee2086
post-merge fixes
Nov 26, 2024
8bed099
update json schema
Nov 26, 2024
e9233e5
Repointing casper-node to v2.0.0-rc5 (#369)
zajko Nov 26, 2024
cfca75c
Merge branch 'feat-2.0' into copy_auction_state_from_types
Dec 3, 2024
6310c9e
Merge branch 'feat-2.0' into validate_network_name
Dec 3, 2024
a1a0c11
Merge pull request #357 from teonite/validate_network_name
wojcik91 Dec 3, 2024
61ba931
Merge pull request #364 from teonite/copy_auction_state_from_types
wojcik91 Dec 3, 2024
4e2b764
Aligning code with recent changes in the node (#374)
zajko Dec 4, 2024
36cbd02
handle standard interrupt signals
Dec 4, 2024
e558c5c
disable lint
Dec 4, 2024
a9c6b66
Merge pull request #375 from teonite/handle_unix_signals
wojcik91 Dec 4, 2024
3597922
Bumping dependencies (#378)
zajko Dec 10, 2024
b8d19f7
aligning with node changes (#382)
zajko Dec 18, 2024
6ed71c5
Repointing casper-node dependency to dev; applying fixes to be aligne…
zajko Jan 2, 2025
cbce3a8
Cutting rc3 (#389)
zajko Jan 10, 2025
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
9 changes: 5 additions & 4 deletions .github/workflows/ci-casper-event-sidecar-rs.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: ci-casper-event-sidecar
name: ci-casper-sidecar

on:
push:
Expand All @@ -13,6 +13,7 @@ on:
pull_request:
branches:
- "dev"
- "feat-*"
paths-ignore:
- '**.md'

Expand Down Expand Up @@ -44,9 +45,9 @@ jobs:
- name: audit
# Hope to get to here:
# run: cargo audit --deny warnings
# RUSTSEC-2022-0093 - that is an issue that comes form casper-types, need to update that depenency as soon as a new release is made
# RUSTSEC-2023-0071 - there is a transitive audit issue via sqlx. There is no fix for that yet, we should update dependencies once a fix is presented
run: cargo audit --ignore RUSTSEC-2022-0093 --ignore RUSTSEC-2023-0071
# RUSTSEC-2024-0363 - issue in sqlx 0.8.0, no fix available yet
run: cargo audit --ignore RUSTSEC-2023-0071 --ignore RUSTSEC-2024-0363

- name: test
run: cargo test
Expand All @@ -56,4 +57,4 @@ jobs:
cargo install cargo-deb

- name: deb
run: cargo deb --package casper-event-sidecar
run: cargo deb --package casper-sidecar
4 changes: 2 additions & 2 deletions .github/workflows/publish-casper-event-sidecar-deb.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: publish-casper-event-sidecar-deb
name: publish-casper-sidecar-deb

on:
push:
Expand Down Expand Up @@ -74,6 +74,6 @@ jobs:
uses: svenstaro/upload-release-action@133984371c30d34e38222a64855679a414cb7575 #v2.3.0
with:
repo_token: ${{ secrets.TOKEN_FOR_GITHUB }}
file: target/debian/casper-event-sidecar/*
file: target/debian/casper-sidecar/*
tag: ${{ github.ref }}
file_glob: true
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
/target
/test_output
/test_output
# direnv-related files
.direnv/
.envrc

Loading
Loading