Skip to content

Commit

Permalink
add interactions abi
Browse files Browse the repository at this point in the history
  • Loading branch information
mihanixa1 committed Apr 17, 2024
1 parent ca50122 commit 83283be
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 5 deletions.
File renamed without changes.
29 changes: 24 additions & 5 deletions services/tx_root_publisher/source/app/config.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,26 @@
import os

class PgConfig:
# POSTGRES_PASSWORD = os.getenv("POSTGRES_PASSWORD")
POSTGRES_DB = os.getenv("POSTGRES_DB")
POSTGRES_USER = os.getenv("POSTGRES_USER")
POSTGRES_HOST = "postgres"

class ContractsRelayerConfig:
INTERACTION_DATASET_ADDR = os.getenv("INTERACION_DATASET_ADDR")
RELAYER_PK: str = os.getenv("RELAYER_PK")
DATASET_ABI: dict = {
"abi": [{
"type": "function",
"name": "updateRoot",
"inputs": [
{
"name": "nextMerkleRoot",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "nextProofsHash",
"type": "bytes32",
"internalType": "bytes32"
}
],
"outputs": [],
"stateMutability": "nonpayable"
}]
}
Empty file.

0 comments on commit 83283be

Please sign in to comment.