-
Notifications
You must be signed in to change notification settings - Fork 6
WIP: Rust Indexer/Operator/Relayer #299
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
Open
serrrfirat
wants to merge
101
commits into
Nuffle-Labs:main
Choose a base branch
from
serrrfirat:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
101 commits
Select commit
Hold shift + click to select a range
a4ec9b3
wip: relayer-rs
serrrfirat 4c7582d
Remove near_sdk
serrrfirat 1047caf
Latest relayer
serrrfirat cd0ad87
metrics
serrrfirat 0eedfad
fix metrics and await
serrrfirat 7e332f6
wip: alloy-rs
serrrfirat 6307c17
wip: alloy-rs
serrrfirat 9a97d5d
Merge pull request #1 from firatsertgoz/relayer_rust
serrrfirat 9826a50
alloy-rs
serrrfirat bbc019d
clippy
serrrfirat e3bb9a8
config and main
serrrfirat d4a2229
feature parity
serrrfirat 3d155f4
Dockerfile
serrrfirat 4b52feb
docker-compose relayer-rs
serrrfirat ec0b13e
working relayer
serrrfirat 9bbc73b
Operator scaffold
serrrfirat 9560e6c
wip:near-lake
serrrfirat e5879da
types and stuff
serrrfirat 9b8e6ea
Merge branch 'NethermindEth:main' into main
serrrfirat a79ead3
fastnear
serrrfirat 4e36b32
types.rs
serrrfirat 3b9760d
wip: fastnear block listener
serrrfirat 09d1054
wip: tracing and get last final block
serrrfirat a02cbea
wip: makefile and cfg feature
serrrfirat ce3fce4
wip: add fastnear types
serrrfirat 00d88c9
broken: indexstreamer type, block_listner edits
serrrfirat bc57e36
wip: fastnear_indexer single run func
serrrfirat e51f66a
wip: added main function cfg flag
serrrfirat ea020a0
wip: some documentation
serrrfirat 7f43c80
wip: cfg fix and tracing
serrrfirat cf74716
wip: target name fix
serrrfirat e7c5d18
wip: docker compose setup
serrrfirat ed2dbe6
remove lake
serrrfirat f092561
Fixes compilation error in `block_listener` test suite
Fly-Style 3e650df
Merge pull request #2 from Fly-Style/fix/indexer-tests
serrrfirat 683f887
wip: changes on docker
serrrfirat e4919d9
wip: clippy
serrrfirat 88227d8
wip: README
serrrfirat ccfc34b
wip: docker compose fix
serrrfirat 916e42b
wip: building and workign fast near indexer for docker compose
serrrfirat 1751c0c
wip: docker compose fix connect rmq
serrrfirat 8c9161a
wip: indexer relayer integration docker compose
serrrfirat 20b9bf2
wip: operator-rs attestor skeleton
serrrfirat 01a7321
wip: attestor
serrrfirat 97fe987
wip: broken attestor, fix Arc
serrrfirat 85fc220
wip: compiles with missing functions
serrrfirat bed95b2
wip: consumer implementation
serrrfirat 5766be1
wip: commented out operator, unit tests for notifier
serrrfirat 48f162a
wip: some mocking and implementation
serrrfirat bfadaa8
wip: setup and operator-rs
serrrfirat bc2e407
wip: attestor setup, bls keypair, mock safeclient
serrrfirat bc93181
wip: safeclient in rust
serrrfirat 5624c06
wip: safeclient in attestor
serrrfirat 8dc05d7
wip: safeclient builds within docker compose
serrrfirat 0d250e0
wip: fix dockerfile so it doesn't break current indexer
serrrfirat cf1b4a4
wip: fix docker compose for setups
serrrfirat b14dfa6
wip: big cargo clean up
serrrfirat 016ebd0
wip: env.example
serrrfirat 2a08d9d
wip: add comments for config validation
serrrfirat 49db338
wip: add bookworm to dockerfile
serrrfirat 392c1ce
wip: add bookworm to fastinedexer dockerfile
serrrfirat 1e933b9
feat: reusable offchain workers
palozano 9fc8be8
chore: add receive lib abi
palozano 9d720c5
chore: fix overall flow
palozano 9e1c1ee
chore: preparing for deployment, lacking correct header
palozano 1b02a1e
chore: ordering
palozano d4b3c53
refactor: more modular for later executor
palozano a9508f8
chore: clean up
palozano af548f8
refactor: dotenv -> dotenvy
palozano f825036
chore: remove Cargo.lock
palozano 131c351
refactor: move config to `config-rs` crate
palozano 4a5cc5c
refactor: move to manual decoding
palozano 4894f4a
chore: modularize
palozano 290bb85
chore: address pr comments on the worker
palozano 263cb0e
chore: move some files to lib imports
palozano b9b81fb
chore: remove unused tests for now
palozano 62994a8
chore: reorder imports
palozano 5da950a
wip: fix dockerfile so it doesn't break current indexer
serrrfirat 58d2454
wip: fix docker compose for setups
serrrfirat c5359dc
wip: big cargo clean up
serrrfirat f1624fd
chore: remove unused
palozano 5bf79ef
chore: add tests to manual decoding
palozano 90c0e70
chore: use const instead of magic number
palozano 1433aac
chore: comments
palozano 9293854
chore: address pr comments
palozano ce2d6e6
chore: address pr comments
palozano 2d9d590
Update indexer/Dockerfile
palozano ed43e71
chore: fix after refactor
palozano 0ed696f
chore: bls bn254 signature takes two uint256
palozano ec06783
chore: remove v1 contract, leaving only v2 (without version suffix)
palozano 20a711c
chore: address comments
palozano b19f68e
chore: address pr comments
palozano 20ef139
chore: remove alloy-json-abi as external dep
palozano fbedff6
chore: broken test to share
palozano 2931fee
chore: fix after rebase
palozano 5cbfb64
refactor: manual encode/decode
palozano 22af924
chore: remove unused
palozano bbba6d4
chore: address pr comments
palozano 99ad04b
chore: solve conflicts
palozano 9287a5c
Merge branch 'main' into palozano/feat/workers
palozano f288183
Merge pull request #3 from palozano/palozano/feat/workers
serrrfirat File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Codebase verification
Template configuration files are missing and required
The audit reveals that while the repository contains numerous configuration-related files and directories, there are no template files (
*.example,*.template, or*.sample) for the specific DVN and Executor configurations mentioned in.gitignore. This is a significant oversight.config-filesdirectory and multiple configuration implementations across different componentsworkers/README.mdconfirms configuration is needed for operationconfig_dvn.tomlorconfig_executor.tomlRequired actions:
config_dvn.toml.examplewith documented configuration optionsconfig_executor.toml.examplewith documented configuration options🔗 Analysis chain
Template configurations should be provided.
While it's correct to ignore the actual configuration files, you should provide template files (e.g.,
config_dvn.toml.exampleandconfig_executor.toml.example) to guide developers on the required configuration format.The previous command had syntax issues. Let's try a broader search to understand the configuration setup in the repository and check if template files exist under different naming conventions.
Let's try a different approach using more basic commands to understand the configuration setup and documentation in the repository.
🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
Length of output: 186
Script:
Length of output: 325
Script:
Length of output: 1047