Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
101 commits
Select commit Hold shift + click to select a range
a4ec9b3
wip: relayer-rs
serrrfirat Sep 20, 2024
4c7582d
Remove near_sdk
serrrfirat Sep 20, 2024
1047caf
Latest relayer
serrrfirat Sep 20, 2024
cd0ad87
metrics
serrrfirat Sep 20, 2024
0eedfad
fix metrics and await
serrrfirat Sep 20, 2024
7e332f6
wip: alloy-rs
serrrfirat Sep 20, 2024
6307c17
wip: alloy-rs
serrrfirat Sep 20, 2024
9a97d5d
Merge pull request #1 from firatsertgoz/relayer_rust
serrrfirat Sep 20, 2024
9826a50
alloy-rs
serrrfirat Sep 21, 2024
bbc019d
clippy
serrrfirat Sep 21, 2024
e3bb9a8
config and main
serrrfirat Sep 21, 2024
d4a2229
feature parity
serrrfirat Sep 21, 2024
3d155f4
Dockerfile
serrrfirat Sep 22, 2024
4b52feb
docker-compose relayer-rs
serrrfirat Sep 22, 2024
ec0b13e
working relayer
serrrfirat Sep 22, 2024
9bbc73b
Operator scaffold
serrrfirat Sep 23, 2024
9560e6c
wip:near-lake
serrrfirat Sep 23, 2024
e5879da
types and stuff
serrrfirat Sep 23, 2024
9b8e6ea
Merge branch 'NethermindEth:main' into main
serrrfirat Sep 27, 2024
a79ead3
fastnear
serrrfirat Sep 27, 2024
4e36b32
types.rs
serrrfirat Sep 27, 2024
3b9760d
wip: fastnear block listener
serrrfirat Sep 28, 2024
09d1054
wip: tracing and get last final block
serrrfirat Sep 28, 2024
a02cbea
wip: makefile and cfg feature
serrrfirat Sep 28, 2024
ce3fce4
wip: add fastnear types
serrrfirat Sep 28, 2024
00d88c9
broken: indexstreamer type, block_listner edits
serrrfirat Sep 28, 2024
bc57e36
wip: fastnear_indexer single run func
serrrfirat Sep 29, 2024
e51f66a
wip: added main function cfg flag
serrrfirat Sep 29, 2024
ea020a0
wip: some documentation
serrrfirat Sep 29, 2024
7f43c80
wip: cfg fix and tracing
serrrfirat Sep 29, 2024
cf74716
wip: target name fix
serrrfirat Sep 29, 2024
e7c5d18
wip: docker compose setup
serrrfirat Sep 29, 2024
ed2dbe6
remove lake
serrrfirat Sep 29, 2024
f092561
Fixes compilation error in `block_listener` test suite
Fly-Style Oct 2, 2024
3e650df
Merge pull request #2 from Fly-Style/fix/indexer-tests
serrrfirat Oct 2, 2024
683f887
wip: changes on docker
serrrfirat Oct 5, 2024
e4919d9
wip: clippy
serrrfirat Oct 5, 2024
88227d8
wip: README
serrrfirat Oct 5, 2024
ccfc34b
wip: docker compose fix
serrrfirat Oct 5, 2024
916e42b
wip: building and workign fast near indexer for docker compose
serrrfirat Oct 5, 2024
1751c0c
wip: docker compose fix connect rmq
serrrfirat Oct 5, 2024
8c9161a
wip: indexer relayer integration docker compose
serrrfirat Oct 5, 2024
20b9bf2
wip: operator-rs attestor skeleton
serrrfirat Oct 5, 2024
01a7321
wip: attestor
serrrfirat Oct 6, 2024
97fe987
wip: broken attestor, fix Arc
serrrfirat Oct 6, 2024
85fc220
wip: compiles with missing functions
serrrfirat Oct 6, 2024
bed95b2
wip: consumer implementation
serrrfirat Oct 6, 2024
5766be1
wip: commented out operator, unit tests for notifier
serrrfirat Oct 10, 2024
48f162a
wip: some mocking and implementation
serrrfirat Oct 10, 2024
bfadaa8
wip: setup and operator-rs
serrrfirat Oct 13, 2024
bc2e407
wip: attestor setup, bls keypair, mock safeclient
serrrfirat Oct 13, 2024
bc93181
wip: safeclient in rust
serrrfirat Oct 13, 2024
5624c06
wip: safeclient in attestor
serrrfirat Oct 13, 2024
8dc05d7
wip: safeclient builds within docker compose
serrrfirat Oct 13, 2024
0d250e0
wip: fix dockerfile so it doesn't break current indexer
serrrfirat Oct 16, 2024
cf1b4a4
wip: fix docker compose for setups
serrrfirat Oct 16, 2024
b14dfa6
wip: big cargo clean up
serrrfirat Oct 16, 2024
016ebd0
wip: env.example
serrrfirat Oct 17, 2024
2a08d9d
wip: add comments for config validation
serrrfirat Oct 20, 2024
49db338
wip: add bookworm to dockerfile
serrrfirat Oct 20, 2024
392c1ce
wip: add bookworm to fastinedexer dockerfile
serrrfirat Oct 20, 2024
1e933b9
feat: reusable offchain workers
palozano Oct 9, 2024
9fc8be8
chore: add receive lib abi
palozano Oct 9, 2024
9d720c5
chore: fix overall flow
palozano Oct 10, 2024
9e1c1ee
chore: preparing for deployment, lacking correct header
palozano Oct 10, 2024
1b02a1e
chore: ordering
palozano Oct 11, 2024
d4b3c53
refactor: more modular for later executor
palozano Oct 15, 2024
a9508f8
chore: clean up
palozano Oct 15, 2024
af548f8
refactor: dotenv -> dotenvy
palozano Oct 15, 2024
f825036
chore: remove Cargo.lock
palozano Oct 15, 2024
131c351
refactor: move config to `config-rs` crate
palozano Oct 15, 2024
4a5cc5c
refactor: move to manual decoding
palozano Oct 16, 2024
4894f4a
chore: modularize
palozano Oct 17, 2024
290bb85
chore: address pr comments on the worker
palozano Oct 17, 2024
263cb0e
chore: move some files to lib imports
palozano Oct 17, 2024
b9b81fb
chore: remove unused tests for now
palozano Oct 17, 2024
62994a8
chore: reorder imports
palozano Oct 17, 2024
5da950a
wip: fix dockerfile so it doesn't break current indexer
serrrfirat Oct 16, 2024
58d2454
wip: fix docker compose for setups
serrrfirat Oct 16, 2024
c5359dc
wip: big cargo clean up
serrrfirat Oct 16, 2024
f1624fd
chore: remove unused
palozano Oct 17, 2024
5bf79ef
chore: add tests to manual decoding
palozano Oct 17, 2024
90c0e70
chore: use const instead of magic number
palozano Oct 17, 2024
1433aac
chore: comments
palozano Oct 17, 2024
9293854
chore: address pr comments
palozano Oct 17, 2024
ce2d6e6
chore: address pr comments
palozano Oct 18, 2024
2d9d590
Update indexer/Dockerfile
palozano Oct 18, 2024
ed43e71
chore: fix after refactor
palozano Oct 18, 2024
0ed696f
chore: bls bn254 signature takes two uint256
palozano Oct 18, 2024
ec06783
chore: remove v1 contract, leaving only v2 (without version suffix)
palozano Oct 18, 2024
20a711c
chore: address comments
palozano Oct 20, 2024
b19f68e
chore: address pr comments
palozano Oct 21, 2024
20ef139
chore: remove alloy-json-abi as external dep
palozano Oct 22, 2024
fbedff6
chore: broken test to share
palozano Oct 22, 2024
2931fee
chore: fix after rebase
palozano Oct 22, 2024
5cbfb64
refactor: manual encode/decode
palozano Oct 22, 2024
22af924
chore: remove unused
palozano Oct 23, 2024
bbba6d4
chore: address pr comments
palozano Oct 23, 2024
99ad04b
chore: solve conflicts
palozano Oct 23, 2024
9287a5c
Merge branch 'main' into palozano/feat/workers
palozano Oct 23, 2024
f288183
Merge pull request #3 from palozano/palozano/feat/workers
serrrfirat Oct 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
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,6 @@ setup/plugin/config/keys/ecdsa.json
# Near DA RPC libs
libnear_da_rpc_sys.*

