Skip to content

Commit

Permalink
feat: state update job (#23)
Browse files Browse the repository at this point in the history
* feat(state_update_job): Init work

* feat(state_update_job): Updated configurations with rpc_url & providers

* feat(state_update_job): StarknetValidityContract added

* feat(state_update_job): saving state

* feat(state_update_job): Cleanup

* feat(state_update_job): conversions

* feat(state_update_job): added test data

* feat(state_update_job): moonsoong fork

* feat(state_update_job): cleanup

* feat(state_update_job): cleaning

* feat(state_update_job): Cleaning up

* feat(state_update_job): Update

* feat(state_update_job): Quick update

* feat(state_update_job): Cleaning/Renaming tests files

* feat(state_update_job): vscode files ignored

* feat(state_update_job):

* feat(state_update_job): starknet settlement

* feat(state_update_job):

* feat(state_update_job): fixing tests

* feat(state_update_job): Fixed tests

* feat(state_update_job):

* feat(state_update_job): Validating blocks to settle

* feat(state_update_job): verify inclusion

* feat(state_update_job): Docs

* feat(state_update_job): Quick refinements

* feat(state_update_job): Refactoring + tests

* feat(state_update_job): should_panic quick update

* feat(state_update_job): Added reason for rejected status

* feat(state_update_job): More context for piltover contract

* feat(state_update_job): Added comment about zaun impl

* feat(state_update_job): Added test case

* feat(state_update_job): external_id = last_tx_hash executed + verify inclusion

* feat(state_update_job): Restored lcov.info

* feat(state_update_job): propagating error

* feat(state_update_job): SettingsProvider used

* feat(state_update_job): Empty: error

* feat(state_update_job): Updated TODO

* feat(state_update_job): Linting

* feat(state_update_job): Restricted state update type + Verify inclusion check

* feat(state_update_job): verify inclusion tx

* feat(state_update_job): Fixes from review

* feat(state_update_job): Sorting imports

* feat(state_update_job): Refinement

* feat(state_update_job): Fixed tests

* feat(state_update_job): Simple comments for context

* feat(state_update_job): Updating job

* feat(state_update_job): Fixes from code review

* feat(state_update_job): Fixes from review

* feat(state_update_job): Fix from review

* feat(state_update_job): Fixed linter
  • Loading branch information
akhercha authored Jul 2, 2024
1 parent a4e6cba commit 00fc6f5
Show file tree
Hide file tree
Showing 56 changed files with 1,760 additions and 234 deletions.
14 changes: 12 additions & 2 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,28 @@ PORT=
DATABASE_URL=
MADARA_RPC_URL=
DA_LAYER=
SETTLEMENT_LAYER=

# Ethereum
ETHEREUM_PRIVATE_KEY=
ETHEREUM_RPC_URL=
MEMORY_PAGES_CONTRACT_ADDRESS=
STARKNET_SOLIDITY_CORE_CONTRACT_ADDRESS=


# Starknet
STARKNET_PUBLIC_KEY=
STARNET_PRIVATE_KEY=
STARKNET_RPC_URL=
STARKNET_CAIRO_CORE_CONTRACT_ADDRESS=

# MongoDB connection string
MONGODB_CONNECTION_STRING
MONGODB_CONNECTION_STRING=

# SQS
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=

# S3
AWS_S3_BUCKET_NAME=
AWS_S3_BUCKET_REGION=
AWS_S3_BUCKET_REGION=
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
/target
.env
.idea
.DS_Store
.DS_Store

*.code-workspace
.vscode
Loading

0 comments on commit 00fc6f5

Please sign in to comment.