# Ignore configuration for DVN or Executor
**/config_dvn.toml
**/config_executor.toml
Comment on lines +52 to +54
Copy link
Contributor

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.

  • The repository has a config-files directory and multiple configuration implementations across different components
  • Documentation in workers/README.md confirms configuration is needed for operation
  • No example configurations exist for config_dvn.toml or config_executor.toml

Required actions:

  1. Create config_dvn.toml.example with documented configuration options
  2. Create config_executor.toml.example with 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.example and config_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:

#!/bin/bash
# Check if example config files exist
fd -g "*config_dvn.toml.example" -g "*config_executor.toml.example"

Length of output: 186


Script:

#!/bin/bash
# Let's check for any config template or example files in the repository
fd -g "*config*.example" -g "*config*.template" -g "*config*.sample"

# Also search for any config-related files to understand the configuration structure
fd -g "*config*.toml"

# Let's also check the content of any README files that might mention configuration
rg -i "config.*\.(toml|example|template|sample)" -g "README*"

Length of output: 325


Script:

#!/bin/bash
# Let's check the repository structure for any configuration files or documentation
find . -type f -name "*.toml" -o -name "README*" | grep -i "config\|dvn\|executor"

# Search for any mentions of configuration in documentation
rg -i "configuration|config.*toml" -g "README*" -g "docs/*"

# Check if there are any configuration-related files in specific directories
ls -R | grep -i "config\|dvn\|executor"

Length of output: 1047

Loading