diff --git a/.github/workflows/main_workflow.yml b/.github/workflows/main_workflow.yml index 79c699a6f8..bfbc1c9a70 100644 --- a/.github/workflows/main_workflow.yml +++ b/.github/workflows/main_workflow.yml @@ -110,8 +110,8 @@ jobs: pip install tomte[tox]==0.2.13 pip install --user --upgrade setuptools # install Protobuf compiler - wget https://github.com/protocolbuffers/protobuf/releases/download/v3.19.4/protoc-3.19.4-linux-x86_64.zip - unzip protoc-3.19.4-linux-x86_64.zip -d protoc + wget https://github.com/protocolbuffers/protobuf/releases/download/v24.3/protoc-24.3-linux-x86_64.zip + unzip protoc-24.3-linux-x86_64.zip -d protoc sudo mv protoc/bin/protoc /usr/local/bin/protoc # install IPFS sudo apt-get install -y wget @@ -204,8 +204,8 @@ jobs: pip install --user --upgrade setuptools # install Protobuf compiler - wget https://github.com/protocolbuffers/protobuf/releases/download/v3.19.4/protoc-3.19.4-linux-x86_64.zip - unzip protoc-3.19.4-linux-x86_64.zip -d protoc + wget https://github.com/protocolbuffers/protobuf/releases/download/v24.3/protoc-24.3-linux-x86_64.zip + unzip protoc-24.3-linux-x86_64.zip -d protoc sudo mv protoc/bin/protoc /usr/local/bin/protoc # install IPFS @@ -258,8 +258,8 @@ jobs: brew install gcc # brew install protobuf # brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/72457f0166d5619a83f508f2345b22d0617b5021/Formula/protobuf.rb - wget https://github.com/protocolbuffers/protobuf/releases/download/v3.19.4/protoc-3.19.4-osx-x86_64.zip - unzip protoc-3.19.4-osx-x86_64.zip -d protoc + wget https://github.com/protocolbuffers/protobuf/releases/download/v24.3/protoc-24.3-osx-x86_64.zip + unzip protoc-24.3-osx-x86_64.zip -d protoc sudo mv protoc/bin/protoc /usr/local/bin/protoc brew tap yoheimuta/protolint brew install protolint @@ -302,14 +302,14 @@ jobs: python -m pip install -U pip echo "::add-path::C:\Program Files (x86)\Windows Kits\10\bin\10.0.18362.0\x64" choco install wget -y - choco install protoc --version 3.19.4 + choco install protoc --version 24.3 choco install mingw -y choco install make -y # to check make was installed make --version pip install tomte[tox]==0.2.13 - # wget https://github.com/protocolbuffers/protobuf/releases/download/v3.19.4/protoc-3.19.4-win64.zip - # unzip protoc-3.19.4-win64.zip -d protoc + # wget https://github.com/protocolbuffers/protobuf/releases/download/v24.3/protoc-24.3-win64.zip + # unzip protoc-24.3-win64.zip -d protoc # sudo mv protoc/bin/protoc /usr/local/bin/protoc # TODO: install protolint @@ -386,8 +386,8 @@ jobs: pip install --user --upgrade setuptools # install Protobuf compiler - wget https://github.com/protocolbuffers/protobuf/releases/download/v3.19.4/protoc-3.19.4-linux-x86_64.zip - unzip protoc-3.19.4-linux-x86_64.zip -d protoc + wget https://github.com/protocolbuffers/protobuf/releases/download/v24.3/protoc-24.3-linux-x86_64.zip + unzip protoc-24.3-linux-x86_64.zip -d protoc sudo mv protoc/bin/protoc /usr/local/bin/protoc # install IPFS diff --git a/.gitignore b/.gitignore index 24026d4a36..488dae5995 100644 --- a/.gitignore +++ b/.gitignore @@ -403,11 +403,16 @@ packages/valory/protocols/contract_api packages/valory/protocols/http packages/valory/protocols/ledger_api -autonomy/data/contracts/registries_manager -autonomy/data/contracts/component_registry -autonomy/data/contracts/service_registry autonomy/data/contracts/agent_registry +autonomy/data/contracts/component_registry +autonomy/data/contracts/erc20 +autonomy/data/contracts/gnosis_safe +autonomy/data/contracts/gnosis_safe_proxy_factory +autonomy/data/contracts/multisend +autonomy/data/contracts/registries_manager autonomy/data/contracts/service_manager +autonomy/data/contracts/service_registry +autonomy/data/contracts/service_registry_token_utility .vscode/ @@ -419,4 +424,5 @@ leak_report temp/ logs.db +benchmarks.html agent/ \ No newline at end of file diff --git a/.pylintrc b/.pylintrc index 59c6ce472c..245ae911c7 100644 --- a/.pylintrc +++ b/.pylintrc @@ -3,7 +3,7 @@ ignore-patterns=.*_pb2.py,contract_dispatcher.py,test_abci_messages.py,test_tend ignore=packages/valory/protocols/abci,packages/valory/connections/abci/gogoproto [MESSAGES CONTROL] -disable=C0103,R0801,C0301,C0201,C0204,C0209,W1203,C0302,R1735,R1729,W0511 +disable=C0103,R0801,C0301,C0201,C0204,C0209,W1203,C0302,R1735,R1729,W0511,E0611 # See here for more options: https://www.codeac.io/documentation/pylint-configuration.html R1735: use-dict-literal @@ -16,6 +16,7 @@ C0209: consider-using-f-string C0301: http://pylint-messages.wikidot.com/messages:c0301 > Line too long C0302: http://pylint-messages.wikidot.com/messages:c0302 > Too many lines in module R0801: similar lines +E0611: no-name-in-module [IMPORTS] ignored-modules=pandas,numpy,aea_cli_ipfs,compose,multidict diff --git a/.spelling b/.spelling index e03f34190b..1cbf2d227f 100644 --- a/.spelling +++ b/.spelling @@ -420,4 +420,7 @@ selection_key 0.10.10.post1 unbond chiado -0.12.1.post1 \ No newline at end of file +0.12.1.post1 +0.12.1.post2 +0.12.1.post3 +0.12.1.post4 \ No newline at end of file diff --git a/HISTORY.md b/HISTORY.md index ae008fca2f..fa521e8e73 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,6 +1,44 @@ # Release History - `open-autonomy` +# 0.13.0 (2023-09-27) + +Autonomy: +- Replaces `open-aea-web3` with `web3py<7,>=6.0.0` +- Bumps `protobuf<5.0.0,>=4.21.6` +- Fixes `protobuf` incompatibility issue when importing hardware wallet plugin +- Refactors autonomy and agent images to + - Include install and build scripts in the base image + - Remove unwanted layers + - Remove unwanted data files + +Packages: +- Generates protocols using the latest compatible `protobuf` compiler +- Compiles the tendermint connection protocol buffers using the latest compatible `protobuf` compiler + +Chores: +- Bumps `protobuf` compiler to `24.3` + +# 0.12.1.post4 (2023-09-25) + +Autonomy: + +- Update the reuse multisig transaction builder to account for services with only one operator + +# 0.12.1.post3 (2023-09-21) + +Autonomy: + +- Pins `jsonschema<=4.19.0,>=4.16.0` + +# 0.12.1.post2 (2023-09-20) + +Autonomy: + +- Adds missing contract packages to the `eject-contracts` make target +- Adds check to make sure service is in `pre-registration` before updating the service hash +- Adds check to make sure all required environment variables are present for on-chain interactions + # 0.12.1.post1 (2023-09-14) Autonomy: diff --git a/Makefile b/Makefile index 49cf4c57bb..e76cf4a92d 100644 --- a/Makefile +++ b/Makefile @@ -130,7 +130,7 @@ install: clean .PHONY: eject-contracts eject-contracts: - @for contract in registries_manager service_manager component_registry agent_registry service_registry ; do \ + @for contract in component_registry agent_registry registries_manager service_manager service_registry gnosis_safe gnosis_safe_proxy_factory service_registry_token_utility multisend erc20 ; do \ echo Updating $$contract contract; \ rm -rf autonomy/data/contracts/$$contract ; \ cp -r packages/valory/contracts/$$contract autonomy/data/contracts/$$contract ; \ @@ -235,3 +235,19 @@ fix-abci-app-specs: release-images: skaffold build -p release --cache-artifacts=false && skaffold build -p release-latest + + +# Usage: INCLUDE=PATH_TO_PROTOC_INCLUDE_DIRECTORY make build-proto +.PHONY: build-proto +build-proto: + @protoc -I $$INCLUDE \ + --proto_path=packages/valory/connections/abci/protos/ \ + --python_out=packages/valory/connections/abci/ \ + packages/valory/connections/abci/protos/gogoproto/gogo.proto \ + packages/valory/connections/abci/protos/tendermint/crypto/proof.proto \ + packages/valory/connections/abci/protos/tendermint/crypto/keys.proto \ + packages/valory/connections/abci/protos/tendermint/abci/types.proto \ + packages/valory/connections/abci/protos/tendermint/types/types.proto \ + packages/valory/connections/abci/protos/tendermint/types/validator.proto \ + packages/valory/connections/abci/protos/tendermint/types/params.proto \ + packages/valory/connections/abci/protos/tendermint/version/types.proto \ No newline at end of file diff --git a/Pipfile b/Pipfile index df14a3b354..fb0a2aecf9 100644 --- a/Pipfile +++ b/Pipfile @@ -7,10 +7,10 @@ name = "pypi" aiohttp = "<3.8,>=3.7.4" docker = "==6.1.2" Flask = "==2.0.2" -open-aea = {version = "==1.39.0", extras = ["all"]} -open-aea-ledger-ethereum = "==1.39.0" -open-aea-ledger-ethereum-hwi = "==1.39.0" -open-aea-cli-ipfs = "==1.39.0" +open-aea = {version = "==1.40.0", extras = ["all"]} +open-aea-ledger-ethereum = "==1.40.0" +open-aea-ledger-ethereum-hwi = "==1.40.0" +open-aea-cli-ipfs = "==1.40.0" ipfshttpclient = "==0.8.0a2" Werkzeug= "==2.0.3" watchdog = ">=2.1.6" @@ -23,7 +23,7 @@ valory-docker-compose = "==1.29.3" aiohttp = "<3.8,>=3.7.4" asn1crypto = "<1.5.0,>=1.4.0" ecdsa = ">=0.15" -open-aea-web3 = "==6.0.1" +web3 = "<7,>=6.0.0" certifi = "*" multidict = "*" eth_typing ="*" @@ -32,16 +32,13 @@ typing_extensions = ">=3.10.0.2" hexbytes = "*" packaging = "*" pytest-asyncio = "*" -open-aea-ledger-cosmos = "==1.39.0" +open-aea-ledger-cosmos = "==1.40.0" # we pin this as the range specified in open-aea-ledger-cosmos is wide -open-aea-cosmpy = "==0.6.5" +open-aea-cosmpy = "==0.6.6" grpcio = "==1.53.0" hypothesis = "==6.21.6" # latest supported for Python 3.7 -numpy = ">=1.21.6" -pandas = "==1.5.3" -pandas-stubs = "==1.2.0.62" -protobuf = "<=3.20.1,>=3.19" +protobuf = "<5.0.0,>=4.21.6" pytz = "==2022.2.1" py-ecc = "==6.0.0" python-dotenv = ">=0.14.0,<0.18.0" @@ -53,6 +50,7 @@ toml = "==0.10.2" eth-utils = "==2.2.0" eth-abi = "==4.0.0" pycryptodome = "==3.18.0" +jsonschema = "<=4.19.0,>=4.16.0" [requires] python_version = "3.10" diff --git a/SECURITY.md b/SECURITY.md index 972a3b8f0a..5e81cccbc9 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -8,8 +8,8 @@ The following table shows which versions of `open-autonomy` are currently being | Version | Supported | | --------- | ------------------ | -| `0.12.1.post1` | :white_check_mark: | -| `< 0.12.x` | :x: | +| `0.13.0` | :white_check_mark: | +| `< 0.13.x` | :x: | ## Reporting a Vulnerability diff --git a/autonomy/__version__.py b/autonomy/__version__.py index 00ad30f0e3..6115b6c35d 100644 --- a/autonomy/__version__.py +++ b/autonomy/__version__.py @@ -22,7 +22,7 @@ __title__ = "open-autonomy" __description__ = "A framework for the creation of autonomous agent services." __url__ = "https://github.com/valory-xyz/open-autonomy.git" -__version__ = "0.12.1.post1" +__version__ = "0.13.0" __author__ = "Valory AG" __license__ = "Apache-2.0" __copyright__ = "2021-2022 Valory AG" diff --git a/autonomy/analyse/abci/app_spec.py b/autonomy/analyse/abci/app_spec.py index 8fbcbe948e..73e8a87d99 100644 --- a/autonomy/analyse/abci/app_spec.py +++ b/autonomy/analyse/abci/app_spec.py @@ -45,6 +45,7 @@ ABCI_APP_CLASS_POST_FIX = "AbciApp" EVENT_PATTERN = re.compile(r"Event\.(\w+)", re.DOTALL) +ROUND_TIMEOUT_EVENTS = {"ROUND_TIMEOUT"} def validate_fsm_spec(data: Dict) -> None: @@ -454,14 +455,11 @@ def check_unreferenced_events(abci_app_cls: Any) -> List[str]: """ error_strings = [] - timeout_events = {k.name for k in abci_app_cls.event_to_timeout.keys()} + abci_app_timeout_events = {k.name for k in abci_app_cls.event_to_timeout.keys()} for round_cls, round_transitions in abci_app_cls.transition_function.items(): - trf_events = { - str(e).rsplit(".", 1)[1] for e in round_transitions - } - timeout_events + round_transition_events = set(map(lambda x: x.name, round_transitions)) referenced_events = set() - for base in filter( lambda x: x.__class__.__module__ != "builtins", inspect.getmro(round_cls), @@ -469,10 +467,21 @@ def check_unreferenced_events(abci_app_cls: Any) -> List[str]: src = textwrap.dedent(inspect.getsource(base)) referenced_events.update(EVENT_PATTERN.findall(src)) - if trf_events.symmetric_difference(referenced_events): + # Referenced in the the class definition, missing from transition func + missing_from_transition_func = referenced_events - round_transition_events + if len(missing_from_transition_func) > 0: + error_strings.append( + f"Events {missing_from_transition_func} are present in the `{round_cls.__name__}` " + f"but missing from transition function" + ) + + # Filter timeout events using referenced events since we don't explicitly return the timeout events + timeout_events = round_transition_events - referenced_events + missing_timeout_events = timeout_events - abci_app_timeout_events + if len(missing_timeout_events) > 0: error_strings.append( - f" - {round_cls.__name__}: transition function events {trf_events} " - f"do not match referenced events {referenced_events}." + f"Events {missing_timeout_events} are defined in the round transitions of `{round_cls.__name__}` " + f"but not in `event_to_timeout`" ) return error_strings diff --git a/autonomy/analyse/benchmark/aggregate.py b/autonomy/analyse/benchmark/aggregate.py index d2c51204e8..7fad25af28 100644 --- a/autonomy/analyse/benchmark/aggregate.py +++ b/autonomy/analyse/benchmark/aggregate.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # ------------------------------------------------------------------------------ # -# Copyright 2021-2022 Valory AG +# Copyright 2021-2023 Valory AG # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -20,12 +20,25 @@ """Tools for aggregating benchmark results.""" import json +import statistics from pathlib import Path -from typing import Any, Dict, List +from typing import Callable, Dict, List, Tuple, cast -import pandas as pd +from autonomy.analyse.benchmark.html import ( + BLOCK_TEMPLATE, + HTML_TEMPLATE, + TABLE_TEMPLATE, + TD_TEMPLATE, + TH_TEMPLATE, + TROW_TEMPLATE, +) -from autonomy.analyse.benchmark.html import HTML_TEMPLATE, TABLE_TEMPLATE + +STATISTICS = { + "Mean": statistics.mean, + "Maximum": max, + "Minimum": min, +} class BlockTypes: # pylint: disable=too-few-public-methods @@ -39,95 +52,149 @@ class BlockTypes: # pylint: disable=too-few-public-methods types = (LOCAL, CONSENSUS, TOTAL) -def read_benchmark_data(path: Path) -> List[Dict]: +def read_benchmark_data( + path: Path, + block_type: str = BlockTypes.ALL, + period: int = -1, +) -> Dict[str, Dict[str, List[Dict]]]: """Returns logs.""" - benchmark_data = [] + benchmark_data: Dict[str, Dict[str, List[Dict]]] = {} for agent_dir in path.iterdir(): - agent_benchmark_data: Dict[str, Any] = {} - agent_benchmark_data["name"] = agent_dir.name - agent_benchmark_data["data"] = dict( - map( - lambda path: ( - int(path.name.replace(".json", "")), - json.loads(path.read_text()), - ), - agent_dir.glob("*.json"), - ) + benchmark_data[agent_dir.name] = {} + benchmark_data_files = list(agent_dir.glob("*.json")) + periods = sorted( + tuple(map(lambda x: x.name, benchmark_data_files)) + if period == -1 + else (f"{period}.json",) ) - benchmark_data.append(agent_benchmark_data) - return benchmark_data - - -def create_dataframe(data: List[Dict]) -> pd.DataFrame: - """Create pandas.DataFrame object from benchmark data.""" - - rows = [] - behaviours = [behaviour_data["behaviour"] for behaviour_data in data[0]["data"][0]] - cols = ["agent", "period", "block_type", *behaviours] - - for agent in data: - for period_n, period_data in agent["data"].items(): - for block_t in BlockTypes.types: - rows.append( - { - "agent": agent["name"], - "period": period_n, - "block_type": block_t, - **{ - behaviour_data["behaviour"]: behaviour_data["data"].get( - block_t, 0.0 - ) - for behaviour_data in period_data - }, - } - ) + for _period in periods: + period_name, _ = _period.split(".") + period_data = json.loads((agent_dir / _period).read_text()) + if block_type == BlockTypes.ALL: + benchmark_data[agent_dir.name][period_name] = period_data + continue + + benchmark_data[agent_dir.name][period_name] = [ + { + "behaviour": behaviour["behaviour"], + "data": {block_type: behaviour["data"][block_type]}, + } + for behaviour in period_data + ] - return pd.DataFrame( - data=rows, - )[cols] - - -def format_output(df: pd.DataFrame, period: int, block_type: str) -> str: - """Format output from given dataframe and parameters""" - - df = df.copy(deep=True).fillna(value=0.0) - df = df[df["period"] == period] - df = df[df["block_type"] == block_type] + return benchmark_data - del df["period"] - del df["block_type"] - time_df = df[df.columns[1:]] - stats_df = pd.DataFrame( - data=[ - ["mean", *time_df.mean().values], - ["median", *time_df.median().values], - ["std_dev", *time_df.std().values], - ], - columns=df.columns, +def add_statistic( + name: str, + aggregator: Callable, + behaviours: List[str], + behaviour_history: Dict[str, List[float]], +) -> str: + """Add a stastic column.""" + rows = TD_TEMPLATE.format(name) + for behaviour in behaviours: + rows += TD_TEMPLATE.format(aggregator(behaviour_history[behaviour])) + return TROW_TEMPLATE.format(rows) + + +def add_statistics( + behaviours: List[str], + behaviour_history: Dict[str, List[float]], +) -> str: + """Add statistics.""" + tbody = TROW_TEMPLATE.format( + f"""Statistics""" ) - - output_df = pd.concat((df, stats_df)) - return output_df.to_html(index=False, justify="left") + for name, aggregator in STATISTICS.items(): + tbody += add_statistic( + name=name, + aggregator=cast(Callable, aggregator), + behaviour_history=behaviour_history, + behaviours=behaviours, + ) + return tbody + + +def create_table_data( + data: Dict[str, List[Dict]], + blocks: Tuple[str, ...], +) -> Tuple[List[str], List[str], Dict[str, Dict]]: + """Create table data.""" + periods: List[str] = [] + header_columns: List[str] = ["Period"] + tables_data: Dict[str, Dict] = {} + for block in blocks: + if block not in tables_data: + tables_data[block] = {} + for period, behaviours in data.items(): + for behaviour in behaviours: + if period not in tables_data[block]: + tables_data[block][period] = {} + tables_data[block][period][behaviour["behaviour"]] = behaviour["data"][ + block + ] + if behaviour["behaviour"] not in header_columns: + header_columns.append(behaviour["behaviour"]) + if period not in periods: + periods.append(period) + return periods, header_columns, tables_data + + +def create_agent_table( + agent: str, data: Dict[str, List[Dict]], blocks: Tuple[str, ...] +) -> str: + """Create agent table.""" + tables = f"""
Benchmark data for agent {agent}
\n""" + periods, header_columns, tables_data = create_table_data( + data=data, + blocks=blocks, + ) + behaviour_history: Dict[str, List[float]] = { + behaviour: [] for behaviour in header_columns[1:] + } + for block, block_data in tables_data.items(): + thead = "".join(map(TH_TEMPLATE.format, header_columns)) + tbody = "" + for period in sorted(periods): + rows = TD_TEMPLATE.format(period) + for behaviour_name in header_columns[1:]: + behaviour_history[behaviour_name].append( + block_data[period][behaviour_name] + ) + rows += TD_TEMPLATE.format(block_data[period][behaviour_name]) + tbody += TROW_TEMPLATE.format(rows) + tbody += add_statistics( + behaviours=header_columns[1:], behaviour_history=behaviour_history + ) + tables += BLOCK_TEMPLATE.format( + table=TABLE_TEMPLATE.format( + colspan=len(header_columns), + block_type=block, + thead=thead, + tbody=tbody, + ), + ) + return tables def aggregate(path: Path, block_type: str, period: int, output: Path) -> None: """Benchmark Aggregator.""" - path = Path(path) - benchmark_data = read_benchmark_data(path) - dataframe = create_dataframe(benchmark_data) - - periods = range(dataframe.period.max()) if period == -1 else (period,) - blocks = BlockTypes.types if block_type == BlockTypes.ALL else (block_type,) - - tables = "" - for period_n in periods: - for block_t in blocks: - tables += TABLE_TEMPLATE.format( - table=format_output(dataframe, period_n, block_t), - period=period_n, - block=block_t, - ) - - output.write_text(HTML_TEMPLATE.format(tables=tables), encoding="utf-8") + benchmark_data = read_benchmark_data( + path, + block_type=block_type, + period=period, + ) + tables = [ + create_agent_table( + agent=agent, + data=data, + blocks=( + BlockTypes.types if block_type == BlockTypes.ALL else (block_type,) + ), + ) + for agent, data in benchmark_data.items() + ] + + output.write_text(HTML_TEMPLATE.format(tables="".join(tables)), encoding="utf-8") diff --git a/autonomy/analyse/benchmark/html.py b/autonomy/analyse/benchmark/html.py index aeaf5032d0..fe73ef2620 100644 --- a/autonomy/analyse/benchmark/html.py +++ b/autonomy/analyse/benchmark/html.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # ------------------------------------------------------------------------------ # -# Copyright 2022 Valory AG +# Copyright 2022-2023 Valory AG # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -54,10 +54,28 @@ """ +BLOCK_TEMPLATE = """ +
+ {table} +
""" + TABLE_TEMPLATE = """ -
-
- Period: {period} | Block: {block} -
- {table} -
""" + + + + + {thead} + {tbody} +
Block: {block_type}
""" + +TROW_TEMPLATE = """ + +{} + +""" + +TH_TEMPLATE = """ + {}""" + +TD_TEMPLATE = """ + {}""" diff --git a/autonomy/analyse/logs/base.py b/autonomy/analyse/logs/base.py index 7fb822e07f..276a4b7c70 100644 --- a/autonomy/analyse/logs/base.py +++ b/autonomy/analyse/logs/base.py @@ -29,7 +29,7 @@ TIME_FORMAT = "%Y-%m-%d %H:%M:%S,%f" TIMESTAMP_REGEX = re.compile(r"^(\[(\d+-\d+-\d+ \d+:\d+:\d+,\d+)\])") LOG_ROW_REGEX = re.compile( - r"\[(\d+-\d+-\d+ \d+:\d+:\d+,\d+)\] \[([A-Z]+)\]( \[agent\])? (.*)" + r"\[(\d+-\d+-\d+ \d+:\d+:\d+,\d+)\] \[([A-Z]+)\]( \[agent\])? ((.|\n)*)" ) ENTER_BEHAVIOUR_REGEX = re.compile(r"Entered in the \'([a-z_]+)\' behaviour") ENTER_ROUND_REGEX = re.compile(r"Entered in the \'([a-z_]+)\' round for period (\d+)") diff --git a/autonomy/analyse/logs/collection.py b/autonomy/analyse/logs/collection.py index d152601fbc..cc048fe187 100644 --- a/autonomy/analyse/logs/collection.py +++ b/autonomy/analyse/logs/collection.py @@ -61,38 +61,38 @@ def create_agent_db( @staticmethod def get_next_log_block( - fp: TextIO, prev_line: str + fp: TextIO, + prev_line: Optional[str], ) -> Tuple[Optional[str], Optional[str]]: """Get next log block.""" + if prev_line is None: + return None, None line = prev_line while True: _line = fp.readline() if _line == "": - return None, None + return prev_line, None if TIMESTAMP_REGEX.match(_line) is not None: return line, _line - line += line + line += _line @classmethod def parse(cls, file: Path) -> Generator[LogRow, None, None]: """Parse logs and yield rows.""" - with file.open(mode="r") as fp: + with file.open(mode="r", encoding="utf-8") as fp: prev_line: Optional[str] = fp.readline() current_period = 0 current_round = "agent_startup" current_behaviour = "agent_startup" while True: - line, prev_line = cls.get_next_log_block( - fp=fp, prev_line=cast(str, prev_line) - ) + line, prev_line = cls.get_next_log_block(fp=fp, prev_line=prev_line) if line is None and prev_line is None: break match = LOG_ROW_REGEX.match(string=cast(str, line)) - _timestamp, log_level, _, log_block = cast(re.Match, match).groups() + _timestamp, log_level, _, log_block, _ = cast(re.Match, match).groups() timestamp = datetime.strptime(_timestamp, TIME_FORMAT) - match = ENTER_BEHAVIOUR_REGEX.match(string=log_block) if match is not None: (current_behaviour,) = match.groups() diff --git a/autonomy/analyse/service.py b/autonomy/analyse/service.py index 97b74c6b45..358a2e7631 100644 --- a/autonomy/analyse/service.py +++ b/autonomy/analyse/service.py @@ -35,7 +35,7 @@ ) from aea.crypto.base import LedgerApi from aea.helpers.cid import to_v0 -from aea.helpers.env_vars import ENV_VARIABLE_RE, apply_env_variables +from aea.helpers.env_vars import apply_env_variables from aea.helpers.logging import setup_logger from jsonschema.exceptions import ValidationError as SchemaValidationError from jsonschema.validators import Draft4Validator @@ -183,7 +183,11 @@ ABCI = "abci" LEDGER = "ledger" - +TERMINATION_ABCI = PublicId(author="valory", name="termination_abci", version="any") +SLASHING_ABCI = PublicId(author="valory", name="slashing_abci", version="any") +ENV_VAR_RE = re.compile( + r"^\$\{(?P[A-Z_0-9]+)?:?(?Pbool|int|float|str|list|dict)?:?(?P.+)?\}$" +) REQUIRED_PROPERTY_RE = re.compile(r"'(.*)' is a required property") PROPERTY_NOT_ALLOWED_RE = re.compile( r"Additional properties are not allowed \((('(.*)'(,)? )+)(was|were) unexpected\)" @@ -540,19 +544,32 @@ def validate_override_env_vars( else: json_path_str = ".".join(_json_path) try: - re_result = ENV_VARIABLE_RE.match(value) + re_result = ENV_VAR_RE.match(value) if re_result is None: errors.append( - f"`{json_path_str}` needs to be defined as a environment variable" + f"`{json_path_str}` needs environment variable defined in following format " + "${ENV_VAR_NAME:DATA_TYPE:DEFAULT_VALUE}" + ) + continue + + result = re_result.groupdict() + if validate_env_var_name and result.get("name") is None: + errors.append( + f"Enviroment variable template for `{json_path_str}` does not have variable name defined" + ) + + if result.get("type") is None: + errors.append( + f"Enviroment variable template for `{json_path_str}` does not have type defined" + ) + continue + + if result.get("value") is None: + errors.append( + f"Enviroment variable template for `{json_path_str}` does not have default value defined" ) continue - if validate_env_var_name: - _, env_var_name, *_ = re_result.groups() - if env_var_name is None: - errors.append( - f"`{json_path_str}` needs environment variable defined in following format " - "${ENV_VAR_NAME:DATA_TYPE:DEFAULT_VALUE}" - ) + apply_env_variables( data={key: value}, env_variables=os.environ.copy() ) @@ -712,6 +729,15 @@ def validate_override( ) ) + def _check_for_dependency( + self, dependencies: Set[PublicId], dependency: PublicId + ) -> None: + """Check termination ABCI skill is an dependency for the agent""" + for _dependency in dependencies: + if _dependency.to_any() == dependency: + return + self.logger.warning(f"{dependency} is not defined as a dependency") + def validate_skill_config(self, skill_config: SkillConfig) -> None: """Check required overrides.""" @@ -728,6 +754,8 @@ def validate_skill_config(self, skill_config: SkillConfig) -> None: has_multiple_overrides=False, error_message="ABCI skill validation failed; {error}", ) + self._check_for_dependency(skill_config.skills, TERMINATION_ABCI) + self._check_for_dependency(skill_config.skills, SLASHING_ABCI) self.logger.info("No issues found in the ABCI skill configuration") def validate_agent_overrides(self, agent_config: AgentConfig) -> None: @@ -755,6 +783,8 @@ def validate_agent_overrides(self, agent_config: AgentConfig) -> None: f"\n\t- {error_string}" ) + self._check_for_dependency(agent_config.skills, TERMINATION_ABCI) + self._check_for_dependency(agent_config.skills, SLASHING_ABCI) self.logger.info("No issues found in the agent overrides") def validate_service_overrides(self) -> None: diff --git a/autonomy/chain/service.py b/autonomy/chain/service.py index 2f42007d2a..e14c075255 100644 --- a/autonomy/chain/service.py +++ b/autonomy/chain/service.py @@ -55,7 +55,8 @@ Web3Exception = Exception NULL_ADDRESS = "0x0000000000000000000000000000000000000000" -DEFAULT_DEPLOY_PAYLOAD = "0x0000000000000000000000000000000000000000f48f2b2d2a534e402487b3ee7c18c33aec0fe5e4000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" +DEFAULT_FALLBACK_HANDLER = "0xf48f2b2d2a534e402487b3ee7c18c33aec0fe5e4" +DEFAULT_DEPLOY_PAYLOAD = "0x0000000000000000000000000000000000000000{fallback_handler}000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" ServiceInfo = Tuple[int, str, bytes, int, int, int, int, List[int]] @@ -67,9 +68,14 @@ class MultiSendOperation(Enum): DELEGATE_CALL = 1 -def get_default_delployment_payload() -> str: - """Return default deployment payload.""" - return DEFAULT_DEPLOY_PAYLOAD + int(time.time()).to_bytes(32, "big").hex() +def get_delployment_payload(fallback_handler: Optional[str] = None) -> str: + """Calculates deployment payload.""" + return ( + DEFAULT_DEPLOY_PAYLOAD.format( + fallback_handler=(fallback_handler or DEFAULT_FALLBACK_HANDLER)[2:] + ) + + int(time.time()).to_bytes(32, "big").hex() + ) def get_agent_instances( @@ -392,12 +398,12 @@ def register_instance( # pylint: disable=too-many-arguments raise InstanceRegistrationFailed("Could not verify the registration event.") -def deploy_service( # pylint: disable=too-many-arguments +def deploy_service( # pylint: disable=too-many-arguments,too-many-locals ledger_api: LedgerApi, crypto: Crypto, chain_type: ChainType, service_id: int, - deployment_payload: Optional[str] = None, + fallback_handler: Optional[str] = None, reuse_multisig: bool = False, timeout: Optional[float] = None, ) -> None: @@ -411,8 +417,7 @@ def deploy_service( # pylint: disable=too-many-arguments :param crypto: `aea.crypto.Crypto` object which has a funded key :param chain_type: Chain type :param service_id: Service ID retrieved after minting a service - :param deployment_payload: Deployment payload to include when making the - deployment transaction + :param fallback_handler: Fallback handler address for gnosis safe multisig :param reuse_multisig: Use multisig from the previous deployment :param timeout: Time to wait for deploy event to emit """ @@ -433,10 +438,6 @@ def deploy_service( # pylint: disable=too-many-arguments if service_state != ServiceState.FINISHED_REGISTRATION.value: raise ServiceDeployFailed("Service needs to be in finished registration state") - deployment_payload = deployment_payload or get_default_delployment_payload() - gnosis_safe_multisig = ContractConfigs.get( - GNOSIS_SAFE_PROXY_FACTORY_CONTRACT.name - ).contracts[chain_type] if reuse_multisig: _deployment_payload, error = get_reuse_multisig_payload( ledger_api=ledger_api, @@ -450,6 +451,11 @@ def deploy_service( # pylint: disable=too-many-arguments gnosis_safe_multisig = ContractConfigs.get( GNOSIS_SAFE_SAME_ADDRESS_MULTISIG_CONTRACT.name ).contracts[chain_type] + else: + deployment_payload = get_delployment_payload(fallback_handler=fallback_handler) + gnosis_safe_multisig = ContractConfigs.get( + GNOSIS_SAFE_PROXY_FACTORY_CONTRACT.name + ).contracts[chain_type] try: tx = registry_contracts.service_manager.get_service_deploy_transaction( @@ -663,7 +669,8 @@ def get_reuse_multisig_payload( # pylint: disable=too-many-locals token_id=service_id, ).get("agentInstances"), ) - for _owner in new_owners[1:]: + + for _owner in new_owners: txs.append( { "to": multisig_address, @@ -686,8 +693,8 @@ def get_reuse_multisig_payload( # pylint: disable=too-many-locals "data": HexBytes( bytes.fromhex( multisig_instance.encodeABI( - fn_name="swapOwner", - args=[new_owners[1], service_owner, new_owners[0]], + fn_name="removeOwner", + args=[new_owners[0], service_owner, 1], )[2:] ) ), diff --git a/autonomy/cli/helpers/chain.py b/autonomy/cli/helpers/chain.py index b4937cc7e0..9a9ad94d18 100644 --- a/autonomy/cli/helpers/chain.py +++ b/autonomy/cli/helpers/chain.py @@ -19,8 +19,9 @@ """On-chain interaction helpers.""" +import binascii from pathlib import Path -from typing import Any, Dict, List, Optional, Tuple, cast +from typing import Any, Dict, List, Optional, Tuple, Type, cast import click from aea.configurations.base import PackageConfiguration @@ -32,7 +33,12 @@ from texttable import Texttable from autonomy.chain.base import ServiceState, UnitType -from autonomy.chain.config import ChainConfigs, ChainType, ContractConfigs +from autonomy.chain.config import ( + ChainConfigs, + ChainType, + ContractConfig, + ContractConfigs, +) from autonomy.chain.constants import ( AGENT_REGISTRY_CONTRACT, COMPONENT_REGISTRY_CONTRACT, @@ -85,14 +91,6 @@ except ImportError: # pragma: nocover ETHEREUM_PLUGIN_INSTALLED = False -try: - from aea_ledger_ethereum_hwi.exceptions import HWIError - from aea_ledger_ethereum_hwi.hwi import EthereumHWIApi - - HWI_PLUGIN_INSTALLED = True -except ImportError: # pragma: nocover - HWI_PLUGIN_INSTALLED = False - class OnChainHelper: # pylint: disable=too-few-public-methods """On-chain interaction helper.""" @@ -119,7 +117,47 @@ def __init__( ) @staticmethod + def load_hwi_plugin() -> Type[LedgerApi]: # pragma: nocover + """Load HWI Plugin.""" + try: + from aea_ledger_ethereum_hwi.hwi import ( # pylint: disable=import-outside-toplevel + EthereumHWIApi, + ) + + return EthereumHWIApi + except ImportError as e: + raise click.ClickException( + "Hardware wallet plugin not installed, " + "Run `pip3 install open-aea-ledger-ethereum-hwi` to install the plugin" + ) from e + except TypeError as e: + raise click.ClickException( + 'Protobuf compatibility error; Please export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION="python" ' + "to use the hardware wallet without any issues" + ) from e + + @staticmethod + def load_crypto( + file: Path, + password: Optional[str] = None, + ) -> Crypto: + """Load crypto object.""" + try: + return EthereumCrypto( + private_key_path=file, + password=password, + ) + except (binascii.Error, ValueError) as e: + raise click.ClickException( + "Cannot load private key for following possible reasons\n" + "- Wrong key format\n" + "- Wrong key length\n" + "- Trailing spaces or new line characters" + ) from e + + @classmethod def get_ledger_and_crypto_objects( + cls, chain_type: ChainType, key: Optional[Path] = None, password: Optional[str] = None, @@ -136,13 +174,8 @@ def get_ledger_and_crypto_objects( f"using `{ChainConfigs.get_rpc_env_var(chain_type)}` environment variable" ) - if hwi and not HWI_PLUGIN_INSTALLED: # pragma: nocover - raise click.ClickException( - "Hardware wallet plugin not installed, " - "Run `pip3 install open-aea-ledger-ethereum-hwi` to install the plugin" - ) - if hwi: + EthereumHWIApi = cls.load_hwi_plugin() identifier = EthereumHWIApi.identifier if not hwi and not ETHEREUM_PLUGIN_INSTALLED: # pragma: nocover @@ -154,8 +187,8 @@ def get_ledger_and_crypto_objects( if key is None: crypto = crypto_registry.make(identifier) else: - crypto = EthereumCrypto( - private_key_path=key, + crypto = cls.load_crypto( + file=key, password=password, ) @@ -180,11 +213,30 @@ def get_ledger_and_crypto_objects( try: ledger_api.api.eth.default_account = crypto.address - except HWIError as e: # pragma: nocover - raise click.ClickException(e.message) + except Exception as e: # pragma: nocover + raise click.ClickException(str(e)) return ledger_api, crypto + def check_required_enviroment_variables( + self, configs: Tuple[ContractConfig, ...] + ) -> None: + """Check for required enviroment variables when working with the custom chain.""" + if self.chain_type != ChainType.CUSTOM: + return + missing = [] + for config in configs: + if config.contracts[self.chain_type] is None: + missing.append(config) + + if len(missing) == 0: + return + + error = "Addresses for following contracts are None, please set them using their respective environment variables\n" + for config in missing: + error += f"- Set `{config.name}` address using `CUSTOM_{config.name.upper()}_ADDRESS`\n" + raise click.ClickException(error[:-1]) + class MintHelper(OnChainHelper): # pylint: disable=too-many-instance-attributes """Mint helper.""" @@ -243,18 +295,27 @@ def load_metadata(self) -> "MintHelper": # pragma: nocover contract_address = ContractConfigs.get( SERVICE_REGISTRY_CONTRACT.name ).contracts[self.chain_type] + self.check_required_enviroment_variables( + configs=(ContractConfigs.service_registry,) + ) elif self.package_type == PackageType.AGENT: is_service = False is_agent = True contract_address = ContractConfigs.get( AGENT_REGISTRY_CONTRACT.name ).contracts[self.chain_type] + self.check_required_enviroment_variables( + configs=(ContractConfigs.agent_registry,) + ) else: is_service = False is_agent = False contract_address = ContractConfigs.get( COMPONENT_REGISTRY_CONTRACT.name ).contracts[self.chain_type] + self.check_required_enviroment_variables( + configs=(ContractConfigs.component_registry,) + ) self.old_metadata = resolve_component_id( ledger_api=self.ledger_api, @@ -357,6 +418,18 @@ def mint_component( component_type: UnitType = UnitType.COMPONENT, ) -> None: """Mint component.""" + + self.check_required_enviroment_variables( + configs=( + ContractConfigs.registries_manager, + ( + ContractConfigs.component_registry + if component_type == UnitType.COMPONENT + else ContractConfigs.agent_registry + ), + ) + ) + try: self.token_id = _mint_component( ledger_api=self.ledger_api, @@ -405,6 +478,18 @@ def mint_service( ) -> None: """Mint service""" + if self.chain_type == ChainType.CUSTOM and token is not None: + raise click.ClickException( + "Cannot use custom token for bonding on L2 chains" + ) + + self.check_required_enviroment_variables( + configs=( + ContractConfigs.service_manager, + ContractConfigs.service_registry, + ) + ) + try: token_id = _mint_service( ledger_api=self.ledger_api, @@ -442,6 +527,16 @@ def mint_service( def update_component(self, component_type: UnitType = UnitType.COMPONENT) -> None: """Update component.""" + self.check_required_enviroment_variables( + configs=( + ContractConfigs.registries_manager, + ( + ContractConfigs.component_registry + if component_type == UnitType.COMPONENT + else ContractConfigs.agent_registry + ), + ) + ) try: self.token_id = _update_component( ledger_api=self.ledger_api, @@ -455,7 +550,7 @@ def update_component(self, component_type: UnitType = UnitType.COMPONENT) -> Non raise click.ClickException(f"Invalid parameters provided; {e}") from e except ComponentMintFailed as e: raise click.ClickException( - f"Component mint failed with following error; {e}" + f"Component update failed with following error; {e}" ) from e click.echo("Component hash updated:") @@ -481,6 +576,24 @@ def update_service( ) -> None: """Update service""" + self.check_required_enviroment_variables( + configs=( + ContractConfigs.service_manager, + ContractConfigs.service_registry, + ) + ) + + *_, state, _ = get_service_info( + ledger_api=self.ledger_api, + chain_type=self.chain_type, + token_id=cast(int, self.update_token), + ) + + if ServiceState(state) != ServiceState.PRE_REGISTRATION: + raise click.ClickException( + "Cannot update service hash, service needs to be in the pre-registration state" + ) + try: token_id = _update_service( ledger_api=self.ledger_api, @@ -501,7 +614,7 @@ def update_service( ) except ComponentMintFailed as e: raise click.ClickException( - f"Service mint failed with following error; {e}" + f"Service update failed with following error; {e}" ) from e click.echo("Service updated with:") @@ -539,6 +652,11 @@ def check_is_service_token_secured( token: Optional[str] = None, ) -> "ServiceHelper": """Check if service""" + if self.chain_type == ChainType.CUSTOM: + self.token = token + self.token_secured = False + return self + self.token = token self.token_secured = is_service_token_secured( ledger_api=self.ledger_api, @@ -584,6 +702,13 @@ def activate_service(self) -> None: spender=spender, ) + self.check_required_enviroment_variables( + configs=( + ContractConfigs.service_manager, + ContractConfigs.service_registry, + ) + ) + try: _activate_service( ledger_api=self.ledger_api, @@ -619,6 +744,13 @@ def register_instance( spender=spender, ) + self.check_required_enviroment_variables( + configs=( + ContractConfigs.service_manager, + ContractConfigs.service_registry, + ) + ) + try: _register_instance( ledger_api=self.ledger_api, @@ -637,11 +769,21 @@ def register_instance( def deploy_service( self, reuse_multisig: bool = False, - deployment_payload: Optional[str] = None, + fallback_handler: Optional[str] = None, timeout: Optional[float] = None, ) -> None: """Deploy a service with registration activated""" + self.check_required_enviroment_variables( + configs=( + ContractConfigs.service_manager, + ContractConfigs.service_registry, + ContractConfigs.gnosis_safe_proxy_factory, + ContractConfigs.gnosis_safe_same_address_multisig, + ContractConfigs.multisend, + ) + ) + try: _deploy_service( ledger_api=self.ledger_api, @@ -649,7 +791,7 @@ def deploy_service( chain_type=self.chain_type, service_id=self.service_id, reuse_multisig=reuse_multisig, - deployment_payload=deployment_payload, + fallback_handler=fallback_handler, timeout=timeout, ) except ServiceDeployFailed as e: @@ -660,6 +802,13 @@ def deploy_service( def terminate_service(self) -> None: """Terminate a service""" + self.check_required_enviroment_variables( + configs=( + ContractConfigs.service_manager, + ContractConfigs.service_registry, + ) + ) + try: _terminate_service( ledger_api=self.ledger_api, @@ -675,6 +824,13 @@ def terminate_service(self) -> None: def unbond_service(self) -> None: """Unbond a service""" + self.check_required_enviroment_variables( + configs=( + ContractConfigs.service_manager, + ContractConfigs.service_registry, + ) + ) + try: _unbond_service( ledger_api=self.ledger_api, diff --git a/autonomy/cli/helpers/deployment.py b/autonomy/cli/helpers/deployment.py index 68a7a6291a..71a7767c39 100644 --- a/autonomy/cli/helpers/deployment.py +++ b/autonomy/cli/helpers/deployment.py @@ -19,6 +19,7 @@ """Deployment helpers.""" import os +import shutil import time from pathlib import Path from typing import Dict, List, Optional, Tuple @@ -80,7 +81,7 @@ def _build_dirs(build_dir: Path) -> None: def _print_log(compose_app: docker_compose.TopLevelCommand) -> None: """Print docker container logs.""" - terminal_width, _ = os.get_terminal_size() + terminal_width, _ = shutil.get_terminal_size() for service in compose_app.project.service_names: try: click.echo("=" * terminal_width) diff --git a/autonomy/cli/helpers/fsm_spec.py b/autonomy/cli/helpers/fsm_spec.py index 2089bb22da..77dd9d13a5 100644 --- a/autonomy/cli/helpers/fsm_spec.py +++ b/autonomy/cli/helpers/fsm_spec.py @@ -130,8 +130,13 @@ def check_one( dfa_check = dfa_from_file != dfa_from_object if len(error_strings) > 0: - errors = "\n".join(error_strings) - raise DFASpecificationError(f"Event reference check failed with \n{errors}") + errors = "\n- ".join( + [ + f"Unreferenced events found in `{abci_app_class.__name__}`", + *error_strings, + ] + ) + raise DFASpecificationError(errors) if dfa_check: raise DFASpecificationError( diff --git a/autonomy/cli/service.py b/autonomy/cli/service.py index 5f7a38c999..86793c3dda 100644 --- a/autonomy/cli/service.py +++ b/autonomy/cli/service.py @@ -142,10 +142,10 @@ def _register( # pylint: disable=too-many-arguments @hwi_flag @password_decorator @click.option( - "-d", - "--deployment-payload", - type=int, - help="Deployment payload value", + "-f", + "--fallback-handler", + type=str, + help="Fallback handler address for the gnosis safe multisig", ) def _deploy( # pylint: disable=too-many-arguments ctx: Context, @@ -154,7 +154,7 @@ def _deploy( # pylint: disable=too-many-arguments hwi: bool, reuse_multisig: bool, password: Optional[str], - deployment_payload: Optional[str], + fallback_handler: Optional[str], ) -> None: """Deploy a service.""" ServiceHelper( @@ -165,7 +165,7 @@ def _deploy( # pylint: disable=too-many-arguments hwi=hwi, ).deploy_service( reuse_multisig=reuse_multisig, - deployment_payload=deployment_payload, + fallback_handler=fallback_handler, timeout=ctx.config["timeout"], ) diff --git a/autonomy/configurations/base.py b/autonomy/configurations/base.py index bfd1898c1c..512a0ff3a0 100644 --- a/autonomy/configurations/base.py +++ b/autonomy/configurations/base.py @@ -203,7 +203,7 @@ def check_overrides_valid( ) if component_id in processed: raise AEAValidationError( - f"Overrides for component {component_id} are defined more than once" + f"Overrides for component {component_id} are defined more than once in the service `{self.public_id}`" ) if has_multiple_overrides: for idx in range(self.number_of_agents): diff --git a/autonomy/constants.py b/autonomy/constants.py index b1271067b2..90951c4dee 100644 --- a/autonomy/constants.py +++ b/autonomy/constants.py @@ -58,4 +58,4 @@ ACN_IMAGE_NAME = os.environ.get("ACN_IMAGE_NAME", "valory/open-acn-node") DEFAULT_DOCKER_IMAGE_AUTHOR = "valory" OAR_IMAGE = "{image_author}/oar-{agent}:{version}" -ABSTRACT_ROUND_ABCI_SKILL_WITH_HASH = "valory/abstract_round_abci:0.1.0:bafybeicqwr73cs3vndzafrjrjpw63vvqbbjsur7ptek77hsw3lurnood5y" +ABSTRACT_ROUND_ABCI_SKILL_WITH_HASH = "valory/abstract_round_abci:0.1.0:bafybeiavfdmszwpotgdw5wd2imxcwsigygczvttxk5onswt72ipbdyjp3q" diff --git a/autonomy/data/Dockerfiles/agent/Dockerfile b/autonomy/data/Dockerfiles/agent/Dockerfile index a3182722b1..4aa63b0016 100644 --- a/autonomy/data/Dockerfiles/agent/Dockerfile +++ b/autonomy/data/Dockerfiles/agent/Dockerfile @@ -6,15 +6,12 @@ FROM ${AUTONOMY_IMAGE_NAME}:${AUTONOMY_IMAGE_VERSION} ARG AEA_AGENT ARG AUTHOR -COPY start.sh /home/ubuntu -COPY install.sh /home/ubuntu +RUN aea init --reset --remote --ipfs --author ${AUTHOR} -VOLUME /home/ubuntu/logs -WORKDIR /home/ubuntu +WORKDIR /root -RUN aea init --reset --remote --ipfs --author ${AUTHOR} -RUN AEA_AGENT=${AEA_AGENT} bash install.sh +RUN AEA_AGENT=${AEA_AGENT} bash /root/scripts/install.sh -CMD ["start.sh"] +CMD ["/root/scripts/start.sh"] HEALTHCHECK --interval=3s --timeout=600s --retries=600 CMD netstat -ltn | grep -c 26658 > /dev/null; if [ 0 != $? ]; then exit 1; fi; diff --git a/autonomy/data/Dockerfiles/dev/Dockerfile b/autonomy/data/Dockerfiles/dev/Dockerfile index a816686132..cf3898f484 100644 --- a/autonomy/data/Dockerfiles/dev/Dockerfile +++ b/autonomy/data/Dockerfiles/dev/Dockerfile @@ -1,27 +1,21 @@ ARG AEA_VERSION=latest -FROM valory/open-aea-user:${AEA_VERSION} -ARG AUTHOR=default_author -WORKDIR /home/ubuntu -ENV PATH=$PATH:/home/ubuntu/.local/bin +FROM valory/open-aea-user:${AEA_VERSION} -RUN sudo apt-get update && sudo apt-get upgrade -y -RUN cd /usr/bin && sudo rm python3 && sudo ln -s python3.10 python3 && sudo ln -s python3.10 python -RUN sudo apt-get install wait-for-it net-tools -y -RUN sudo apt remove --purge python3-virtualenv +ARG AUTHOR=default_author +RUN apt remove --purge python3-virtualenv +RUN python -m pip uninstall -y setuptools RUN python -m pip install --upgrade pip RUN python -m pip install --force-reinstall pipenv virtualenv --user -RUN python -m pip uninstall -y setuptools -WORKDIR /home/ubuntu -COPY openssl.cnf /etc/ssl -COPY Pipfile /home/ubuntu/Pipfile -COPY start_dev.sh /home/ubuntu/start_dev.sh -COPY start.sh /home/ubuntu/start.sh -COPY watcher.py /home/ubuntu/watcher.py +WORKDIR /root -CMD ["./start_dev.sh"] +COPY Pipfile /root/Pipfile +COPY start_dev.sh /root/start_dev.sh +COPY start.sh /root/start.sh +COPY watcher.py /root/watcher.py -HEALTHCHECK --interval=3s --timeout=600s --retries=600 CMD netstat -ltn | grep -c 26658 > /dev/null; if [ 0 != $? ]; then exit 1; fi; +CMD ["/root/start_dev.sh"] +HEALTHCHECK --interval=3s --timeout=600s --retries=600 CMD netstat -ltn | grep -c 26658 > /dev/null; if [ 0 != $? ]; then exit 1; fi; diff --git a/autonomy/data/Dockerfiles/dev/Pipfile b/autonomy/data/Dockerfiles/dev/Pipfile index e045fbef05..bb08ea296d 100644 --- a/autonomy/data/Dockerfiles/dev/Pipfile +++ b/autonomy/data/Dockerfiles/dev/Pipfile @@ -10,7 +10,7 @@ requests = {version = "==2.27.1"} [dev-packages] asn1crypto = {version = "==1.4.0"} -open-aea-cosmpy = {version = "==0.6.5"} +open-aea-cosmpy = {version = "==0.6.6"} open-aea = {editable = true, extras=["all"], path = "/open-aea"} open-aea-cli-ipfs = {editable = true, path = "/open-aea/plugins/aea-cli-ipfs"} open-aea-ledger-cosmos = {editable = true, path = "/open-aea/plugins/aea-ledger-cosmos"} diff --git a/autonomy/data/Dockerfiles/dev/openssl.cnf b/autonomy/data/Dockerfiles/dev/openssl.cnf deleted file mode 100644 index acbe687d89..0000000000 --- a/autonomy/data/Dockerfiles/dev/openssl.cnf +++ /dev/null @@ -1,365 +0,0 @@ -# -# OpenSSL example configuration file. -# This is mostly being used for generation of certificate requests. -# - -# Note that you can include other files from the main configuration -# file using the .include directive. -#.include filename - -# This definition stops the following lines choking if HOME isn't -# defined. -HOME = . - -openssl_conf = openssl_init - -[openssl_init] -providers = provider_sect - -[provider_sect] -default = default_sect -legacy = legacy_sect - -[default_sect] -activate = 1 - -[legacy_sect] -activate = 1 - -# Extra OBJECT IDENTIFIER info: -#oid_file = $ENV::HOME/.oid -oid_section = new_oids - -# To use this configuration file with the "-extfile" option of the -# "openssl x509" utility, name here the section containing the -# X.509v3 extensions to use: -# extensions = -# (Alternatively, use a configuration file that has only -# X.509v3 extensions in its main [= default] section.) - -[ new_oids ] - -# We can add new OIDs in here for use by 'ca', 'req' and 'ts'. -# Add a simple OID like this: -# testoid1=1.2.3.4 -# Or use config file substitution like this: -# testoid2=${testoid1}.5.6 - -# Policies used by the TSA examples. -tsa_policy1 = 1.2.3.4.1 -tsa_policy2 = 1.2.3.4.5.6 -tsa_policy3 = 1.2.3.4.5.7 - -#################################################################### -[ ca ] -default_ca = CA_default # The default ca section - -#################################################################### -[ CA_default ] - -dir = ./demoCA # Where everything is kept -certs = $dir/certs # Where the issued certs are kept -crl_dir = $dir/crl # Where the issued crl are kept -database = $dir/index.txt # database index file. -#unique_subject = no # Set to 'no' to allow creation of - # several certs with same subject. -new_certs_dir = $dir/newcerts # default place for new certs. - -certificate = $dir/cacert.pem # The CA certificate -serial = $dir/serial # The current serial number -crlnumber = $dir/crlnumber # the current crl number - # must be commented out to leave a V1 CRL -crl = $dir/crl.pem # The current CRL -private_key = $dir/private/cakey.pem# The private key - -x509_extensions = usr_cert # The extensions to add to the cert - -# Comment out the following two lines for the "traditional" -# (and highly broken) format. -name_opt = ca_default # Subject Name options -cert_opt = ca_default # Certificate field options - -# Extension copying option: use with caution. -# copy_extensions = copy - -# Extensions to add to a CRL. Note: Netscape communicator chokes on V2 CRLs -# so this is commented out by default to leave a V1 CRL. -# crlnumber must also be commented out to leave a V1 CRL. -# crl_extensions = crl_ext - -default_days = 365 # how long to certify for -default_crl_days= 30 # how long before next CRL -default_md = default # use public key default MD -preserve = no # keep passed DN ordering - -# A few difference way of specifying how similar the request should look -# For type CA, the listed attributes must be the same, and the optional -# and supplied fields are just that :-) -policy = policy_match - -# For the CA policy -[ policy_match ] -countryName = match -stateOrProvinceName = match -organizationName = match -organizationalUnitName = optional -commonName = supplied -emailAddress = optional - -# For the 'anything' policy -# At this point in time, you must list all acceptable 'object' -# types. -[ policy_anything ] -countryName = optional -stateOrProvinceName = optional -localityName = optional -organizationName = optional -organizationalUnitName = optional -commonName = supplied -emailAddress = optional - -#################################################################### -[ req ] -default_bits = 2048 -default_keyfile = privkey.pem -distinguished_name = req_distinguished_name -attributes = req_attributes -x509_extensions = v3_ca # The extensions to add to the self signed cert - -# Passwords for private keys if not present they will be prompted for -# input_password = secret -# output_password = secret - -# This sets a mask for permitted string types. There are several options. -# default: PrintableString, T61String, BMPString. -# pkix : PrintableString, BMPString (PKIX recommendation before 2004) -# utf8only: only UTF8Strings (PKIX recommendation after 2004). -# nombstr : PrintableString, T61String (no BMPStrings or UTF8Strings). -# MASK:XXXX a literal mask value. -# WARNING: ancient versions of Netscape crash on BMPStrings or UTF8Strings. -string_mask = utf8only - -# req_extensions = v3_req # The extensions to add to a certificate request - -[ req_distinguished_name ] -countryName = Country Name (2 letter code) -countryName_default = AU -countryName_min = 2 -countryName_max = 2 - -stateOrProvinceName = State or Province Name (full name) -stateOrProvinceName_default = Some-State - -localityName = Locality Name (eg, city) - -0.organizationName = Organization Name (eg, company) -0.organizationName_default = Internet Widgits Pty Ltd - -# we can do this but it is not needed normally :-) -#1.organizationName = Second Organization Name (eg, company) -#1.organizationName_default = World Wide Web Pty Ltd - -organizationalUnitName = Organizational Unit Name (eg, section) -#organizationalUnitName_default = - -commonName = Common Name (e.g. server FQDN or YOUR name) -commonName_max = 64 - -emailAddress = Email Address -emailAddress_max = 64 - -# SET-ex3 = SET extension number 3 - -[ req_attributes ] -challengePassword = A challenge password -challengePassword_min = 4 -challengePassword_max = 20 - -unstructuredName = An optional company name - -[ usr_cert ] - -# These extensions are added when 'ca' signs a request. - -# This goes against PKIX guidelines but some CAs do it and some software -# requires this to avoid interpreting an end user certificate as a CA. - -basicConstraints=CA:FALSE - -# Here are some examples of the usage of nsCertType. If it is omitted -# the certificate can be used for anything *except* object signing. - -# This is OK for an SSL server. -# nsCertType = server - -# For an object signing certificate this would be used. -# nsCertType = objsign - -# For normal client use this is typical -# nsCertType = client, email - -# and for everything including object signing: -# nsCertType = client, email, objsign - -# This is typical in keyUsage for a client certificate. -# keyUsage = nonRepudiation, digitalSignature, keyEncipherment - -# This will be displayed in Netscape's comment listbox. -nsComment = "OpenSSL Generated Certificate" - -# PKIX recommendations harmless if included in all certificates. -subjectKeyIdentifier=hash -authorityKeyIdentifier=keyid,issuer - -# This stuff is for subjectAltName and issuerAltname. -# Import the email address. -# subjectAltName=email:copy -# An alternative to produce certificates that aren't -# deprecated according to PKIX. -# subjectAltName=email:move - -# Copy subject details -# issuerAltName=issuer:copy - -#nsCaRevocationUrl = http://www.domain.dom/ca-crl.pem -#nsBaseUrl -#nsRevocationUrl -#nsRenewalUrl -#nsCaPolicyUrl -#nsSslServerName - -# This is required for TSA certificates. -# extendedKeyUsage = critical,timeStamping - -[ v3_req ] - -# Extensions to add to a certificate request - -basicConstraints = CA:FALSE -keyUsage = nonRepudiation, digitalSignature, keyEncipherment - -[ v3_ca ] - - -# Extensions for a typical CA - - -# PKIX recommendation. - -subjectKeyIdentifier=hash - -authorityKeyIdentifier=keyid:always,issuer - -basicConstraints = critical,CA:true - -# Key usage: this is typical for a CA certificate. However since it will -# prevent it being used as an test self-signed certificate it is best -# left out by default. -# keyUsage = cRLSign, keyCertSign - -# Some might want this also -# nsCertType = sslCA, emailCA - -# Include email address in subject alt name: another PKIX recommendation -# subjectAltName=email:copy -# Copy issuer details -# issuerAltName=issuer:copy - -# DER hex encoding of an extension: beware experts only! -# obj=DER:02:03 -# Where 'obj' is a standard or added object -# You can even override a supported extension: -# basicConstraints= critical, DER:30:03:01:01:FF - -[ crl_ext ] - -# CRL extensions. -# Only issuerAltName and authorityKeyIdentifier make any sense in a CRL. - -# issuerAltName=issuer:copy -authorityKeyIdentifier=keyid:always - -[ proxy_cert_ext ] -# These extensions should be added when creating a proxy certificate - -# This goes against PKIX guidelines but some CAs do it and some software -# requires this to avoid interpreting an end user certificate as a CA. - -basicConstraints=CA:FALSE - -# Here are some examples of the usage of nsCertType. If it is omitted -# the certificate can be used for anything *except* object signing. - -# This is OK for an SSL server. -# nsCertType = server - -# For an object signing certificate this would be used. -# nsCertType = objsign - -# For normal client use this is typical -# nsCertType = client, email - -# and for everything including object signing: -# nsCertType = client, email, objsign - -# This is typical in keyUsage for a client certificate. -# keyUsage = nonRepudiation, digitalSignature, keyEncipherment - -# This will be displayed in Netscape's comment listbox. -nsComment = "OpenSSL Generated Certificate" - -# PKIX recommendations harmless if included in all certificates. -subjectKeyIdentifier=hash -authorityKeyIdentifier=keyid,issuer - -# This stuff is for subjectAltName and issuerAltname. -# Import the email address. -# subjectAltName=email:copy -# An alternative to produce certificates that aren't -# deprecated according to PKIX. -# subjectAltName=email:move - -# Copy subject details -# issuerAltName=issuer:copy - -#nsCaRevocationUrl = http://www.domain.dom/ca-crl.pem -#nsBaseUrl -#nsRevocationUrl -#nsRenewalUrl -#nsCaPolicyUrl -#nsSslServerName - -# This really needs to be in place for it to be a proxy certificate. -proxyCertInfo=critical,language:id-ppl-anyLanguage,pathlen:3,policy:foo - -#################################################################### -[ tsa ] - -default_tsa = tsa_config1 # the default TSA section - -[ tsa_config1 ] - -# These are used by the TSA reply generation only. -dir = ./demoCA # TSA root directory -serial = $dir/tsaserial # The current serial number (mandatory) -crypto_device = builtin # OpenSSL engine to use for signing -signer_cert = $dir/tsacert.pem # The TSA signing certificate - # (optional) -certs = $dir/cacert.pem # Certificate chain to include in reply - # (optional) -signer_key = $dir/private/tsakey.pem # The TSA private key (optional) -signer_digest = sha256 # Signing digest to use. (Optional) -default_policy = tsa_policy1 # Policy if request did not specify it - # (optional) -other_policies = tsa_policy2, tsa_policy3 # acceptable policies (optional) -digests = sha1, sha256, sha384, sha512 # Acceptable message digests (mandatory) -accuracy = secs:1, millisecs:500, microsecs:100 # (optional) -clock_precision_digits = 0 # number of digits after dot. (optional) -ordering = yes # Is ordering defined for timestamps? - # (optional, default: no) -tsa_name = yes # Must the TSA name be included in the reply? - # (optional, default: no) -ess_cert_id_chain = no # Must the ESS cert id chain be included? - # (optional, default: no) -ess_cert_id_alg = sha1 # algorithm to compute certificate - # identifier (optional, default: sha1) diff --git a/deployments/Dockerfiles/autonomy-user/requirements.txt b/deployments/Dockerfiles/autonomy-user/requirements.txt index 14a4703dc1..eae80923f3 100644 --- a/deployments/Dockerfiles/autonomy-user/requirements.txt +++ b/deployments/Dockerfiles/autonomy-user/requirements.txt @@ -1,5 +1,5 @@ -open-autonomy[all]==0.12.1.post1 -open-aea[all]==1.39.0 -open-aea-cli-ipfs==1.39.0 -open-aea-ledger-ethereum==1.39.0 -protobuf<=3.20.1,>=3.19 +open-autonomy[all]==0.13.0 +open-aea[all]==1.40.0 +open-aea-cli-ipfs==1.40.0 +open-aea-ledger-ethereum==1.40.0 +protobuf>=4.21.6,<5.0.0 diff --git a/deployments/Dockerfiles/autonomy/Dockerfile b/deployments/Dockerfiles/autonomy/Dockerfile index 48d022a364..594e989dfc 100644 --- a/deployments/Dockerfiles/autonomy/Dockerfile +++ b/deployments/Dockerfiles/autonomy/Dockerfile @@ -2,25 +2,8 @@ ARG AEA_VERSION=latest FROM valory/open-aea-user:${AEA_VERSION} +RUN apt install git net-tools sudo -y -WORKDIR /home/ubuntu -ENV PATH=$PATH:/home/ubuntu/.local/bin +COPY scripts /root/scripts -RUN sudo apt-get update --fix-missing -RUN sudo apt-get autoremove -RUN sudo apt-get autoclean -RUN sudo apt-get install python3.10 python3.10-dev git cmake autoconf automake build-essential libffi-dev libtool pkg-config -y -RUN cd /usr/bin && sudo rm python3 && sudo ln -s python3.10 python3 && sudo ln -s python3.10 python - -# used in Docker-compose to wait until Hardhat node is up -RUN sudo apt-get install net-tools -y -RUN python -m pip install --upgrade pip - -COPY openssl.cnf /etc/ssl -COPY requirements.txt /home/ubuntu - -WORKDIR /home/ubuntu - -RUN pip3 install -r requirements.txt - -ENTRYPOINT [ "/bin/bash" ] +ENTRYPOINT ["/bin/bash", "-c"] diff --git a/deployments/Dockerfiles/autonomy/openssl.cnf b/deployments/Dockerfiles/autonomy/openssl.cnf deleted file mode 100644 index acbe687d89..0000000000 --- a/deployments/Dockerfiles/autonomy/openssl.cnf +++ /dev/null @@ -1,365 +0,0 @@ -# -# OpenSSL example configuration file. -# This is mostly being used for generation of certificate requests. -# - -# Note that you can include other files from the main configuration -# file using the .include directive. -#.include filename - -# This definition stops the following lines choking if HOME isn't -# defined. -HOME = . - -openssl_conf = openssl_init - -[openssl_init] -providers = provider_sect - -[provider_sect] -default = default_sect -legacy = legacy_sect - -[default_sect] -activate = 1 - -[legacy_sect] -activate = 1 - -# Extra OBJECT IDENTIFIER info: -#oid_file = $ENV::HOME/.oid -oid_section = new_oids - -# To use this configuration file with the "-extfile" option of the -# "openssl x509" utility, name here the section containing the -# X.509v3 extensions to use: -# extensions = -# (Alternatively, use a configuration file that has only -# X.509v3 extensions in its main [= default] section.) - -[ new_oids ] - -# We can add new OIDs in here for use by 'ca', 'req' and 'ts'. -# Add a simple OID like this: -# testoid1=1.2.3.4 -# Or use config file substitution like this: -# testoid2=${testoid1}.5.6 - -# Policies used by the TSA examples. -tsa_policy1 = 1.2.3.4.1 -tsa_policy2 = 1.2.3.4.5.6 -tsa_policy3 = 1.2.3.4.5.7 - -#################################################################### -[ ca ] -default_ca = CA_default # The default ca section - -#################################################################### -[ CA_default ] - -dir = ./demoCA # Where everything is kept -certs = $dir/certs # Where the issued certs are kept -crl_dir = $dir/crl # Where the issued crl are kept -database = $dir/index.txt # database index file. -#unique_subject = no # Set to 'no' to allow creation of - # several certs with same subject. -new_certs_dir = $dir/newcerts # default place for new certs. - -certificate = $dir/cacert.pem # The CA certificate -serial = $dir/serial # The current serial number -crlnumber = $dir/crlnumber # the current crl number - # must be commented out to leave a V1 CRL -crl = $dir/crl.pem # The current CRL -private_key = $dir/private/cakey.pem# The private key - -x509_extensions = usr_cert # The extensions to add to the cert - -# Comment out the following two lines for the "traditional" -# (and highly broken) format. -name_opt = ca_default # Subject Name options -cert_opt = ca_default # Certificate field options - -# Extension copying option: use with caution. -# copy_extensions = copy - -# Extensions to add to a CRL. Note: Netscape communicator chokes on V2 CRLs -# so this is commented out by default to leave a V1 CRL. -# crlnumber must also be commented out to leave a V1 CRL. -# crl_extensions = crl_ext - -default_days = 365 # how long to certify for -default_crl_days= 30 # how long before next CRL -default_md = default # use public key default MD -preserve = no # keep passed DN ordering - -# A few difference way of specifying how similar the request should look -# For type CA, the listed attributes must be the same, and the optional -# and supplied fields are just that :-) -policy = policy_match - -# For the CA policy -[ policy_match ] -countryName = match -stateOrProvinceName = match -organizationName = match -organizationalUnitName = optional -commonName = supplied -emailAddress = optional - -# For the 'anything' policy -# At this point in time, you must list all acceptable 'object' -# types. -[ policy_anything ] -countryName = optional -stateOrProvinceName = optional -localityName = optional -organizationName = optional -organizationalUnitName = optional -commonName = supplied -emailAddress = optional - -#################################################################### -[ req ] -default_bits = 2048 -default_keyfile = privkey.pem -distinguished_name = req_distinguished_name -attributes = req_attributes -x509_extensions = v3_ca # The extensions to add to the self signed cert - -# Passwords for private keys if not present they will be prompted for -# input_password = secret -# output_password = secret - -# This sets a mask for permitted string types. There are several options. -# default: PrintableString, T61String, BMPString. -# pkix : PrintableString, BMPString (PKIX recommendation before 2004) -# utf8only: only UTF8Strings (PKIX recommendation after 2004). -# nombstr : PrintableString, T61String (no BMPStrings or UTF8Strings). -# MASK:XXXX a literal mask value. -# WARNING: ancient versions of Netscape crash on BMPStrings or UTF8Strings. -string_mask = utf8only - -# req_extensions = v3_req # The extensions to add to a certificate request - -[ req_distinguished_name ] -countryName = Country Name (2 letter code) -countryName_default = AU -countryName_min = 2 -countryName_max = 2 - -stateOrProvinceName = State or Province Name (full name) -stateOrProvinceName_default = Some-State - -localityName = Locality Name (eg, city) - -0.organizationName = Organization Name (eg, company) -0.organizationName_default = Internet Widgits Pty Ltd - -# we can do this but it is not needed normally :-) -#1.organizationName = Second Organization Name (eg, company) -#1.organizationName_default = World Wide Web Pty Ltd - -organizationalUnitName = Organizational Unit Name (eg, section) -#organizationalUnitName_default = - -commonName = Common Name (e.g. server FQDN or YOUR name) -commonName_max = 64 - -emailAddress = Email Address -emailAddress_max = 64 - -# SET-ex3 = SET extension number 3 - -[ req_attributes ] -challengePassword = A challenge password -challengePassword_min = 4 -challengePassword_max = 20 - -unstructuredName = An optional company name - -[ usr_cert ] - -# These extensions are added when 'ca' signs a request. - -# This goes against PKIX guidelines but some CAs do it and some software -# requires this to avoid interpreting an end user certificate as a CA. - -basicConstraints=CA:FALSE - -# Here are some examples of the usage of nsCertType. If it is omitted -# the certificate can be used for anything *except* object signing. - -# This is OK for an SSL server. -# nsCertType = server - -# For an object signing certificate this would be used. -# nsCertType = objsign - -# For normal client use this is typical -# nsCertType = client, email - -# and for everything including object signing: -# nsCertType = client, email, objsign - -# This is typical in keyUsage for a client certificate. -# keyUsage = nonRepudiation, digitalSignature, keyEncipherment - -# This will be displayed in Netscape's comment listbox. -nsComment = "OpenSSL Generated Certificate" - -# PKIX recommendations harmless if included in all certificates. -subjectKeyIdentifier=hash -authorityKeyIdentifier=keyid,issuer - -# This stuff is for subjectAltName and issuerAltname. -# Import the email address. -# subjectAltName=email:copy -# An alternative to produce certificates that aren't -# deprecated according to PKIX. -# subjectAltName=email:move - -# Copy subject details -# issuerAltName=issuer:copy - -#nsCaRevocationUrl = http://www.domain.dom/ca-crl.pem -#nsBaseUrl -#nsRevocationUrl -#nsRenewalUrl -#nsCaPolicyUrl -#nsSslServerName - -# This is required for TSA certificates. -# extendedKeyUsage = critical,timeStamping - -[ v3_req ] - -# Extensions to add to a certificate request - -basicConstraints = CA:FALSE -keyUsage = nonRepudiation, digitalSignature, keyEncipherment - -[ v3_ca ] - - -# Extensions for a typical CA - - -# PKIX recommendation. - -subjectKeyIdentifier=hash - -authorityKeyIdentifier=keyid:always,issuer - -basicConstraints = critical,CA:true - -# Key usage: this is typical for a CA certificate. However since it will -# prevent it being used as an test self-signed certificate it is best -# left out by default. -# keyUsage = cRLSign, keyCertSign - -# Some might want this also -# nsCertType = sslCA, emailCA - -# Include email address in subject alt name: another PKIX recommendation -# subjectAltName=email:copy -# Copy issuer details -# issuerAltName=issuer:copy - -# DER hex encoding of an extension: beware experts only! -# obj=DER:02:03 -# Where 'obj' is a standard or added object -# You can even override a supported extension: -# basicConstraints= critical, DER:30:03:01:01:FF - -[ crl_ext ] - -# CRL extensions. -# Only issuerAltName and authorityKeyIdentifier make any sense in a CRL. - -# issuerAltName=issuer:copy -authorityKeyIdentifier=keyid:always - -[ proxy_cert_ext ] -# These extensions should be added when creating a proxy certificate - -# This goes against PKIX guidelines but some CAs do it and some software -# requires this to avoid interpreting an end user certificate as a CA. - -basicConstraints=CA:FALSE - -# Here are some examples of the usage of nsCertType. If it is omitted -# the certificate can be used for anything *except* object signing. - -# This is OK for an SSL server. -# nsCertType = server - -# For an object signing certificate this would be used. -# nsCertType = objsign - -# For normal client use this is typical -# nsCertType = client, email - -# and for everything including object signing: -# nsCertType = client, email, objsign - -# This is typical in keyUsage for a client certificate. -# keyUsage = nonRepudiation, digitalSignature, keyEncipherment - -# This will be displayed in Netscape's comment listbox. -nsComment = "OpenSSL Generated Certificate" - -# PKIX recommendations harmless if included in all certificates. -subjectKeyIdentifier=hash -authorityKeyIdentifier=keyid,issuer - -# This stuff is for subjectAltName and issuerAltname. -# Import the email address. -# subjectAltName=email:copy -# An alternative to produce certificates that aren't -# deprecated according to PKIX. -# subjectAltName=email:move - -# Copy subject details -# issuerAltName=issuer:copy - -#nsCaRevocationUrl = http://www.domain.dom/ca-crl.pem -#nsBaseUrl -#nsRevocationUrl -#nsRenewalUrl -#nsCaPolicyUrl -#nsSslServerName - -# This really needs to be in place for it to be a proxy certificate. -proxyCertInfo=critical,language:id-ppl-anyLanguage,pathlen:3,policy:foo - -#################################################################### -[ tsa ] - -default_tsa = tsa_config1 # the default TSA section - -[ tsa_config1 ] - -# These are used by the TSA reply generation only. -dir = ./demoCA # TSA root directory -serial = $dir/tsaserial # The current serial number (mandatory) -crypto_device = builtin # OpenSSL engine to use for signing -signer_cert = $dir/tsacert.pem # The TSA signing certificate - # (optional) -certs = $dir/cacert.pem # Certificate chain to include in reply - # (optional) -signer_key = $dir/private/tsakey.pem # The TSA private key (optional) -signer_digest = sha256 # Signing digest to use. (Optional) -default_policy = tsa_policy1 # Policy if request did not specify it - # (optional) -other_policies = tsa_policy2, tsa_policy3 # acceptable policies (optional) -digests = sha1, sha256, sha384, sha512 # Acceptable message digests (mandatory) -accuracy = secs:1, millisecs:500, microsecs:100 # (optional) -clock_precision_digits = 0 # number of digits after dot. (optional) -ordering = yes # Is ordering defined for timestamps? - # (optional, default: no) -tsa_name = yes # Must the TSA name be included in the reply? - # (optional, default: no) -ess_cert_id_chain = no # Must the ESS cert id chain be included? - # (optional, default: no) -ess_cert_id_alg = sha1 # algorithm to compute certificate - # identifier (optional, default: sha1) diff --git a/deployments/Dockerfiles/autonomy/requirements.txt b/deployments/Dockerfiles/autonomy/requirements.txt deleted file mode 100644 index 06e2639a74..0000000000 --- a/deployments/Dockerfiles/autonomy/requirements.txt +++ /dev/null @@ -1,4 +0,0 @@ -open-aea[all]>=1.39.0,<2.0.0 -open-aea-cli-ipfs>=1.39.0,<2.0.0 -protobuf<=3.20.1,>=3.19 -requests==2.27.1 \ No newline at end of file diff --git a/autonomy/data/Dockerfiles/agent/install.sh b/deployments/Dockerfiles/autonomy/scripts/install.sh similarity index 54% rename from autonomy/data/Dockerfiles/agent/install.sh rename to deployments/Dockerfiles/autonomy/scripts/install.sh index f95c350d1b..b02181a2c8 100644 --- a/autonomy/data/Dockerfiles/agent/install.sh +++ b/deployments/Dockerfiles/autonomy/scripts/install.sh @@ -12,12 +12,13 @@ echo "Loading $AEA_AGENT" aea fetch $AEA_AGENT --alias agent || exit 1 cd agent -echo "Installing the necessary dependencies!" -aea install || exit 1 - -echo "Building the deployment" +echo "Building the deployments host dependencies." aea build || exit 1 +echo "Successfully built the host dependencies." -echo "Successfully built the agent" +echo "Installing the necessary python dependencies!" +aea install || exit 1 +echo "Successfully Installed the python dependecies." -cd .. \ No newline at end of file +echo "Done." +cd .. diff --git a/autonomy/data/Dockerfiles/agent/start.sh b/deployments/Dockerfiles/autonomy/scripts/start.sh similarity index 100% rename from autonomy/data/Dockerfiles/agent/start.sh rename to deployments/Dockerfiles/autonomy/scripts/start.sh diff --git a/docs/advanced_reference/commands/autonomy_fetch.md b/docs/advanced_reference/commands/autonomy_fetch.md index 344de078a5..9511511b61 100644 --- a/docs/advanced_reference/commands/autonomy_fetch.md +++ b/docs/advanced_reference/commands/autonomy_fetch.md @@ -55,5 +55,5 @@ autonomy --registry-path=./packages fetch valory/hello_world:0.1.0 --service --l Fetch the agent service `hello_world` from a remote registry ([IPFS](https://ipfs.io)): ```bash -autonomy fetch valory/hello_world:0.1.0:bafybeibao4o6x2b5qrfe5zo2ksz2skhv2sgazhoixz67l5ndwbomjq6sv4 --service --remote +autonomy fetch valory/hello_world:0.1.0:bafybeieoqhbwqmg5oiqgkxf6dlizncjvaermwtun4aijqcbyc6ulfl7o4q --service --remote ``` diff --git a/docs/advanced_reference/commands/autonomy_service.md b/docs/advanced_reference/commands/autonomy_service.md index 104abc7211..63a9935ba3 100644 --- a/docs/advanced_reference/commands/autonomy_service.md +++ b/docs/advanced_reference/commands/autonomy_service.md @@ -203,14 +203,17 @@ autonomy service deploy [OPTIONS] SERVICE_ID ``` ### Options +`--reuse-multisig` +: Reuse `mutlisig` from previous deployment. + `--key FILE` : Use a private key from a file to sign the transactions. `--hwi` : Use a hardware wallet to sign the transactions. -`-d, --deployment-payload PAYLOAD` -: Deployment payload value. +`-f, --fallback-handler ADDRESS` +: Fallback handler address for the gnosis safe multisig. `--password PASSWORD` : Password for the key file. diff --git a/docs/api/analyse/benchmark/aggregate.md b/docs/api/analyse/benchmark/aggregate.md index db6696caf6..52045c5c5b 100644 --- a/docs/api/analyse/benchmark/aggregate.md +++ b/docs/api/analyse/benchmark/aggregate.md @@ -19,30 +19,58 @@ Block types. #### read`_`benchmark`_`data ```python -def read_benchmark_data(path: Path) -> List[Dict] +def read_benchmark_data(path: Path, + block_type: str = BlockTypes.ALL, + period: int = -1) -> Dict[str, Dict[str, List[Dict]]] ``` Returns logs. - + -#### create`_`dataframe +#### add`_`statistic ```python -def create_dataframe(data: List[Dict]) -> pd.DataFrame +def add_statistic(name: str, aggregator: Callable, behaviours: List[str], + behaviour_history: Dict[str, List[float]]) -> str ``` -Create pandas.DataFrame object from benchmark data. +Add a stastic column. - + -#### format`_`output +#### add`_`statistics ```python -def format_output(df: pd.DataFrame, period: int, block_type: str) -> str +def add_statistics(behaviours: List[str], + behaviour_history: Dict[str, List[float]]) -> str ``` -Format output from given dataframe and parameters +Add statistics. + + + +#### create`_`table`_`data + +```python +def create_table_data( + data: Dict[str, List[Dict]], + blocks: Tuple[str, + ...]) -> Tuple[List[str], List[str], Dict[str, Dict]] +``` + +Create table data. + + + +#### create`_`agent`_`table + +```python +def create_agent_table(agent: str, data: Dict[str, List[Dict]], + blocks: Tuple[str, ...]) -> str +``` + +Create agent table. diff --git a/docs/api/analyse/logs/collection.md b/docs/api/analyse/logs/collection.md index 7ffb0d43cd..248716c1f0 100644 --- a/docs/api/analyse/logs/collection.md +++ b/docs/api/analyse/logs/collection.md @@ -54,8 +54,9 @@ Create logs database. ```python @staticmethod -def get_next_log_block(fp: TextIO, - prev_line: str) -> Tuple[Optional[str], Optional[str]] +def get_next_log_block( + fp: TextIO, + prev_line: Optional[str]) -> Tuple[Optional[str], Optional[str]] ``` Get next log block. diff --git a/docs/api/chain/service.md b/docs/api/chain/service.md index 10512f42bc..0b2c1acf90 100644 --- a/docs/api/chain/service.md +++ b/docs/api/chain/service.md @@ -14,15 +14,15 @@ class MultiSendOperation(Enum) Operation types. - + -#### get`_`default`_`delployment`_`payload +#### get`_`delployment`_`payload ```python -def get_default_delployment_payload() -> str +def get_delployment_payload(fallback_handler: Optional[str] = None) -> str ``` -Return default deployment payload. +Calculates deployment payload. @@ -200,7 +200,7 @@ def deploy_service(ledger_api: LedgerApi, crypto: Crypto, chain_type: ChainType, service_id: int, - deployment_payload: Optional[str] = None, + fallback_handler: Optional[str] = None, reuse_multisig: bool = False, timeout: Optional[float] = None) -> None ``` @@ -216,8 +216,7 @@ the service and registered the required agent instances. - `crypto`: `aea.crypto.Crypto` object which has a funded key - `chain_type`: Chain type - `service_id`: Service ID retrieved after minting a service -- `deployment_payload`: Deployment payload to include when making the -deployment transaction +- `fallback_handler`: Fallback handler address for gnosis safe multisig - `reuse_multisig`: Use multisig from the previous deployment - `timeout`: Time to wait for deploy event to emit diff --git a/docs/api/cli/helpers/chain.md b/docs/api/cli/helpers/chain.md index b945039dec..954f0129b2 100644 --- a/docs/api/cli/helpers/chain.md +++ b/docs/api/cli/helpers/chain.md @@ -27,13 +27,36 @@ def __init__(chain_type: ChainType, Initialize object. + + +#### load`_`hwi`_`plugin + +```python +@staticmethod +def load_hwi_plugin() -> Type[LedgerApi] +``` + +Load HWI Plugin. + + + +#### load`_`crypto + +```python +@staticmethod +def load_crypto(file: Path, password: Optional[str] = None) -> Crypto +``` + +Load crypto object. + #### get`_`ledger`_`and`_`crypto`_`objects ```python -@staticmethod +@classmethod def get_ledger_and_crypto_objects( + cls, chain_type: ChainType, key: Optional[Path] = None, password: Optional[str] = None, @@ -42,6 +65,17 @@ def get_ledger_and_crypto_objects( Create ledger_api and crypto objects + + +#### check`_`required`_`enviroment`_`variables + +```python +def check_required_enviroment_variables( + configs: Tuple[ContractConfig, ...]) -> None +``` + +Check for required enviroment variables when working with the custom chain. + ## MintHelper Objects @@ -271,7 +305,7 @@ Register agents instances on an activated service ```python def deploy_service(reuse_multisig: bool = False, - deployment_payload: Optional[str] = None, + fallback_handler: Optional[str] = None, timeout: Optional[float] = None) -> None ``` diff --git a/docs/api/data/contracts/agent_registry/contract.md b/docs/api/data/contracts/agent_registry/contract.md index e8406ab265..17278d3de8 100644 --- a/docs/api/data/contracts/agent_registry/contract.md +++ b/docs/api/data/contracts/agent_registry/contract.md @@ -50,28 +50,39 @@ def get_state(cls, ledger_api: LedgerApi, contract_address: str, Get state. - + -#### get`_`token`_`uri +#### get`_`create`_`events ```python @classmethod -def get_token_uri(cls, ledger_api: LedgerApi, contract_address: str, - token_id: int) -> str +def get_create_events(cls, ledger_api: LedgerApi, contract_address: str, + receipt: JSONLike) -> Optional[int] ``` Returns `CreateUnit` event filter. - + -#### filter`_`token`_`id`_`from`_`emitted`_`events +#### get`_`update`_`hash`_`events ```python @classmethod -def filter_token_id_from_emitted_events(cls, ledger_api: LedgerApi, - contract_address: str, - metadata_hash: str) -> Optional[int] +def get_update_hash_events(cls, ledger_api: LedgerApi, contract_address: str, + receipt: JSONLike) -> Optional[int] ``` Returns `CreateUnit` event filter. + + +#### get`_`token`_`uri + +```python +@classmethod +def get_token_uri(cls, ledger_api: LedgerApi, contract_address: str, + token_id: int) -> str +``` + +Returns the latest metadata URI for a component. + diff --git a/docs/api/data/contracts/component_registry/contract.md b/docs/api/data/contracts/component_registry/contract.md index 5fe3e785a5..95455a139b 100644 --- a/docs/api/data/contracts/component_registry/contract.md +++ b/docs/api/data/contracts/component_registry/contract.md @@ -50,15 +50,26 @@ def get_state(cls, ledger_api: LedgerApi, contract_address: str, Get state. - + -#### filter`_`token`_`id`_`from`_`emitted`_`events +#### get`_`create`_`events ```python @classmethod -def filter_token_id_from_emitted_events(cls, ledger_api: LedgerApi, - contract_address: str, - metadata_hash: str) -> Optional[int] +def get_create_events(cls, ledger_api: LedgerApi, contract_address: str, + receipt: JSONLike) -> Optional[int] +``` + +Returns `CreateUnit` event filter. + + + +#### get`_`update`_`hash`_`events + +```python +@classmethod +def get_update_hash_events(cls, ledger_api: LedgerApi, contract_address: str, + receipt: JSONLike) -> Optional[int] ``` Returns `CreateUnit` event filter. @@ -73,5 +84,5 @@ def get_token_uri(cls, ledger_api: LedgerApi, contract_address: str, token_id: int) -> str ``` -Returns `CreateUnit` event filter. +Returns the latest metadata URI for a component. diff --git a/docs/api/data/contracts/erc20/contract.md b/docs/api/data/contracts/erc20/contract.md new file mode 100644 index 0000000000..bce91279bf --- /dev/null +++ b/docs/api/data/contracts/erc20/contract.md @@ -0,0 +1,115 @@ + + +# autonomy.data.contracts.erc20.contract + +This module contains the scaffold contract definition. + + + +## ERC20TokenContract Objects + +```python +class ERC20TokenContract(Contract) +``` + +ERC20 token contract. + + + +#### get`_`raw`_`transaction + +```python +@classmethod +def get_raw_transaction(cls, ledger_api: LedgerApi, contract_address: str, + **kwargs: Any) -> JSONLike +``` + +Handler method for the 'GET_RAW_TRANSACTION' requests. + +Implement this method in the sub class if you want +to handle the contract requests manually. + +**Arguments**: + +- `ledger_api`: the ledger apis. +- `contract_address`: the contract address. +- `kwargs`: the keyword arguments. + +**Returns**: + +the tx # noqa: DAR202 + + + +#### get`_`raw`_`message + +```python +@classmethod +def get_raw_message(cls, ledger_api: LedgerApi, contract_address: str, + **kwargs: Any) -> bytes +``` + +Handler method for the 'GET_RAW_MESSAGE' requests. + +Implement this method in the sub class if you want +to handle the contract requests manually. + +**Arguments**: + +- `ledger_api`: the ledger apis. +- `contract_address`: the contract address. +- `kwargs`: the keyword arguments. + +**Returns**: + +the tx # noqa: DAR202 + + + +#### get`_`state + +```python +@classmethod +def get_state(cls, ledger_api: LedgerApi, contract_address: str, + **kwargs: Any) -> JSONLike +``` + +Handler method for the 'GET_STATE' requests. + +Implement this method in the sub class if you want +to handle the contract requests manually. + +**Arguments**: + +- `ledger_api`: the ledger apis. +- `contract_address`: the contract address. +- `kwargs`: the keyword arguments. + +**Returns**: + +the tx # noqa: DAR202 + + + +#### get`_`approve`_`tx + +```python +@classmethod +def get_approve_tx(cls, ledger_api: LedgerApi, contract_address: str, + spender: str, amount: int, sender: str) -> JSONLike +``` + +Get approve tx. + + + +#### get`_`approval`_`events + +```python +@classmethod +def get_approval_events(cls, ledger_api: LedgerApi, contract_address: str, + tx_receipt: JSONLike) -> JSONLike +``` + +Get approve tx. + diff --git a/docs/api/data/contracts/gnosis_safe/contract.md b/docs/api/data/contracts/gnosis_safe/contract.md new file mode 100644 index 0000000000..35a001de12 --- /dev/null +++ b/docs/api/data/contracts/gnosis_safe/contract.md @@ -0,0 +1,561 @@ + + +# autonomy.data.contracts.gnosis`_`safe.contract + +This module contains the class to connect to an Gnosis Safe contract. + + + +#### checksum`_`address + +```python +def checksum_address(agent_address: str) -> ChecksumAddress +``` + +Get the checksum address. + + + +## SafeOperation Objects + +```python +class SafeOperation(Enum) +``` + +Operation types. + + + +## GnosisSafeContract Objects + +```python +class GnosisSafeContract(Contract) +``` + +The Gnosis Safe contract. + + + +#### get`_`raw`_`transaction + +```python +@classmethod +def get_raw_transaction(cls, ledger_api: LedgerApi, contract_address: str, + **kwargs: Any) -> Optional[JSONLike] +``` + +Get the Safe transaction. + + + +#### get`_`raw`_`message + +```python +@classmethod +def get_raw_message(cls, ledger_api: LedgerApi, contract_address: str, + **kwargs: Any) -> Optional[bytes] +``` + +Get raw message. + + + +#### get`_`state + +```python +@classmethod +def get_state(cls, ledger_api: LedgerApi, contract_address: str, + **kwargs: Any) -> Optional[JSONLike] +``` + +Get state. + + + +#### get`_`deploy`_`transaction + +```python +@classmethod +def get_deploy_transaction(cls, ledger_api: LedgerApi, deployer_address: str, + **kwargs: Any) -> Optional[JSONLike] +``` + +Get deploy transaction. + +**Arguments**: + +- `ledger_api`: ledger API object. +- `deployer_address`: the deployer address. +- `kwargs`: the keyword arguments. + +**Returns**: + +an optional JSON-like object. + + + +#### get`_`raw`_`safe`_`transaction`_`hash + +```python +@classmethod +def get_raw_safe_transaction_hash(cls, + ledger_api: EthereumApi, + contract_address: str, + to_address: str, + value: int, + data: bytes, + operation: int = SafeOperation.CALL.value, + safe_tx_gas: int = 0, + base_gas: int = 0, + gas_price: int = 0, + gas_token: str = NULL_ADDRESS, + refund_receiver: str = NULL_ADDRESS, + safe_nonce: Optional[int] = None, + safe_version: Optional[str] = None, + chain_id: Optional[int] = None) -> JSONLike +``` + +Get the hash of the raw Safe transaction. + +Adapted from https://github.com/gnosis/gnosis-py/blob/69f1ee3263086403f6017effa0841c6a2fbba6d6/gnosis/safe/safe_tx.py#L125 + +Note, because safe_nonce is included in the tx_hash the agents implicitly agree on the order of txs if they agree on a tx_hash. + +**Arguments**: + +- `ledger_api`: the ledger API object +- `contract_address`: the contract address +- `to_address`: the tx recipient address +- `value`: the ETH value of the transaction +- `data`: the data of the transaction +- `operation`: Operation type of Safe transaction +- `safe_tx_gas`: Gas that should be used for the Safe transaction +- `base_gas`: Gas costs for that are independent of the transaction execution +(e.g. base transaction fee, signature check, payment of the refund) +- `gas_price`: Gas price that should be used for the payment calculation +- `gas_token`: Token address (or `0x000..000` if ETH) that is used for the payment +- `refund_receiver`: Address of receiver of gas payment (or `0x000..000` if tx.origin). +- `safe_nonce`: Current nonce of the Safe. If not provided, it will be retrieved from network +- `safe_version`: Safe version 1.0.0 renamed `baseGas` to `dataGas`. Safe version 1.3.0 added `chainId` to the `domainSeparator`. If not provided, it will be retrieved from network +- `chain_id`: Ethereum network chain_id is used in hash calculation for Safes >= 1.3.0. If not provided, it will be retrieved from the provided ethereum_client + +**Returns**: + +the hash of the raw Safe transaction + + + +#### get`_`packed`_`signatures + +```python +@classmethod +def get_packed_signatures(cls, owners: Tuple[str], + signatures_by_owner: Dict[str, str]) -> bytes +``` + +Get the packed signatures. + + + +#### get`_`raw`_`safe`_`transaction + +```python +@classmethod +def get_raw_safe_transaction(cls, + ledger_api: EthereumApi, + contract_address: str, + sender_address: str, + owners: Tuple[str], + to_address: str, + value: int, + data: bytes, + signatures_by_owner: Dict[str, str], + operation: int = SafeOperation.CALL.value, + safe_tx_gas: int = 0, + base_gas: int = 0, + safe_gas_price: int = 0, + gas_token: str = NULL_ADDRESS, + refund_receiver: str = NULL_ADDRESS, + gas_price: Optional[int] = None, + nonce: Optional[Nonce] = None, + max_fee_per_gas: Optional[int] = None, + max_priority_fee_per_gas: Optional[int] = None, + old_price: Optional[Dict[str, Wei]] = None, + fallback_gas: int = 0) -> JSONLike +``` + +Get the raw Safe transaction + +**Arguments**: + +- `ledger_api`: the ledger API object +- `contract_address`: the contract address +- `sender_address`: the address of the sender +- `owners`: the sequence of owners +- `to_address`: Destination address of Safe transaction +- `value`: Ether value of Safe transaction +- `data`: Data payload of Safe transaction +- `signatures_by_owner`: mapping from owners to signatures +- `operation`: Operation type of Safe transaction +- `safe_tx_gas`: Gas that should be used for the Safe transaction +- `base_gas`: Gas costs for that are independent of the transaction execution +(e.g. base transaction fee, signature check, payment of the refund) +- `safe_gas_price`: Gas price that should be used for the payment calculation +- `gas_token`: Token address (or `0x000..000` if ETH) that is used for the payment +- `refund_receiver`: Address of receiver of gas payment (or `0x000..000` if tx.origin). +- `gas_price`: gas price +- `nonce`: the nonce +- `max_fee_per_gas`: max +- `max_priority_fee_per_gas`: max +- `old_price`: the old gas price params in case that we are trying to resubmit a transaction. +- `fallback_gas`: (external) gas to spend when base_gas and safe_tx_gas are zero and no gas estimation is possible. + +**Returns**: + +the raw Safe transaction + + + +#### verify`_`contract + +```python +@classmethod +def verify_contract(cls, ledger_api: LedgerApi, + contract_address: str) -> JSONLike +``` + +Verify the contract's bytecode + +**Arguments**: + +- `ledger_api`: the ledger API object +- `contract_address`: the contract address + +**Returns**: + +the verified status + + + +#### verify`_`tx + +```python +@classmethod +def verify_tx(cls, + ledger_api: EthereumApi, + contract_address: str, + tx_hash: str, + owners: Tuple[str], + to_address: str, + value: int, + data: bytes, + signatures_by_owner: Dict[str, str], + operation: int = SafeOperation.CALL.value, + safe_tx_gas: int = 0, + base_gas: int = 0, + gas_price: int = 0, + gas_token: str = NULL_ADDRESS, + refund_receiver: str = NULL_ADDRESS, + safe_version: Optional[str] = None) -> JSONLike +``` + +Verify a tx hash exists on the blockchain. + +Currently, the implementation is an overkill as most of the verification is implicit by the acceptance of the transaction in the Safe. + +**Arguments**: + +- `ledger_api`: the ledger API object +- `contract_address`: the contract address +- `tx_hash`: the transaction hash +- `owners`: the sequence of owners +- `to_address`: Destination address of Safe transaction +- `value`: Ether value of Safe transaction +- `data`: Data payload of Safe transaction +- `signatures_by_owner`: mapping from owners to signatures +- `operation`: Operation type of Safe transaction +- `safe_tx_gas`: Gas that should be used for the Safe transaction +- `base_gas`: Gas costs for that are independent of the transaction execution +(e.g. base transaction fee, signature check, payment of the refund) +- `gas_price`: Gas price that should be used for the payment calculation +- `gas_token`: Token address (or `0x000..000` if ETH) that is used for the payment +- `refund_receiver`: Address of receiver of gas payment (or `0x000..000` if tx.origin). +- `safe_version`: Safe version 1.0.0 renamed `baseGas` to `dataGas`. Safe version 1.3.0 added `chainId` to the `domainSeparator`. If not provided, it will be retrieved from network + +**Returns**: + +the verified status + + + +#### revert`_`reason + +```python +@classmethod +def revert_reason(cls, ledger_api: EthereumApi, contract_address: str, + tx: TxData) -> JSONLike +``` + +Check the revert reason of a transaction. + +**Arguments**: + +- `ledger_api`: the ledger API object. +- `contract_address`: the contract address +- `tx`: the transaction for which we want to get the revert reason. + +**Returns**: + +the revert reason message. + + + +#### get`_`safe`_`nonce + +```python +@classmethod +def get_safe_nonce(cls, ledger_api: EthereumApi, + contract_address: str) -> JSONLike +``` + +Retrieve the safe's nonce + +**Arguments**: + +- `ledger_api`: the ledger API object +- `contract_address`: the contract address + +**Returns**: + +the safe nonce + + + +#### get`_`ingoing`_`transfers + +```python +@classmethod +def get_ingoing_transfers(cls, + ledger_api: EthereumApi, + contract_address: str, + from_block: Optional[str] = None, + to_block: Optional[str] = "latest") -> JSONLike +``` + +A list of transfers into the contract. + +**Arguments**: + +- `ledger_api`: the ledger API object +- `contract_address`: the contract address, +- `from_block`: from which block to start tje search +- `to_block`: at which block to end the search + +**Returns**: + +list of transfers + + + +#### get`_`balance + +```python +@classmethod +def get_balance(cls, ledger_api: EthereumApi, + contract_address: str) -> JSONLike +``` + +Retrieve the safe's balance + +**Arguments**: + +- `ledger_api`: the ledger API object +- `contract_address`: the contract address + +**Returns**: + +the safe balance (in wei) + + + +#### get`_`amount`_`spent + +```python +@classmethod +def get_amount_spent(cls, ledger_api: EthereumApi, contract_address: str, + tx_hash: str) -> JSONLike +``` + +Get the amount of ether spent in a tx. + +**Arguments**: + +- `ledger_api`: the ledger API object +- `contract_address`: the contract address (not used) +- `tx_hash`: the settled tx hash + +**Returns**: + +the safe balance (in wei) + + + +#### get`_`safe`_`txs + +```python +@classmethod +def get_safe_txs(cls, + ledger_api: EthereumApi, + contract_address: str, + from_block: BlockIdentifier = "earliest", + to_block: BlockIdentifier = "latest") -> JSONLike +``` + +Get all the safe tx hashes. + +**Arguments**: + +- `ledger_api`: the ledger API object +- `contract_address`: the contract address (not used) +- `from_block`: from which block to search for events +- `to_block`: to which block to search for events +:return: the safe txs + + + +#### get`_`removed`_`owner`_`events + +```python +@classmethod +def get_removed_owner_events(cls, + ledger_api: EthereumApi, + contract_address: str, + removed_owner: Optional[str] = None, + from_block: BlockIdentifier = "earliest", + to_block: BlockIdentifier = "latest") -> JSONLike +``` + +Get all RemovedOwner events for a safe contract. + +**Arguments**: + +- `ledger_api`: the ledger API object +- `contract_address`: the contract address +- `removed_owner`: the owner to check for, any owner qualifies if not provided. +- `from_block`: from which block to search for events +- `to_block`: to which block to search for events + +**Returns**: + +the added owner events + + + +#### get`_`zero`_`transfer`_`events + +```python +@classmethod +def get_zero_transfer_events(cls, + ledger_api: EthereumApi, + contract_address: str, + sender_address: str, + from_block: BlockIdentifier = "earliest", + to_block: BlockIdentifier = "latest") -> JSONLike +``` + +Get all zero transfer events from a given sender to the safe address. + +**Arguments**: + +- `ledger_api`: the ledger API object +- `contract_address`: the contract address +- `sender_address`: the owner of the service, ie the address that triggers termination +- `from_block`: from which block to search for events +- `to_block`: to which block to search for events +:return: the zero transfer events + + + +#### get`_`remove`_`owner`_`data + +```python +@classmethod +def get_remove_owner_data(cls, ledger_api: EthereumApi, contract_address: str, + owner: str, threshold: int) -> JSONLike +``` + +Get a removeOwner() encoded tx. + +This method acts as a wrapper for `removeOwner()` +https://github.com/safe-global/safe-contracts/blob/v1.3.0/contracts/base/OwnerManager.sol#L70 + +**Arguments**: + +- `ledger_api`: the ledger API object +- `contract_address`: the contract address +- `owner`: the owner to be removed +- `threshold`: the new safe threshold to be set + +**Returns**: + +the zero transfer events + + + +#### get`_`swap`_`owner`_`data + +```python +@classmethod +def get_swap_owner_data(cls, ledger_api: EthereumApi, contract_address: str, + old_owner: str, new_owner: str) -> JSONLike +``` + +Get a swapOwner() encoded tx. + +This method acts as a wrapper for `swapOwner()` +https://github.com/safe-global/safe-contracts/blob/v1.3.0/contracts/base/OwnerManager.sol#L94 + +**Arguments**: + +- `ledger_api`: the ledger API object +- `contract_address`: the contract address +- `old_owner`: the owner to be replaced +- `new_owner`: owner to replace old_owner + +**Returns**: + +the zero transfer events + + + +#### get`_`owners + +```python +@classmethod +def get_owners(cls, ledger_api: EthereumApi, + contract_address: str) -> JSONLike +``` + +Get the safe owners. + +**Arguments**: + +- `ledger_api`: the ledger API object +- `contract_address`: the contract address + +**Returns**: + +the safe owners + + + +#### get`_`approve`_`hash`_`tx + +```python +@classmethod +def get_approve_hash_tx(cls, ledger_api: EthereumApi, contract_address: str, + tx_hash: str, sender: str) -> JSONLike +``` + +Get approve has tx. + diff --git a/docs/api/data/contracts/gnosis_safe/encode.md b/docs/api/data/contracts/gnosis_safe/encode.md new file mode 100644 index 0000000000..96c8383a92 --- /dev/null +++ b/docs/api/data/contracts/gnosis_safe/encode.md @@ -0,0 +1,140 @@ + + +# autonomy.data.contracts.gnosis`_`safe.encode + +ETH encoder. + + + +#### encode + +```python +def encode(typ: t.Any, arg: t.Any) -> bytes +``` + +Encode by type. + + + +#### to`_`string + +```python +def to_string(value: t.Union[bytes, str, int]) -> bytes +``` + +Convert to byte string. + + + +#### sha3`_`256 + +```python +def sha3_256(x: bytes) -> bytes +``` + +Calculate SHA3-256 hash. + + + +#### sha3 + +```python +def sha3(seed: t.Union[bytes, str, int]) -> bytes +``` + +Calculate SHA3-256 hash. + + + +#### scan`_`bin + +```python +def scan_bin(v: str) -> bytes +``` + +Scan bytes. + + + +#### create`_`struct`_`definition + +```python +def create_struct_definition(name: str, schema: t.List[t.Dict[str, + str]]) -> str +``` + +Create method struction defintion. + + + +#### find`_`dependencies + +```python +def find_dependencies(name: str, types: t.Dict[str, t.Any], + dependencies: t.Set) -> None +``` + +Find dependencies. + + + +#### create`_`schema + +```python +def create_schema(name: str, types: t.Dict) -> str +``` + +Create schema. + + + +#### create`_`schema`_`hash + +```python +def create_schema_hash(name: str, types: t.Dict) -> bytes +``` + +Create schema hash. + + + +#### encode`_`value + +```python +def encode_value(data_type: str, value: t.Any, types: t.Dict) -> bytes +``` + +Encode value. + + + +#### encode`_`data + +```python +def encode_data(name: str, data: t.Dict[str, t.Dict[str, str]], + types: t.Dict) -> bytes +``` + +Encode data. + + + +#### create`_`struct`_`hash + +```python +def create_struct_hash(name: str, data: t.Dict[str, t.Dict[str, str]], + types: t.Dict) -> bytes +``` + +Create struct hash. + + + +#### encode`_`typed`_`data + +```python +def encode_typed_data(data: t.Dict[str, t.Any]) -> bytes +``` + +Encode typed data. + diff --git a/docs/api/data/contracts/gnosis_safe_proxy_factory/contract.md b/docs/api/data/contracts/gnosis_safe_proxy_factory/contract.md new file mode 100644 index 0000000000..20cd6e1fd9 --- /dev/null +++ b/docs/api/data/contracts/gnosis_safe_proxy_factory/contract.md @@ -0,0 +1,136 @@ + + +# autonomy.data.contracts.gnosis`_`safe`_`proxy`_`factory.contract + +This module contains the class to connect to an Gnosis Safe Proxy Factory contract. + + + +## GnosisSafeProxyFactoryContract Objects + +```python +class GnosisSafeProxyFactoryContract(Contract) +``` + +The Gnosis Safe Proxy Factory contract. + + + +#### get`_`raw`_`transaction + +```python +@classmethod +def get_raw_transaction(cls, ledger_api: LedgerApi, contract_address: str, + **kwargs: Any) -> Optional[JSONLike] +``` + +Get the raw transaction. + + + +#### get`_`raw`_`message + +```python +@classmethod +def get_raw_message(cls, ledger_api: LedgerApi, contract_address: str, + **kwargs: Any) -> Optional[bytes] +``` + +Get raw message. + + + +#### get`_`state + +```python +@classmethod +def get_state(cls, ledger_api: LedgerApi, contract_address: str, + **kwargs: Any) -> Optional[JSONLike] +``` + +Get state. + + + +#### get`_`deploy`_`transaction + +```python +@classmethod +def get_deploy_transaction(cls, ledger_api: LedgerApi, deployer_address: str, + **kwargs: Any) -> Optional[JSONLike] +``` + +Get deploy transaction. + +**Arguments**: + +- `ledger_api`: ledger API object. +- `deployer_address`: the deployer address. +- `kwargs`: the keyword arguments. + +**Returns**: + +an optional JSON-like object. + + + +#### build`_`tx`_`deploy`_`proxy`_`contract`_`with`_`nonce + +```python +@classmethod +def build_tx_deploy_proxy_contract_with_nonce( + cls, + ledger_api: EthereumApi, + proxy_factory_address: str, + master_copy: str, + address: str, + initializer: bytes, + salt_nonce: int, + gas: int = MIN_GAS, + gas_price: Optional[int] = None, + max_fee_per_gas: Optional[int] = None, + max_priority_fee_per_gas: Optional[int] = None, + nonce: Optional[int] = None) -> Tuple[TxParams, str] +``` + +Deploy proxy contract via Proxy Factory using `createProxyWithNonce` (create2) + +**Arguments**: + +- `ledger_api`: ledger API object +- `proxy_factory_address`: the address of the proxy factory +- `address`: Ethereum address +- `master_copy`: Address the proxy will point at +- `initializer`: Data for safe creation +- `salt_nonce`: Uint256 for `create2` salt +- `gas`: Gas +- `gas_price`: Gas Price +- `max_fee_per_gas`: max +- `max_priority_fee_per_gas`: max +- `nonce`: Nonce + +**Returns**: + +Tuple(tx-hash, tx, deployed contract address) + + + +#### verify`_`contract + +```python +@classmethod +def verify_contract(cls, ledger_api: EthereumApi, + contract_address: str) -> JSONLike +``` + +Verify the contract's bytecode + +**Arguments**: + +- `ledger_api`: the ledger API object +- `contract_address`: the contract address + +**Returns**: + +the verified status + diff --git a/docs/api/data/contracts/multisend/contract.md b/docs/api/data/contracts/multisend/contract.md new file mode 100644 index 0000000000..9fe5e64c39 --- /dev/null +++ b/docs/api/data/contracts/multisend/contract.md @@ -0,0 +1,180 @@ + + +# autonomy.data.contracts.multisend.contract + +This module contains the class to connect to an Gnosis Safe contract. + + + +## MultiSendOperation Objects + +```python +class MultiSendOperation(Enum) +``` + +Operation types. + + + +#### encode`_`data + +```python +def encode_data(tx: Dict) -> bytes +``` + +Encodes multisend transaction. + + + +#### decode`_`data + +```python +def decode_data(encoded_tx: bytes) -> Tuple[Dict, int] +``` + +Decodes multisend transaction. + + + +#### to`_`bytes + +```python +def to_bytes(multi_send_txs: List[Dict]) -> bytes +``` + +Multi send tx list to bytes. + + + +#### from`_`bytes + +```python +def from_bytes(encoded_multisend_txs: bytes) -> List[Dict] +``` + +Encoded multi send tx to list. + + + +## MultiSendContract Objects + +```python +class MultiSendContract(Contract) +``` + +The MultiSend contract. + + + +#### get`_`raw`_`transaction + +```python +@classmethod +def get_raw_transaction(cls, ledger_api: LedgerApi, contract_address: str, + **kwargs: Any) -> Optional[JSONLike] +``` + +Get the Safe transaction. + + + +#### get`_`raw`_`message + +```python +@classmethod +def get_raw_message(cls, ledger_api: LedgerApi, contract_address: str, + **kwargs: Any) -> Optional[bytes] +``` + +Get raw message. + + + +#### get`_`state + +```python +@classmethod +def get_state(cls, ledger_api: LedgerApi, contract_address: str, + **kwargs: Any) -> Optional[JSONLike] +``` + +Get state. + + + +#### get`_`deploy`_`transaction + +```python +@classmethod +def get_deploy_transaction(cls, ledger_api: LedgerApi, deployer_address: str, + **kwargs: Any) -> Optional[JSONLike] +``` + +Get deploy transaction. + + + +#### get`_`tx`_`data + +```python +@classmethod +def get_tx_data(cls, ledger_api: LedgerApi, contract_address: str, + multi_send_txs: List[Dict]) -> Optional[JSONLike] +``` + +Get a multisend transaction data from list. + +**Arguments**: + +- `ledger_api`: ledger API object. +- `contract_address`: the contract address. +- `multi_send_txs`: the multisend transaction list. + +**Returns**: + +an optional JSON-like object. + + + +#### get`_`multisend`_`tx + +```python +@classmethod +def get_multisend_tx(cls, ledger_api: LedgerApi, contract_address: str, + txs: List[Dict]) -> Optional[JSONLike] +``` + +Get a multisend transaction data from list. + +**Arguments**: + +- `ledger_api`: ledger API object. +- `contract_address`: the contract address. +- `txs`: the multisend transaction list. + +**Returns**: + +an optional JSON-like object. + + + +#### get`_`tx`_`list + +```python +@classmethod +def get_tx_list(cls, ledger_api: LedgerApi, contract_address: str, + multi_send_data: str) -> Optional[JSONLike] +``` + +Get a multisend transaction list from encoded data. + +**Arguments**: + +- `ledger_api`: ledger API object. +- `contract_address`: the contract address. +- `multi_send_data`: the multisend transaction data. + +**Returns**: + +an optional JSON-like object. + diff --git a/docs/api/data/contracts/registries_manager/contract.md b/docs/api/data/contracts/registries_manager/contract.md index 174705aff1..eb0de726fa 100644 --- a/docs/api/data/contracts/registries_manager/contract.md +++ b/docs/api/data/contracts/registries_manager/contract.md @@ -79,3 +79,21 @@ def get_create_transaction(cls, Create a component. + + +#### get`_`update`_`hash`_`transaction + +```python +@classmethod +def get_update_hash_transaction(cls, + ledger_api: LedgerApi, + contract_address: str, + component_type: UnitType, + unit_id: int, + metadata_hash: str, + sender: str, + raise_on_try: bool = False) -> JSONLike +``` + +Create a component. + diff --git a/docs/api/data/contracts/service_manager/contract.md b/docs/api/data/contracts/service_manager/contract.md index f398f598dc..59674c4106 100644 --- a/docs/api/data/contracts/service_manager/contract.md +++ b/docs/api/data/contracts/service_manager/contract.md @@ -50,6 +50,41 @@ def get_state(cls, ledger_api: LedgerApi, contract_address: str, Get state. + + +#### load`_`l2`_`build + +```python +@staticmethod +def load_l2_build() -> JSONLike +``` + +Load L2 ABI + + + +#### is`_`l1`_`chain + +```python +@staticmethod +def is_l1_chain(ledger_api: LedgerApi) -> bool +``` + +Check if we're interecting with an L1 chain + + + +#### get`_`instance + +```python +@classmethod +def get_instance(cls, + ledger_api: LedgerApi, + contract_address: Optional[str] = None) -> Any +``` + +Get contract instance. + #### get`_`create`_`transaction @@ -65,6 +100,28 @@ def get_create_transaction(cls, agent_ids: List[int], agent_params: List[List[int]], threshold: int, + token: Optional[str] = None, + raise_on_try: bool = False) -> Dict[str, Any] +``` + +Retrieve the service owner. + + + +#### get`_`update`_`transaction + +```python +@classmethod +def get_update_transaction(cls, + ledger_api: LedgerApi, + contract_address: str, + sender: str, + service_id: int, + metadata_hash: str, + agent_ids: List[int], + agent_params: List[List[int]], + threshold: int, + token: str = ETHEREUM_ERC20, raise_on_try: bool = False) -> Dict[str, Any] ``` @@ -127,3 +184,37 @@ def get_service_deploy_transaction( Retrieve the service owner. + + +#### get`_`terminate`_`service`_`transaction + +```python +@classmethod +def get_terminate_service_transaction( + cls, + ledger_api: LedgerApi, + contract_address: str, + owner: str, + service_id: int, + raise_on_try: bool = False) -> Dict[str, Any] +``` + +Retrieve the service owner. + + + +#### get`_`unbond`_`service`_`transaction + +```python +@classmethod +def get_unbond_service_transaction( + cls, + ledger_api: LedgerApi, + contract_address: str, + owner: str, + service_id: int, + raise_on_try: bool = False) -> Dict[str, Any] +``` + +Retrieve the service owner. + diff --git a/docs/api/data/contracts/service_registry/contract.md b/docs/api/data/contracts/service_registry/contract.md index c9630bb83d..9081f5a1ac 100644 --- a/docs/api/data/contracts/service_registry/contract.md +++ b/docs/api/data/contracts/service_registry/contract.md @@ -50,6 +50,41 @@ def get_state(cls, ledger_api: LedgerApi, contract_address: str, Get state. + + +#### is`_`l1`_`chain + +```python +@staticmethod +def is_l1_chain(ledger_api: LedgerApi) -> bool +``` + +Check if we're interecting with an L1 chain + + + +#### load`_`l2`_`build + +```python +@staticmethod +def load_l2_build() -> JSONLike +``` + +Load L2 ABI + + + +#### get`_`instance + +```python +@classmethod +def get_instance(cls, + ledger_api: LedgerApi, + contract_address: Optional[str] = None) -> Any +``` + +Get contract instance. + #### verify`_`contract @@ -129,56 +164,112 @@ def get_token_uri(cls, ledger_api: LedgerApi, contract_address: str, token_id: int) -> str ``` -Resolve token URI +Returns the latest metadata URI for a component. - + -#### filter`_`token`_`id`_`from`_`emitted`_`events +#### get`_`create`_`events ```python @classmethod -def filter_token_id_from_emitted_events( - cls, ledger_api: LedgerApi, contract_address: str) -> Optional[int] +def get_create_events(cls, ledger_api: LedgerApi, contract_address: str, + receipt: JSONLike) -> Optional[int] ``` Returns `CreateUnit` event filter. - + -#### verify`_`service`_`has`_`been`_`activated +#### get`_`update`_`events ```python @classmethod -def verify_service_has_been_activated(cls, ledger_api: LedgerApi, - contract_address: str, - service_id: int) -> bool +def get_update_events(cls, ledger_api: LedgerApi, contract_address: str, + receipt: JSONLike) -> Optional[int] ``` -Checks for a successful service registration event in the latest block +Returns `CreateUnit` event filter. - + -#### verify`_`agent`_`instance`_`registration +#### get`_`update`_`hash`_`events ```python @classmethod -def verify_agent_instance_registration(cls, ledger_api: LedgerApi, - contract_address: str, service_id: int, - instance_check: Set[str]) -> Set[str] +def get_update_hash_events(cls, ledger_api: LedgerApi, contract_address: str, + receipt: JSONLike) -> Optional[int] ``` -Checks for the registered instances and filters out the instances that are registered from the given array +Returns `CreateUnit` event filter. - + -#### verify`_`service`_`has`_`been`_`deployed +#### process`_`receipt ```python @classmethod -def verify_service_has_been_deployed(cls, ledger_api: LedgerApi, - contract_address: str, - service_id: int) -> bool +def process_receipt(cls, ledger_api: LedgerApi, contract_address: str, + event: str, receipt: JSONLike) -> JSONLike ``` Checks for a successful service registration event in the latest block + + +#### get`_`slash`_`data + +```python +@classmethod +def get_slash_data(cls, ledger_api: LedgerApi, contract_address: str, + agent_instances: List[str], amounts: List[int], + service_id: int) -> Dict[str, bytes] +``` + +Gets the encoded arguments for a slashing tx, which should only be called via the multisig. + + + +#### process`_`slash`_`receipt + +```python +@classmethod +def process_slash_receipt(cls, ledger_api: LedgerApi, contract_address: str, + tx_hash: str) -> Optional[JSONLike] +``` + +Process the slash receipt. + +**Arguments**: + +- `ledger_api`: the ledger apis. +- `contract_address`: the contract address. +- `tx_hash`: the hash of a slash tx to be processed. + +**Returns**: + +a dictionary with the timestamp of the slashing and the `OperatorSlashed` events. + + + +#### get`_`operators`_`mapping + +```python +@classmethod +def get_operators_mapping(cls, ledger_api: LedgerApi, contract_address: str, + agent_instances: FrozenSet[str]) -> Dict[str, str] +``` + +Retrieve a mapping of the given agent instances to their operators. + +Please keep in mind that this method performs a call for each agent instance. + +**Arguments**: + +- `ledger_api`: the ledger api. +- `contract_address`: the contract address. +- `agent_instances`: the agent instances to be mapped. + +**Returns**: + +a mapping of the given agent instances to their operators. + diff --git a/docs/api/data/contracts/service_registry_token_utility/contract.md b/docs/api/data/contracts/service_registry_token_utility/contract.md new file mode 100644 index 0000000000..73b7e27ee3 --- /dev/null +++ b/docs/api/data/contracts/service_registry_token_utility/contract.md @@ -0,0 +1,115 @@ + + +# autonomy.data.contracts.service`_`registry`_`token`_`utility.contract + +This module contains the scaffold contract definition. + + + +## ServiceRegistryTokenUtilityContract Objects + +```python +class ServiceRegistryTokenUtilityContract(Contract) +``` + +The scaffold contract class for a smart contract. + + + +#### get`_`raw`_`transaction + +```python +@classmethod +def get_raw_transaction(cls, ledger_api: LedgerApi, contract_address: str, + **kwargs: Any) -> JSONLike +``` + +Handler method for the 'GET_RAW_TRANSACTION' requests. + +Implement this method in the sub class if you want +to handle the contract requests manually. + +**Arguments**: + +- `ledger_api`: the ledger apis. +- `contract_address`: the contract address. +- `kwargs`: the keyword arguments. + +**Returns**: + +the tx # noqa: DAR202 + + + +#### get`_`raw`_`message + +```python +@classmethod +def get_raw_message(cls, ledger_api: LedgerApi, contract_address: str, + **kwargs: Any) -> bytes +``` + +Handler method for the 'GET_RAW_MESSAGE' requests. + +Implement this method in the sub class if you want +to handle the contract requests manually. + +**Arguments**: + +- `ledger_api`: the ledger apis. +- `contract_address`: the contract address. +- `kwargs`: the keyword arguments. + +**Returns**: + +the tx # noqa: DAR202 + + + +#### get`_`state + +```python +@classmethod +def get_state(cls, ledger_api: LedgerApi, contract_address: str, + **kwargs: Any) -> JSONLike +``` + +Handler method for the 'GET_STATE' requests. + +Implement this method in the sub class if you want +to handle the contract requests manually. + +**Arguments**: + +- `ledger_api`: the ledger apis. +- `contract_address`: the contract address. +- `kwargs`: the keyword arguments. + +**Returns**: + +the tx # noqa: DAR202 + + + +#### is`_`token`_`secured`_`service + +```python +@classmethod +def is_token_secured_service(cls, ledger_api: LedgerApi, contract_address: str, + service_id: int) -> JSONLike +``` + +Check if a service is secured service. + + + +#### get`_`agent`_`bond + +```python +@classmethod +def get_agent_bond(cls, ledger_api: LedgerApi, contract_address: str, + service_id: int, agent_id: int) -> JSONLike +``` + +Check if a service is secured service. + diff --git a/docs/configure_service/analise_test.md b/docs/configure_service/analise_test.md index 228eb761d5..51a6ae6e35 100644 --- a/docs/configure_service/analise_test.md +++ b/docs/configure_service/analise_test.md @@ -50,7 +50,7 @@ The `valory/abstract_round_abci` skill packages come with a number of testing to Fetch the `hello_world` agent, which comes with the `hello_world_abci` {{fsm_app}} skill within: ```bash - autonomy fetch valory/hello_world:0.1.0:bafybeihh7xeqm673zgspnv6edspsw7ta3lvhknwjrdz4o7ww6cvimapqyy + autonomy fetch valory/hello_world:0.1.0:bafybeibwluqq2yywd3stax2kuiqnv4zxxu3rprfkbn7f7e6sf2gelpkdqa mv hello_world hello_world_agent ``` @@ -77,7 +77,7 @@ The same plugin also provides tools for writing end-to-end tests for agents. The Fetch the `hello_world` agent: ```bash - autonomy fetch valory/hello_world:0.1.0:bafybeihh7xeqm673zgspnv6edspsw7ta3lvhknwjrdz4o7ww6cvimapqyy + autonomy fetch valory/hello_world:0.1.0:bafybeibwluqq2yywd3stax2kuiqnv4zxxu3rprfkbn7f7e6sf2gelpkdqa mv hello_world hello_world_agent ``` diff --git a/docs/counter_example.md b/docs/counter_example.md index 9c1a77d37b..e787ee692b 100644 --- a/docs/counter_example.md +++ b/docs/counter_example.md @@ -25,7 +25,7 @@ you have followed the [setup instructions](guides/quick_start.md#setup). As a re 2. Use the CLI to download the `valory/counter` service. ```bash - autonomy fetch valory/counter:0.1.0:bafybeicn5ikxm3wthdxja26bciifpkjrrb455y4whcxvyto4a7tpfvyz4e --remote --service + autonomy fetch valory/counter:0.1.0:bafybeigi5bhllrcp32xp5rbrbbaencxxhtm2leqxdzutcgug5lpkvoyapi --remote --service cd counter ``` @@ -284,7 +284,7 @@ First, open a terminal to the root of this repository, and fetch the `counter_client` agent: ```bash -autonomy fetch valory/counter_client:0.1.0:bafybeihwqpwbejtk25xvlsltinpxe5myb33vpv4ee7qxqgsbwuzkdzujoe --remote +autonomy fetch valory/counter_client:0.1.0:bafybeigbcqfbtqjqguvop7gcp3ilr22d356n7js4jpyhoo5ymotis264wy --remote ``` This will copy the agent project in the `counter_client` directory. diff --git a/docs/demos/hello_world_demo.md b/docs/demos/hello_world_demo.md index 2b2d1de0ca..43f07a5899 100644 --- a/docs/demos/hello_world_demo.md +++ b/docs/demos/hello_world_demo.md @@ -22,14 +22,14 @@ You can find the instructions on how to run the Hello World service in the [quic If you have [set up the framework](../guides/set_up.md#set-up-the-framework), you can fetch the source code of the Hello World agent: ```bash -autonomy fetch valory/hello_world:0.1.0:bafybeihh7xeqm673zgspnv6edspsw7ta3lvhknwjrdz4o7ww6cvimapqyy +autonomy fetch valory/hello_world:0.1.0:bafybeibwluqq2yywd3stax2kuiqnv4zxxu3rprfkbn7f7e6sf2gelpkdqa mv hello_world hello_world_agent ``` and the Hello World service: ```bash -autonomy fetch valory/hello_world:0.1.0:bafybeibao4o6x2b5qrfe5zo2ksz2skhv2sgazhoixz67l5ndwbomjq6sv4 --service +autonomy fetch valory/hello_world:0.1.0:bafybeieoqhbwqmg5oiqgkxf6dlizncjvaermwtun4aijqcbyc6ulfl7o4q --service mv hello_world hello_world_service ``` diff --git a/docs/guides/define_agent.md b/docs/guides/define_agent.md index f1d63918d5..c26adc0066 100644 --- a/docs/guides/define_agent.md +++ b/docs/guides/define_agent.md @@ -120,7 +120,7 @@ If you have [populated the local registry](./set_up.md#populate-the-local-regist propagate: true dependencies: open-aea-ledger-ethereum: - version: ==1.39.0 + version: ==1.40.0 open-aea-test-autonomy: version: ==0.12.1.post1 default_connection: null diff --git a/docs/guides/deploy_service.md b/docs/guides/deploy_service.md index 33ed954b05..367c00601a 100644 --- a/docs/guides/deploy_service.md +++ b/docs/guides/deploy_service.md @@ -35,7 +35,7 @@ We illustrate the full local deployment workflow using the `hello_world` service === "Remote registry" ```bash - autonomy fetch valory/hello_world:0.1.0:bafybeibao4o6x2b5qrfe5zo2ksz2skhv2sgazhoixz67l5ndwbomjq6sv4 --service + autonomy fetch valory/hello_world:0.1.0:bafybeieoqhbwqmg5oiqgkxf6dlizncjvaermwtun4aijqcbyc6ulfl7o4q --service ``` 2. **Build the agents' image.** Navigate to the service runtime folder that you have just created and build the Docker image of the agents of the service: diff --git a/docs/guides/quick_start.md b/docs/guides/quick_start.md index c74d14d5b9..bb3b48745e 100644 --- a/docs/guides/quick_start.md +++ b/docs/guides/quick_start.md @@ -20,7 +20,7 @@ Before starting this guide, ensure that your machine satisfies the framework req 1. Fetch the [Hello World service](../demos/hello_world_demo.md) from the remote registry. Within the workspace folder (not the remote registry) run: ```bash - autonomy fetch valory/hello_world:0.1.0:bafybeibao4o6x2b5qrfe5zo2ksz2skhv2sgazhoixz67l5ndwbomjq6sv4 --service + autonomy fetch valory/hello_world:0.1.0:bafybeieoqhbwqmg5oiqgkxf6dlizncjvaermwtun4aijqcbyc6ulfl7o4q --service ``` 2. Build the Docker image of the service agents: diff --git a/docs/guides/set_up.md b/docs/guides/set_up.md index c20eba6ac2..7a70e7baa4 100644 --- a/docs/guides/set_up.md +++ b/docs/guides/set_up.md @@ -75,7 +75,7 @@ This is roughly how your workspace should look like: You can override the default registry in use (set up with `autonomy init`) for a particular command through the flags `--registry-path` and `--local`. For example, if the framework was initialized with the remote registry, the following command will fetch a runtime folder for the `hello_world` agent from the remote registry: ```bash - autonomy fetch valory/hello_world:0.1.0:bafybeihh7xeqm673zgspnv6edspsw7ta3lvhknwjrdz4o7ww6cvimapqyy + autonomy fetch valory/hello_world:0.1.0:bafybeibwluqq2yywd3stax2kuiqnv4zxxu3rprfkbn7f7e6sf2gelpkdqa ``` On the other hand, if you want to fetch the copy stored in your local registry, then you can use: @@ -106,25 +106,25 @@ If you plan to follow the guides in the next sections, you need to populate the "dev": { }, "third_party": { - "service/valory/hello_world/0.1.0": "bafybeibao4o6x2b5qrfe5zo2ksz2skhv2sgazhoixz67l5ndwbomjq6sv4", - "agent/valory/hello_world/0.1.0": "bafybeihh7xeqm673zgspnv6edspsw7ta3lvhknwjrdz4o7ww6cvimapqyy", - "connection/valory/abci/0.1.0": "bafybeigqurc4jzjqjs4ptbfz4r4qk6ued2tdw4op3zjnal645fbk4aikya", - "connection/valory/http_client/0.23.0": "bafybeieoeuy4brzimtnubmokwirhrx27ezls6cdnl5qik4rkykfle3nn2y", - "connection/valory/ipfs/0.1.0": "bafybeighbvg6if7bwswosgajlzgz36pwuyttu3vyfqgwi3xayvdxtl53lq", - "connection/valory/ledger/0.19.0": "bafybeigfoz7d7si7s4jehvloq2zmiiocpbxcaathl3bxkyarxoerxq7g3a", - "contract/valory/service_registry/0.1.0": "bafybeift7qksgjuqh67abas3gfbfwwwvhv6tj3lvgzv5wc2nrlnoe65ba4", - "protocol/open_aea/signing/1.0.0": "bafybeifuxs7gdg2okbn7uofymenjlmnih2wxwkym44lsgwmklgwuckxm2m", - "protocol/valory/abci/0.1.0": "bafybeigootsvqpk6th5xpdtzanxum3earifrrezfyhylfrit7yvqdrtgpe", - "protocol/valory/acn/1.1.0": "bafybeiapa5ilsobggnspoqhspftwolrx52udrwmaxdxgrk26heuvl4oooa", - "protocol/valory/contract_api/1.0.0": "bafybeiasywsvax45qmugus5kxogejj66c5taen27h4voriodz7rgushtqa", - "protocol/valory/http/1.0.0": "bafybeia5bxdua2i6chw6pg47bvoljzcpuqxzy4rdrorbdmcbnwmnfdobtu", - "protocol/valory/ipfs/0.1.0": "bafybeibjzhsengtxfofqpxy6syamplevp35obemwfp4c5lhag3v2bvgysa", - "protocol/valory/ledger_api/1.0.0": "bafybeigsvceac33asd6ecbqev34meyyjwu3rangenv6xp5rkxyz4krvcby", - "protocol/valory/tendermint/0.1.0": "bafybeidjqmwvgi4rqgp65tbkhmi45fwn2odr5ecezw6q47hwitsgyw4jpa", - "skill/valory/abstract_abci/0.1.0": "bafybeigopohwdk5m2kuk76dbwlokpdvxtxadgda5vq52i54ofpnndlwwuy", - "skill/valory/abstract_round_abci/0.1.0": "bafybeicqwr73cs3vndzafrjrjpw63vvqbbjsur7ptek77hsw3lurnood5y", - "skill/valory/hello_world_abci/0.1.0": "bafybeif7lzot5lh4zbomho2nyxh4l56grcrmuikqp5khas6z7rbwzw5cnq", - "connection/valory/p2p_libp2p_client/0.1.0": "bafybeihdnfdth3qgltefgrem7xyi4b3ejzaz67xglm2hbma2rfvpl2annq" + "service/valory/hello_world/0.1.0": "bafybeieoqhbwqmg5oiqgkxf6dlizncjvaermwtun4aijqcbyc6ulfl7o4q", + "agent/valory/hello_world/0.1.0": "bafybeibwluqq2yywd3stax2kuiqnv4zxxu3rprfkbn7f7e6sf2gelpkdqa", + "connection/valory/abci/0.1.0": "bafybeih6ei7q3vdsj57nb3f6dirccorj7izrxccjzys3seirzoalsj2fwq", + "connection/valory/http_client/0.23.0": "bafybeifgeqgryx6b3s6eseyzyezygmeitcpt3tkor2eiycozoi6clgdrny", + "connection/valory/ipfs/0.1.0": "bafybeiaddby5hxegt2fk772fzn34zpwndyfk45rc3jqtblhtr2tbzcicua", + "connection/valory/ledger/0.19.0": "bafybeiauyqzizmocjldnfuzvnihrqubfqzn5u2hp6ue7v3ka5kj54kd3zm", + "contract/valory/service_registry/0.1.0": "bafybeiamckrtlrydvoyelc6ldu5ke5uwrdxstzaeqstvg5r4uteriwmjka", + "protocol/open_aea/signing/1.0.0": "bafybeie7xyems76v5b4wc2lmaidcujizpxfzjnnwdeokmhje53g7ym25ii", + "protocol/valory/abci/0.1.0": "bafybeihmzlmmb4pdo3zkhg6ehuyaa4lhw7bfpclln2o2z7v3o6fcep26iu", + "protocol/valory/acn/1.1.0": "bafybeic2pxzfc3voxl2ejhcqyf2ehm4wm5gxvgx7bliloiqi2uppmq6weu", + "protocol/valory/contract_api/1.0.0": "bafybeialhbjvwiwcnqq3ysxcyemobcbie7xza66gaofcvla5njezkvhcka", + "protocol/valory/http/1.0.0": "bafybeiejoqgv7finfxo3rcvvovrlj5ccrbgxodjq43uo26ylpowsa3llfe", + "protocol/valory/ipfs/0.1.0": "bafybeiedxeismnx3k5ty4mvvhlqideixlhqmi5mtcki4lxqfa7uqh7p33u", + "protocol/valory/ledger_api/1.0.0": "bafybeige5agrztgzfevyglf7mb4o7pzfttmq4f6zi765y4g2zvftbyowru", + "protocol/valory/tendermint/0.1.0": "bafybeig6g6twajlwssfbfp5rlnu5mwzuu5kgak5cs4fich7rlkx6whesnu", + "skill/valory/abstract_abci/0.1.0": "bafybeidek3doh6cs3qw3hzgnqw65st2g5vhx5bgkdztyrer45wewttagui", + "skill/valory/abstract_round_abci/0.1.0": "bafybeiavfdmszwpotgdw5wd2imxcwsigygczvttxk5onswt72ipbdyjp3q", + "skill/valory/hello_world_abci/0.1.0": "bafybeideckfxmkvdnjfvfgbcit6x4gxxwtbalttyxfslh22czxsb7zkstm", + "connection/valory/p2p_libp2p_client/0.1.0": "bafybeihge56dn3xep2dzomu7rtvbgo4uc2qqh7ljl3fubqdi2lq44gs5lq" } } ``` diff --git a/docs/package_list.md b/docs/package_list.md index a8fecf72d7..f332e03c1a 100644 --- a/docs/package_list.md +++ b/docs/package_list.md @@ -1,57 +1,57 @@ | Package name | Package hash | Description | | ------------------------------------------------------------- | ------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -| protocol/valory/abci/0.1.0 | `bafybeigootsvqpk6th5xpdtzanxum3earifrrezfyhylfrit7yvqdrtgpe` | A protocol for ABCI requests and responses. | -| connection/valory/abci/0.1.0 | `bafybeigqurc4jzjqjs4ptbfz4r4qk6ued2tdw4op3zjnal645fbk4aikya` | connection to wrap communication with an ABCI server. | -| connection/valory/ipfs/0.1.0 | `bafybeighbvg6if7bwswosgajlzgz36pwuyttu3vyfqgwi3xayvdxtl53lq` | A connection responsible for uploading and downloading files from IPFS. | -| contract/valory/gnosis_safe_proxy_factory/0.1.0 | `bafybeihlc3keplnos7vnlibehpt2rvfhlljyshbsvhbkwgyhgdvqublzeq` | Gnosis Safe proxy factory (GnosisSafeProxyFactory) contract | +| protocol/valory/abci/0.1.0 | `bafybeihmzlmmb4pdo3zkhg6ehuyaa4lhw7bfpclln2o2z7v3o6fcep26iu` | A protocol for ABCI requests and responses. | +| connection/valory/abci/0.1.0 | `bafybeih6ei7q3vdsj57nb3f6dirccorj7izrxccjzys3seirzoalsj2fwq` | connection to wrap communication with an ABCI server. | +| connection/valory/ipfs/0.1.0 | `bafybeiaddby5hxegt2fk772fzn34zpwndyfk45rc3jqtblhtr2tbzcicua` | A connection responsible for uploading and downloading files from IPFS. | +| contract/valory/gnosis_safe_proxy_factory/0.1.0 | `bafybeidnptjd2e5azxrunvduwacufrr5pwy4xkhmeoazqq55o2no4m474u` | Gnosis Safe proxy factory (GnosisSafeProxyFactory) contract | | contract/valory/component_registry/0.1.0 | `bafybeigklynwl3mfav5yt5zdkrqe6rukv4ygdhpdusk66ojt4jj7tunxcy` | Component registry contract | | contract/valory/agent_registry/0.1.0 | `bafybeielrs5qih3r6qhnily6x4h4j4j6kux6eqr546homow4c5ljgfyljq` | Agent registry contract | | contract/valory/registries_manager/0.1.0 | `bafybeihcilb27ekgoplmc43iog2zrus63fufql4rly2umbuj573nu3zpg4` | Registries Manager contract | | contract/valory/service_manager/0.1.0 | `bafybeid4ufdirr3qaksk72iwnuzfelhzqwh7t3q56x2ixhzvwltte4yy5a` | Service Manager contract | -| skill/valory/test_ipfs_abci/0.1.0 | `bafybeidsj2kfj2o7sh5mj6pz7ftrg72edqkij3fbuxkpkvzxuoqdzgd4i4` | IPFS e2e testing application. | -| agent/valory/test_ipfs/0.1.0 | `bafybeib2myejevrwusvucak2fk5hx5qafzjwtnxvbkddldtgzexnwk64ni` | Agent for testing the ABCI connection. | -| contract/valory/service_registry/0.1.0 | `bafybeift7qksgjuqh67abas3gfbfwwwvhv6tj3lvgzv5wc2nrlnoe65ba4` | Service Registry contract | -| protocol/valory/tendermint/0.1.0 | `bafybeidjqmwvgi4rqgp65tbkhmi45fwn2odr5ecezw6q47hwitsgyw4jpa` | A protocol for communication between two AEAs to share tendermint configuration details. | -| protocol/valory/ipfs/0.1.0 | `bafybeibjzhsengtxfofqpxy6syamplevp35obemwfp4c5lhag3v2bvgysa` | A protocol specification for IPFS requests and responses. | -| skill/valory/abstract_abci/0.1.0 | `bafybeigopohwdk5m2kuk76dbwlokpdvxtxadgda5vq52i54ofpnndlwwuy` | The abci skill provides a template of an ABCI application. | -| contract/valory/gnosis_safe/0.1.0 | `bafybeicetxwbgfqxcaoack7knljqo4i6up4nqgvm272eyqdqii4hcis5ri` | Gnosis Safe (GnosisSafeL2) contract | -| skill/valory/abstract_round_abci/0.1.0 | `bafybeicqwr73cs3vndzafrjrjpw63vvqbbjsur7ptek77hsw3lurnood5y` | abstract round-based ABCI application | -| contract/valory/multisend/0.1.0 | `bafybeidfktuprydtmi4umolfles5qaf7s3t26puvvs44hvkq6uwwr3ia3a` | MultiSend contract | -| skill/valory/transaction_settlement_abci/0.1.0 | `bafybeicisazpyvnnzlqso3txiucxr5qhsa4ac7ius6b4mhouxr2wkadwfy` | ABCI application for transaction settlement. | -| skill/valory/registration_abci/0.1.0 | `bafybeiggzuqokgt7itc6ekb5ylmdylvfbhxqxylyz4p62qah2lkjstgdwe` | ABCI application for common apps. | -| skill/valory/reset_pause_abci/0.1.0 | `bafybeiblayblhp5wuirfomwcpgydg35ve5tfq3xxetlosjn47wva5ucmzy` | ABCI application for resetting and pausing app executions. | -| skill/valory/termination_abci/0.1.0 | `bafybeieqfhvk6klnvxak3vo2ibslkrnnk2bfsn5l3gbaelcprd6cjngxki` | Termination skill. | -| skill/valory/counter/0.1.0 | `bafybeidcjzsf7y7ni4z7apngrwecpi7562i6n6chun3hwjtbojnq3x2dci` | The ABCI Counter application example. | -| skill/valory/counter_client/0.1.0 | `bafybeianskoghhdffn4wqquup3rtziefq6jareutugb6a5zkbvuvctgk3i` | A client for the ABCI counter application. | -| skill/valory/hello_world_abci/0.1.0 | `bafybeif7lzot5lh4zbomho2nyxh4l56grcrmuikqp5khas6z7rbwzw5cnq` | Hello World ABCI application. | -| skill/valory/register_reset_abci/0.1.0 | `bafybeic24xniwheivtobqjowezwbcmvikvurvsnil2iv36khfr2zwmpfiu` | ABCI application for dummy skill that registers and resets | -| skill/valory/register_termination_abci/0.1.0 | `bafybeibyh32rpnmioqb2jxxqf5fnpa74agu5e5zffr6vilwq45lngfjgfa` | ABCI application for dummy skill that registers and resets | -| skill/valory/test_abci/0.1.0 | `bafybeif7bxthxuclmhxq5gdrvdfegdqxlr2jfcxagafbe6kwpsxa5i5qie` | ABCI application for testing the ABCI connection. | -| agent/valory/abstract_abci/0.1.0 | `bafybeif3yvli3eonmf6yojxjzj7qgig47xhmg76zoihodcsbhqigqxj54m` | The abstract ABCI AEA - for testing purposes only. | -| agent/valory/counter/0.1.0 | `bafybeigsajfhcox22vrlqsodmi6y5l2jwx7xnzhhu4wbguqoas22ooqafq` | The ABCI Counter example as an AEA | -| agent/valory/counter_client/0.1.0 | `bafybeihwqpwbejtk25xvlsltinpxe5myb33vpv4ee7qxqgsbwuzkdzujoe` | The ABCI Counter example as an AEA | -| agent/valory/hello_world/0.1.0 | `bafybeihh7xeqm673zgspnv6edspsw7ta3lvhknwjrdz4o7ww6cvimapqyy` | Hello World ABCI example. | -| agent/valory/register_reset/0.1.0 | `bafybeibit5dfccbcxxoexlwb36cro5imywlgm6cwc74jomu52ulrjucbhq` | Register reset to replicate Tendermint issue. | -| agent/valory/register_termination/0.1.0 | `bafybeiclvirlrxynkrhlj7smmw2ubk756b72mhwzvaiwkzpiwlzczmvkuq` | Register terminate to test the termination feature. | -| agent/valory/registration_start_up/0.1.0 | `bafybeifwvunfi6uf3bkv5zbw5ckgl7m6px6zspsnkebbqiag7zcpdwft2e` | Registration start-up ABCI example. | -| agent/valory/test_abci/0.1.0 | `bafybeido3s7okni7nnvw7orzf4buumfmyhvjy6p2bhznux7xxbz2l5rgae` | Agent for testing the ABCI connection. | -| service/valory/counter/0.1.0 | `bafybeicn5ikxm3wthdxja26bciifpkjrrb455y4whcxvyto4a7tpfvyz4e` | A set of agents incrementing a counter | -| service/valory/hello_world/0.1.0 | `bafybeibao4o6x2b5qrfe5zo2ksz2skhv2sgazhoixz67l5ndwbomjq6sv4` | A simple demonstration of a simple ABCI application | -| service/valory/register_reset/0.1.0 | `bafybeiaiedkufei6vqp7p6pznp7z2klrlzullqz2jlzvqgnakyu5cmg22y` | Test and debug tendermint reset mechanism. | -| skill/valory/register_reset_recovery_abci/0.1.0 | `bafybeidi3v747exsmoy6qbnis4z3avozpflqk7n23w5hbmhijo2k5kfv74` | ABCI application for dummy skill that registers and resets | -| agent/valory/register_reset_recovery/0.1.0 | `bafybeibone4sts543o2s2fj5ipnsdw5mlburnqseifjbs2vmkv65uvf3ky` | Agent to showcase hard reset as a recovery mechanism. | -| contract/valory/multicall2/0.1.0 | `bafybeihhn3vic2yje7ehmi43a4wus4vnei5nwihetwk73tqtgbnn44pr2u` | The MakerDAO multicall2 contract. | -| skill/valory/slashing_abci/0.1.0 | `bafybeih2q3hatumfrd2me75djo6vm6t5zjpn4pi4sx2dguyrymtg47vjru` | Slashing skill. | -| skill/valory/offend_abci/0.1.0 | `bafybeibmlwjfv4ttq2htq2o2g3pef5t3pawgmdt5td6wt5axjxgowk3ezu` | Offend ABCI application. | -| skill/valory/offend_slash_abci/0.1.0 | `bafybeicpxjwi6soefemt3yjuo22yols3xhslf4dnwpumnmq7b6wyjmtbxi` | ABCI application used in order to test the slashing abci | -| agent/valory/offend_slash/0.1.0 | `bafybeigrvq2jmgcc6aaeza4at34s2eb6d47vufxr6fzlhgf22bxm6iw5tu` | Offend and slash to test the slashing feature. | +| skill/valory/test_ipfs_abci/0.1.0 | `bafybeifxklmzn3we7tmwq756vj7rbhqlb6w2g2bbe2f6e3zuoq4iyzsima` | IPFS e2e testing application. | +| agent/valory/test_ipfs/0.1.0 | `bafybeiddqmorgwfnve7cirdppjy6bnozd2yysjhhqt5w7s7bwgkjuc3xxq` | Agent for testing the ABCI connection. | +| contract/valory/service_registry/0.1.0 | `bafybeiamckrtlrydvoyelc6ldu5ke5uwrdxstzaeqstvg5r4uteriwmjka` | Service Registry contract | +| protocol/valory/tendermint/0.1.0 | `bafybeig6g6twajlwssfbfp5rlnu5mwzuu5kgak5cs4fich7rlkx6whesnu` | A protocol for communication between two AEAs to share tendermint configuration details. | +| protocol/valory/ipfs/0.1.0 | `bafybeiedxeismnx3k5ty4mvvhlqideixlhqmi5mtcki4lxqfa7uqh7p33u` | A protocol specification for IPFS requests and responses. | +| skill/valory/abstract_abci/0.1.0 | `bafybeidek3doh6cs3qw3hzgnqw65st2g5vhx5bgkdztyrer45wewttagui` | The abci skill provides a template of an ABCI application. | +| contract/valory/gnosis_safe/0.1.0 | `bafybeiaz2ybse2kym2bph5tf4uvx3qb3uxzxga4pn75gfqmzadtz6mxmdy` | Gnosis Safe (GnosisSafeL2) contract | +| skill/valory/abstract_round_abci/0.1.0 | `bafybeiavfdmszwpotgdw5wd2imxcwsigygczvttxk5onswt72ipbdyjp3q` | abstract round-based ABCI application | +| contract/valory/multisend/0.1.0 | `bafybeig5byt5urg2d2bsecufxe5ql7f4mezg3mekfleeh32nmuusx66p4y` | MultiSend contract | +| skill/valory/transaction_settlement_abci/0.1.0 | `bafybeigdg4qcvfowlu3eiwler7axdhmthngr54ulznutey43xzem45gpna` | ABCI application for transaction settlement. | +| skill/valory/registration_abci/0.1.0 | `bafybeifco5irvmx5kf76yiubaa42qkdx5kfph763vszwtwnqq2tqsic6wm` | ABCI application for common apps. | +| skill/valory/reset_pause_abci/0.1.0 | `bafybeiakssljjjlv4767hhsj6jzsy3bjyvp3xkgvugazfytjkygeuoedfi` | ABCI application for resetting and pausing app executions. | +| skill/valory/termination_abci/0.1.0 | `bafybeigddtcgeia5xkz4i6pnagvyrwotuef53vwq5ywppncbof3fph472u` | Termination skill. | +| skill/valory/counter/0.1.0 | `bafybeiebxovit5k2fsr4r3fisqov53ek34xwanxly34eeo3ublxt2tyche` | The ABCI Counter application example. | +| skill/valory/counter_client/0.1.0 | `bafybeihx46fr7vgqjxmymfah3hfmynzpzwe5fthi7mbc2cnev2gqgtngzy` | A client for the ABCI counter application. | +| skill/valory/hello_world_abci/0.1.0 | `bafybeideckfxmkvdnjfvfgbcit6x4gxxwtbalttyxfslh22czxsb7zkstm` | Hello World ABCI application. | +| skill/valory/register_reset_abci/0.1.0 | `bafybeidi4ors7jahoutqoozm5n62vvveeh4nowj4u43yuokd6rfwn7r5mm` | ABCI application for dummy skill that registers and resets | +| skill/valory/register_termination_abci/0.1.0 | `bafybeiau4s566job5htmqelf46oinrlerwdnxrz2zee2wqea2reqvmet7a` | ABCI application for dummy skill that registers and resets | +| skill/valory/test_abci/0.1.0 | `bafybeiajw7frbyq2oftehmglhtldmcqqmdckfqsxbq4zi2dnsgpdgvvddy` | ABCI application for testing the ABCI connection. | +| agent/valory/abstract_abci/0.1.0 | `bafybeictsxb7asryy227ouy6rrzfkwakf4fhvp2ondzlszslurkr5dzk6e` | The abstract ABCI AEA - for testing purposes only. | +| agent/valory/counter/0.1.0 | `bafybeifyl2rzgetpvlqe663chm4g7fjijg5ptaxcmdg4sy3rtiwmnniye4` | The ABCI Counter example as an AEA | +| agent/valory/counter_client/0.1.0 | `bafybeigbcqfbtqjqguvop7gcp3ilr22d356n7js4jpyhoo5ymotis264wy` | The ABCI Counter example as an AEA | +| agent/valory/hello_world/0.1.0 | `bafybeibwluqq2yywd3stax2kuiqnv4zxxu3rprfkbn7f7e6sf2gelpkdqa` | Hello World ABCI example. | +| agent/valory/register_reset/0.1.0 | `bafybeic6anftulx3wjcllsf72eulgonpwux3iopzaiaj5paeju772kuc4e` | Register reset to replicate Tendermint issue. | +| agent/valory/register_termination/0.1.0 | `bafybeigx3betmnmpxap6fwyrduxomp7ugd33ik3rwtkvluqc3rh3bqfx4q` | Register terminate to test the termination feature. | +| agent/valory/registration_start_up/0.1.0 | `bafybeialhpjejqyvxttkbazxzkphtu2c3fwvfp7owkwlagaphzkzxb6p5e` | Registration start-up ABCI example. | +| agent/valory/test_abci/0.1.0 | `bafybeibe6kgnwkuhcydk5gr3wvsybdlc7gfuzt2ia24czudsvxlbmdlrwe` | Agent for testing the ABCI connection. | +| service/valory/counter/0.1.0 | `bafybeigi5bhllrcp32xp5rbrbbaencxxhtm2leqxdzutcgug5lpkvoyapi` | A set of agents incrementing a counter | +| service/valory/hello_world/0.1.0 | `bafybeieoqhbwqmg5oiqgkxf6dlizncjvaermwtun4aijqcbyc6ulfl7o4q` | A simple demonstration of a simple ABCI application | +| service/valory/register_reset/0.1.0 | `bafybeienlgv3xtigisoyjo5gedz5jgu3dxp2lml22jglm7bdogk4vtxhuq` | Test and debug tendermint reset mechanism. | +| skill/valory/register_reset_recovery_abci/0.1.0 | `bafybeig5dv2gxdykcmfx4lduwfg4z2zagec3xrss2dn6wo6wk3uhv5qedy` | ABCI application for dummy skill that registers and resets | +| agent/valory/register_reset_recovery/0.1.0 | `bafybeicme7j7zq7splhzbcrcw4q6ga2idq2qqnl6wbdwwkvsbz2botpuhu` | Agent to showcase hard reset as a recovery mechanism. | +| contract/valory/multicall2/0.1.0 | `bafybeienhhggmyxocgsy2kpsbe74z3yewzj33lrhcvuvmlhgyrzf6c3sue` | The MakerDAO multicall2 contract. | +| skill/valory/slashing_abci/0.1.0 | `bafybeihpvmyzw2lbifvenn7r3qvh46njokrnji4gck4vfak6s7zhe3scqq` | Slashing skill. | +| skill/valory/offend_abci/0.1.0 | `bafybeicawxz5lvz3jjwyv772bwz44dqu333hb24r4e24fophrvq4bj3gw4` | Offend ABCI application. | +| skill/valory/offend_slash_abci/0.1.0 | `bafybeibm3nu4f3y4zy66oambwe6vzpnopa5vwmn7ydoudhjsggubwtn3ee` | ABCI application used in order to test the slashing abci | +| agent/valory/offend_slash/0.1.0 | `bafybeifft43gjipqctogxq2xkcvq4bx6i45zvxzflgsecvimywv45mp5vi` | Offend and slash to test the slashing feature. | | contract/valory/erc20/0.1.0 | `bafybeiag7wpfri44bwrx26374mnxyglmwxod6gu37foqkvloqr7oeldlgu` | The scaffold contract scaffolds a contract to be implemented by the developer. | | contract/valory/service_registry_token_utility/0.1.0 | `bafybeifdia2y5546tvk6xzxeaqzf2n5n7dutj2hdzbgenxohaqhjtnjqm4` | The scaffold contract scaffolds a contract to be implemented by the developer. | -| protocol/open_aea/signing/1.0.0 | `bafybeifuxs7gdg2okbn7uofymenjlmnih2wxwkym44lsgwmklgwuckxm2m` | A protocol for communication between skills and decision maker. | -| protocol/valory/acn/1.1.0 | `bafybeiapa5ilsobggnspoqhspftwolrx52udrwmaxdxgrk26heuvl4oooa` | The protocol used for envelope delivery on the ACN. | -| protocol/valory/http/1.0.0 | `bafybeia5bxdua2i6chw6pg47bvoljzcpuqxzy4rdrorbdmcbnwmnfdobtu` | A protocol for HTTP requests and responses. | -| protocol/valory/ledger_api/1.0.0 | `bafybeigsvceac33asd6ecbqev34meyyjwu3rangenv6xp5rkxyz4krvcby` | A protocol for ledger APIs requests and responses. | -| protocol/valory/contract_api/1.0.0 | `bafybeiasywsvax45qmugus5kxogejj66c5taen27h4voriodz7rgushtqa` | A protocol for contract APIs requests and responses. | -| connection/valory/http_client/0.23.0 | `bafybeieoeuy4brzimtnubmokwirhrx27ezls6cdnl5qik4rkykfle3nn2y` | The HTTP_client connection that wraps a web-based client connecting to a RESTful API specification. | -| connection/valory/ledger/0.19.0 | `bafybeigfoz7d7si7s4jehvloq2zmiiocpbxcaathl3bxkyarxoerxq7g3a` | A connection to interact with any ledger API and contract API. | -| connection/valory/p2p_libp2p_client/0.1.0 | `bafybeihdnfdth3qgltefgrem7xyi4b3ejzaz67xglm2hbma2rfvpl2annq` | The libp2p client connection implements a tcp connection to a running libp2p node as a traffic delegate to send/receive envelopes to/from agents in the DHT. | +| protocol/open_aea/signing/1.0.0 | `bafybeie7xyems76v5b4wc2lmaidcujizpxfzjnnwdeokmhje53g7ym25ii` | A protocol for communication between skills and decision maker. | +| protocol/valory/acn/1.1.0 | `bafybeic2pxzfc3voxl2ejhcqyf2ehm4wm5gxvgx7bliloiqi2uppmq6weu` | The protocol used for envelope delivery on the ACN. | +| protocol/valory/http/1.0.0 | `bafybeiejoqgv7finfxo3rcvvovrlj5ccrbgxodjq43uo26ylpowsa3llfe` | A protocol for HTTP requests and responses. | +| protocol/valory/ledger_api/1.0.0 | `bafybeige5agrztgzfevyglf7mb4o7pzfttmq4f6zi765y4g2zvftbyowru` | A protocol for ledger APIs requests and responses. | +| protocol/valory/contract_api/1.0.0 | `bafybeialhbjvwiwcnqq3ysxcyemobcbie7xza66gaofcvla5njezkvhcka` | A protocol for contract APIs requests and responses. | +| connection/valory/http_client/0.23.0 | `bafybeifgeqgryx6b3s6eseyzyezygmeitcpt3tkor2eiycozoi6clgdrny` | The HTTP_client connection that wraps a web-based client connecting to a RESTful API specification. | +| connection/valory/ledger/0.19.0 | `bafybeiauyqzizmocjldnfuzvnihrqubfqzn5u2hp6ue7v3ka5kj54kd3zm` | A connection to interact with any ledger API and contract API. | +| connection/valory/p2p_libp2p_client/0.1.0 | `bafybeihge56dn3xep2dzomu7rtvbgo4uc2qqh7ljl3fubqdi2lq44gs5lq` | The libp2p client connection implements a tcp connection to a running libp2p node as a traffic delegate to send/receive envelopes to/from agents in the DHT. | diff --git a/docs/upgrading.md b/docs/upgrading.md index 631f75cb47..ccdbc62f82 100644 --- a/docs/upgrading.md +++ b/docs/upgrading.md @@ -5,10 +5,29 @@ Below we describe the additional manual steps required to upgrade between differ # Open Autonomy -## `v0.12.1` to `v0.12.1.post1` + +## `v0.12.1.post4` to `v0.13.0` + +- `open-aea-web3` has been replaced with `web3py` +- `protobuf` has been bumped to `protobuf>=4.21.6,<5.0.0`, this means you will have to bump your protocol generator to `v24.3` and generate your protocol packages again. +- The `valory/open-autonomy` image will use Python 3.11 as default interpreter for running agents + +## `v0.12.1.post3` to `v0.12.1.post4` + +No backwards incompatible changes + +## `v0.12.1.post2` to `v0.12.1.post3` No backwards incompatible changes +## `v0.12.1.post1` to `v0.12.1.post2` + +No backwards incompatible changes + +## `v0.12.1` to `v0.12.1.post1` + +- Environment variable names have changed for custom contract address, refer to the `mint/service` CLI tools documentation regarding the changes. + ## `v0.12.0` to `v0.12.1` No backwards incompatible changes diff --git a/packages/packages.json b/packages/packages.json index 787908540c..c578781485 100644 --- a/packages/packages.json +++ b/packages/packages.json @@ -1,58 +1,61 @@ { "dev": { - "protocol/valory/abci/0.1.0": "bafybeigootsvqpk6th5xpdtzanxum3earifrrezfyhylfrit7yvqdrtgpe", - "connection/valory/abci/0.1.0": "bafybeigqurc4jzjqjs4ptbfz4r4qk6ued2tdw4op3zjnal645fbk4aikya", - "connection/valory/ipfs/0.1.0": "bafybeighbvg6if7bwswosgajlzgz36pwuyttu3vyfqgwi3xayvdxtl53lq", - "contract/valory/gnosis_safe_proxy_factory/0.1.0": "bafybeihlc3keplnos7vnlibehpt2rvfhlljyshbsvhbkwgyhgdvqublzeq", + "protocol/valory/abci/0.1.0": "bafybeihmzlmmb4pdo3zkhg6ehuyaa4lhw7bfpclln2o2z7v3o6fcep26iu", + "connection/valory/abci/0.1.0": "bafybeih6ei7q3vdsj57nb3f6dirccorj7izrxccjzys3seirzoalsj2fwq", + "connection/valory/ipfs/0.1.0": "bafybeiaddby5hxegt2fk772fzn34zpwndyfk45rc3jqtblhtr2tbzcicua", + "contract/valory/gnosis_safe_proxy_factory/0.1.0": "bafybeidnptjd2e5azxrunvduwacufrr5pwy4xkhmeoazqq55o2no4m474u", "contract/valory/component_registry/0.1.0": "bafybeigklynwl3mfav5yt5zdkrqe6rukv4ygdhpdusk66ojt4jj7tunxcy", "contract/valory/agent_registry/0.1.0": "bafybeielrs5qih3r6qhnily6x4h4j4j6kux6eqr546homow4c5ljgfyljq", "contract/valory/registries_manager/0.1.0": "bafybeihcilb27ekgoplmc43iog2zrus63fufql4rly2umbuj573nu3zpg4", "contract/valory/service_manager/0.1.0": "bafybeid4ufdirr3qaksk72iwnuzfelhzqwh7t3q56x2ixhzvwltte4yy5a", - "skill/valory/test_ipfs_abci/0.1.0": "bafybeidsj2kfj2o7sh5mj6pz7ftrg72edqkij3fbuxkpkvzxuoqdzgd4i4", - "agent/valory/test_ipfs/0.1.0": "bafybeib2myejevrwusvucak2fk5hx5qafzjwtnxvbkddldtgzexnwk64ni", - "contract/valory/service_registry/0.1.0": "bafybeift7qksgjuqh67abas3gfbfwwwvhv6tj3lvgzv5wc2nrlnoe65ba4", - "protocol/valory/tendermint/0.1.0": "bafybeidjqmwvgi4rqgp65tbkhmi45fwn2odr5ecezw6q47hwitsgyw4jpa", - "protocol/valory/ipfs/0.1.0": "bafybeibjzhsengtxfofqpxy6syamplevp35obemwfp4c5lhag3v2bvgysa", - "skill/valory/abstract_abci/0.1.0": "bafybeigopohwdk5m2kuk76dbwlokpdvxtxadgda5vq52i54ofpnndlwwuy", - "contract/valory/gnosis_safe/0.1.0": "bafybeicetxwbgfqxcaoack7knljqo4i6up4nqgvm272eyqdqii4hcis5ri", - "skill/valory/abstract_round_abci/0.1.0": "bafybeicqwr73cs3vndzafrjrjpw63vvqbbjsur7ptek77hsw3lurnood5y", - "contract/valory/multisend/0.1.0": "bafybeidfktuprydtmi4umolfles5qaf7s3t26puvvs44hvkq6uwwr3ia3a", - "skill/valory/transaction_settlement_abci/0.1.0": "bafybeicisazpyvnnzlqso3txiucxr5qhsa4ac7ius6b4mhouxr2wkadwfy", - "skill/valory/registration_abci/0.1.0": "bafybeiggzuqokgt7itc6ekb5ylmdylvfbhxqxylyz4p62qah2lkjstgdwe", - "skill/valory/reset_pause_abci/0.1.0": "bafybeiblayblhp5wuirfomwcpgydg35ve5tfq3xxetlosjn47wva5ucmzy", - "skill/valory/termination_abci/0.1.0": "bafybeieqfhvk6klnvxak3vo2ibslkrnnk2bfsn5l3gbaelcprd6cjngxki", - "skill/valory/counter/0.1.0": "bafybeidcjzsf7y7ni4z7apngrwecpi7562i6n6chun3hwjtbojnq3x2dci", - "skill/valory/counter_client/0.1.0": "bafybeianskoghhdffn4wqquup3rtziefq6jareutugb6a5zkbvuvctgk3i", - "skill/valory/register_reset_abci/0.1.0": "bafybeic24xniwheivtobqjowezwbcmvikvurvsnil2iv36khfr2zwmpfiu", - "skill/valory/register_termination_abci/0.1.0": "bafybeibyh32rpnmioqb2jxxqf5fnpa74agu5e5zffr6vilwq45lngfjgfa", - "skill/valory/test_abci/0.1.0": "bafybeif7bxthxuclmhxq5gdrvdfegdqxlr2jfcxagafbe6kwpsxa5i5qie", - "agent/valory/abstract_abci/0.1.0": "bafybeif3yvli3eonmf6yojxjzj7qgig47xhmg76zoihodcsbhqigqxj54m", - "agent/valory/counter/0.1.0": "bafybeigsajfhcox22vrlqsodmi6y5l2jwx7xnzhhu4wbguqoas22ooqafq", - "agent/valory/counter_client/0.1.0": "bafybeihwqpwbejtk25xvlsltinpxe5myb33vpv4ee7qxqgsbwuzkdzujoe", - "agent/valory/register_reset/0.1.0": "bafybeibit5dfccbcxxoexlwb36cro5imywlgm6cwc74jomu52ulrjucbhq", - "agent/valory/register_termination/0.1.0": "bafybeiclvirlrxynkrhlj7smmw2ubk756b72mhwzvaiwkzpiwlzczmvkuq", - "agent/valory/registration_start_up/0.1.0": "bafybeifwvunfi6uf3bkv5zbw5ckgl7m6px6zspsnkebbqiag7zcpdwft2e", - "agent/valory/test_abci/0.1.0": "bafybeido3s7okni7nnvw7orzf4buumfmyhvjy6p2bhznux7xxbz2l5rgae", - "service/valory/counter/0.1.0": "bafybeicn5ikxm3wthdxja26bciifpkjrrb455y4whcxvyto4a7tpfvyz4e", - "service/valory/register_reset/0.1.0": "bafybeiaiedkufei6vqp7p6pznp7z2klrlzullqz2jlzvqgnakyu5cmg22y", - "skill/valory/register_reset_recovery_abci/0.1.0": "bafybeidi3v747exsmoy6qbnis4z3avozpflqk7n23w5hbmhijo2k5kfv74", - "agent/valory/register_reset_recovery/0.1.0": "bafybeibone4sts543o2s2fj5ipnsdw5mlburnqseifjbs2vmkv65uvf3ky", - "contract/valory/multicall2/0.1.0": "bafybeihhn3vic2yje7ehmi43a4wus4vnei5nwihetwk73tqtgbnn44pr2u", - "skill/valory/slashing_abci/0.1.0": "bafybeih2q3hatumfrd2me75djo6vm6t5zjpn4pi4sx2dguyrymtg47vjru", - "skill/valory/offend_abci/0.1.0": "bafybeibmlwjfv4ttq2htq2o2g3pef5t3pawgmdt5td6wt5axjxgowk3ezu", - "skill/valory/offend_slash_abci/0.1.0": "bafybeicpxjwi6soefemt3yjuo22yols3xhslf4dnwpumnmq7b6wyjmtbxi", - "agent/valory/offend_slash/0.1.0": "bafybeigrvq2jmgcc6aaeza4at34s2eb6d47vufxr6fzlhgf22bxm6iw5tu", + "skill/valory/test_ipfs_abci/0.1.0": "bafybeifxklmzn3we7tmwq756vj7rbhqlb6w2g2bbe2f6e3zuoq4iyzsima", + "agent/valory/test_ipfs/0.1.0": "bafybeiddqmorgwfnve7cirdppjy6bnozd2yysjhhqt5w7s7bwgkjuc3xxq", + "contract/valory/service_registry/0.1.0": "bafybeiamckrtlrydvoyelc6ldu5ke5uwrdxstzaeqstvg5r4uteriwmjka", + "protocol/valory/tendermint/0.1.0": "bafybeig6g6twajlwssfbfp5rlnu5mwzuu5kgak5cs4fich7rlkx6whesnu", + "protocol/valory/ipfs/0.1.0": "bafybeiedxeismnx3k5ty4mvvhlqideixlhqmi5mtcki4lxqfa7uqh7p33u", + "skill/valory/abstract_abci/0.1.0": "bafybeidek3doh6cs3qw3hzgnqw65st2g5vhx5bgkdztyrer45wewttagui", + "contract/valory/gnosis_safe/0.1.0": "bafybeiaz2ybse2kym2bph5tf4uvx3qb3uxzxga4pn75gfqmzadtz6mxmdy", + "skill/valory/abstract_round_abci/0.1.0": "bafybeiavfdmszwpotgdw5wd2imxcwsigygczvttxk5onswt72ipbdyjp3q", + "contract/valory/multisend/0.1.0": "bafybeig5byt5urg2d2bsecufxe5ql7f4mezg3mekfleeh32nmuusx66p4y", + "skill/valory/transaction_settlement_abci/0.1.0": "bafybeigdg4qcvfowlu3eiwler7axdhmthngr54ulznutey43xzem45gpna", + "skill/valory/registration_abci/0.1.0": "bafybeifco5irvmx5kf76yiubaa42qkdx5kfph763vszwtwnqq2tqsic6wm", + "skill/valory/reset_pause_abci/0.1.0": "bafybeiakssljjjlv4767hhsj6jzsy3bjyvp3xkgvugazfytjkygeuoedfi", + "skill/valory/termination_abci/0.1.0": "bafybeigddtcgeia5xkz4i6pnagvyrwotuef53vwq5ywppncbof3fph472u", + "skill/valory/counter/0.1.0": "bafybeiebxovit5k2fsr4r3fisqov53ek34xwanxly34eeo3ublxt2tyche", + "skill/valory/counter_client/0.1.0": "bafybeihx46fr7vgqjxmymfah3hfmynzpzwe5fthi7mbc2cnev2gqgtngzy", + "skill/valory/hello_world_abci/0.1.0": "bafybeideckfxmkvdnjfvfgbcit6x4gxxwtbalttyxfslh22czxsb7zkstm", + "skill/valory/register_reset_abci/0.1.0": "bafybeidi4ors7jahoutqoozm5n62vvveeh4nowj4u43yuokd6rfwn7r5mm", + "skill/valory/register_termination_abci/0.1.0": "bafybeiau4s566job5htmqelf46oinrlerwdnxrz2zee2wqea2reqvmet7a", + "skill/valory/test_abci/0.1.0": "bafybeiajw7frbyq2oftehmglhtldmcqqmdckfqsxbq4zi2dnsgpdgvvddy", + "agent/valory/abstract_abci/0.1.0": "bafybeictsxb7asryy227ouy6rrzfkwakf4fhvp2ondzlszslurkr5dzk6e", + "agent/valory/counter/0.1.0": "bafybeifyl2rzgetpvlqe663chm4g7fjijg5ptaxcmdg4sy3rtiwmnniye4", + "agent/valory/counter_client/0.1.0": "bafybeigbcqfbtqjqguvop7gcp3ilr22d356n7js4jpyhoo5ymotis264wy", + "agent/valory/hello_world/0.1.0": "bafybeibwluqq2yywd3stax2kuiqnv4zxxu3rprfkbn7f7e6sf2gelpkdqa", + "agent/valory/register_reset/0.1.0": "bafybeic6anftulx3wjcllsf72eulgonpwux3iopzaiaj5paeju772kuc4e", + "agent/valory/register_termination/0.1.0": "bafybeigx3betmnmpxap6fwyrduxomp7ugd33ik3rwtkvluqc3rh3bqfx4q", + "agent/valory/registration_start_up/0.1.0": "bafybeialhpjejqyvxttkbazxzkphtu2c3fwvfp7owkwlagaphzkzxb6p5e", + "agent/valory/test_abci/0.1.0": "bafybeibe6kgnwkuhcydk5gr3wvsybdlc7gfuzt2ia24czudsvxlbmdlrwe", + "service/valory/counter/0.1.0": "bafybeigi5bhllrcp32xp5rbrbbaencxxhtm2leqxdzutcgug5lpkvoyapi", + "service/valory/hello_world/0.1.0": "bafybeieoqhbwqmg5oiqgkxf6dlizncjvaermwtun4aijqcbyc6ulfl7o4q", + "service/valory/register_reset/0.1.0": "bafybeienlgv3xtigisoyjo5gedz5jgu3dxp2lml22jglm7bdogk4vtxhuq", + "skill/valory/register_reset_recovery_abci/0.1.0": "bafybeig5dv2gxdykcmfx4lduwfg4z2zagec3xrss2dn6wo6wk3uhv5qedy", + "agent/valory/register_reset_recovery/0.1.0": "bafybeicme7j7zq7splhzbcrcw4q6ga2idq2qqnl6wbdwwkvsbz2botpuhu", + "contract/valory/multicall2/0.1.0": "bafybeienhhggmyxocgsy2kpsbe74z3yewzj33lrhcvuvmlhgyrzf6c3sue", + "skill/valory/slashing_abci/0.1.0": "bafybeihpvmyzw2lbifvenn7r3qvh46njokrnji4gck4vfak6s7zhe3scqq", + "skill/valory/offend_abci/0.1.0": "bafybeicawxz5lvz3jjwyv772bwz44dqu333hb24r4e24fophrvq4bj3gw4", + "skill/valory/offend_slash_abci/0.1.0": "bafybeibm3nu4f3y4zy66oambwe6vzpnopa5vwmn7ydoudhjsggubwtn3ee", + "agent/valory/offend_slash/0.1.0": "bafybeifft43gjipqctogxq2xkcvq4bx6i45zvxzflgsecvimywv45mp5vi", "contract/valory/erc20/0.1.0": "bafybeiag7wpfri44bwrx26374mnxyglmwxod6gu37foqkvloqr7oeldlgu", "contract/valory/service_registry_token_utility/0.1.0": "bafybeifdia2y5546tvk6xzxeaqzf2n5n7dutj2hdzbgenxohaqhjtnjqm4" }, "third_party": { - "protocol/open_aea/signing/1.0.0": "bafybeifuxs7gdg2okbn7uofymenjlmnih2wxwkym44lsgwmklgwuckxm2m", - "protocol/valory/acn/1.1.0": "bafybeiapa5ilsobggnspoqhspftwolrx52udrwmaxdxgrk26heuvl4oooa", - "protocol/valory/http/1.0.0": "bafybeia5bxdua2i6chw6pg47bvoljzcpuqxzy4rdrorbdmcbnwmnfdobtu", - "protocol/valory/ledger_api/1.0.0": "bafybeigsvceac33asd6ecbqev34meyyjwu3rangenv6xp5rkxyz4krvcby", - "protocol/valory/contract_api/1.0.0": "bafybeiasywsvax45qmugus5kxogejj66c5taen27h4voriodz7rgushtqa", - "connection/valory/http_client/0.23.0": "bafybeieoeuy4brzimtnubmokwirhrx27ezls6cdnl5qik4rkykfle3nn2y", - "connection/valory/ledger/0.19.0": "bafybeigfoz7d7si7s4jehvloq2zmiiocpbxcaathl3bxkyarxoerxq7g3a", - "connection/valory/p2p_libp2p_client/0.1.0": "bafybeihdnfdth3qgltefgrem7xyi4b3ejzaz67xglm2hbma2rfvpl2annq" + "protocol/open_aea/signing/1.0.0": "bafybeie7xyems76v5b4wc2lmaidcujizpxfzjnnwdeokmhje53g7ym25ii", + "protocol/valory/acn/1.1.0": "bafybeic2pxzfc3voxl2ejhcqyf2ehm4wm5gxvgx7bliloiqi2uppmq6weu", + "protocol/valory/http/1.0.0": "bafybeiejoqgv7finfxo3rcvvovrlj5ccrbgxodjq43uo26ylpowsa3llfe", + "protocol/valory/ledger_api/1.0.0": "bafybeige5agrztgzfevyglf7mb4o7pzfttmq4f6zi765y4g2zvftbyowru", + "protocol/valory/contract_api/1.0.0": "bafybeialhbjvwiwcnqq3ysxcyemobcbie7xza66gaofcvla5njezkvhcka", + "connection/valory/http_client/0.23.0": "bafybeifgeqgryx6b3s6eseyzyezygmeitcpt3tkor2eiycozoi6clgdrny", + "connection/valory/ledger/0.19.0": "bafybeiauyqzizmocjldnfuzvnihrqubfqzn5u2hp6ue7v3ka5kj54kd3zm", + "connection/valory/p2p_libp2p_client/0.1.0": "bafybeihge56dn3xep2dzomu7rtvbgo4uc2qqh7ljl3fubqdi2lq44gs5lq" } } \ No newline at end of file diff --git a/packages/valory/agents/abstract_abci/aea-config.yaml b/packages/valory/agents/abstract_abci/aea-config.yaml index c9f8662f8b..5977096a2f 100644 --- a/packages/valory/agents/abstract_abci/aea-config.yaml +++ b/packages/valory/agents/abstract_abci/aea-config.yaml @@ -11,14 +11,14 @@ fingerprint: tests/test_abstract_abci.py: bafybeic4hileugdjd6bwy4n5beqrjo5auwalz5twt3lyx6m62kb65nc6ca fingerprint_ignore_patterns: [] connections: -- valory/abci:0.1.0:bafybeigqurc4jzjqjs4ptbfz4r4qk6ued2tdw4op3zjnal645fbk4aikya -- valory/p2p_libp2p_client:0.1.0:bafybeihdnfdth3qgltefgrem7xyi4b3ejzaz67xglm2hbma2rfvpl2annq +- valory/abci:0.1.0:bafybeih6ei7q3vdsj57nb3f6dirccorj7izrxccjzys3seirzoalsj2fwq +- valory/p2p_libp2p_client:0.1.0:bafybeihge56dn3xep2dzomu7rtvbgo4uc2qqh7ljl3fubqdi2lq44gs5lq contracts: [] protocols: -- open_aea/signing:1.0.0:bafybeifuxs7gdg2okbn7uofymenjlmnih2wxwkym44lsgwmklgwuckxm2m -- valory/abci:0.1.0:bafybeigootsvqpk6th5xpdtzanxum3earifrrezfyhylfrit7yvqdrtgpe +- open_aea/signing:1.0.0:bafybeie7xyems76v5b4wc2lmaidcujizpxfzjnnwdeokmhje53g7ym25ii +- valory/abci:0.1.0:bafybeihmzlmmb4pdo3zkhg6ehuyaa4lhw7bfpclln2o2z7v3o6fcep26iu skills: -- valory/abstract_abci:0.1.0:bafybeigopohwdk5m2kuk76dbwlokpdvxtxadgda5vq52i54ofpnndlwwuy +- valory/abstract_abci:0.1.0:bafybeidek3doh6cs3qw3hzgnqw65st2g5vhx5bgkdztyrer45wewttagui default_ledger: ethereum required_ledgers: - ethereum @@ -49,9 +49,9 @@ logging_config: propagate: true dependencies: open-aea-ledger-ethereum: - version: ==1.39.0 + version: ==1.40.0 open-aea-test-autonomy: - version: ==0.12.1.post1 + version: ==0.13.0 default_connection: valory/abci:0.1.0 --- public_id: valory/abci:0.1.0 diff --git a/packages/valory/agents/counter/aea-config.yaml b/packages/valory/agents/counter/aea-config.yaml index b811c860f6..769fad4424 100644 --- a/packages/valory/agents/counter/aea-config.yaml +++ b/packages/valory/agents/counter/aea-config.yaml @@ -11,15 +11,15 @@ fingerprint: tests/test_counter.py: bafybeiafaruvutgm65f6wnc4u5z37cyiizuttbpelgs4bpmimnjyp5tnj4 fingerprint_ignore_patterns: [] connections: -- valory/abci:0.1.0:bafybeigqurc4jzjqjs4ptbfz4r4qk6ued2tdw4op3zjnal645fbk4aikya -- valory/p2p_libp2p_client:0.1.0:bafybeihdnfdth3qgltefgrem7xyi4b3ejzaz67xglm2hbma2rfvpl2annq +- valory/abci:0.1.0:bafybeih6ei7q3vdsj57nb3f6dirccorj7izrxccjzys3seirzoalsj2fwq +- valory/p2p_libp2p_client:0.1.0:bafybeihge56dn3xep2dzomu7rtvbgo4uc2qqh7ljl3fubqdi2lq44gs5lq contracts: [] protocols: -- open_aea/signing:1.0.0:bafybeifuxs7gdg2okbn7uofymenjlmnih2wxwkym44lsgwmklgwuckxm2m -- valory/abci:0.1.0:bafybeigootsvqpk6th5xpdtzanxum3earifrrezfyhylfrit7yvqdrtgpe +- open_aea/signing:1.0.0:bafybeie7xyems76v5b4wc2lmaidcujizpxfzjnnwdeokmhje53g7ym25ii +- valory/abci:0.1.0:bafybeihmzlmmb4pdo3zkhg6ehuyaa4lhw7bfpclln2o2z7v3o6fcep26iu skills: -- valory/abstract_abci:0.1.0:bafybeigopohwdk5m2kuk76dbwlokpdvxtxadgda5vq52i54ofpnndlwwuy -- valory/counter:0.1.0:bafybeidcjzsf7y7ni4z7apngrwecpi7562i6n6chun3hwjtbojnq3x2dci +- valory/abstract_abci:0.1.0:bafybeidek3doh6cs3qw3hzgnqw65st2g5vhx5bgkdztyrer45wewttagui +- valory/counter:0.1.0:bafybeiebxovit5k2fsr4r3fisqov53ek34xwanxly34eeo3ublxt2tyche default_ledger: ethereum required_ledgers: - ethereum @@ -50,9 +50,9 @@ logging_config: propagate: true dependencies: open-aea-ledger-ethereum: - version: ==1.39.0 + version: ==1.40.0 open-aea-test-autonomy: - version: ==0.12.1.post1 + version: ==0.13.0 default_connection: null --- public_id: valory/abci:0.1.0 diff --git a/packages/valory/agents/counter_client/aea-config.yaml b/packages/valory/agents/counter_client/aea-config.yaml index 74ddcace95..6a43ed4958 100644 --- a/packages/valory/agents/counter_client/aea-config.yaml +++ b/packages/valory/agents/counter_client/aea-config.yaml @@ -8,14 +8,14 @@ fingerprint: README.md: bafybeig3kaj2bnhfnub3so6zz4e732jfhfawcyoqu2xitlfhp2x76anhlq fingerprint_ignore_patterns: [] connections: -- valory/http_client:0.23.0:bafybeieoeuy4brzimtnubmokwirhrx27ezls6cdnl5qik4rkykfle3nn2y -- valory/p2p_libp2p_client:0.1.0:bafybeihdnfdth3qgltefgrem7xyi4b3ejzaz67xglm2hbma2rfvpl2annq +- valory/http_client:0.23.0:bafybeifgeqgryx6b3s6eseyzyezygmeitcpt3tkor2eiycozoi6clgdrny +- valory/p2p_libp2p_client:0.1.0:bafybeihge56dn3xep2dzomu7rtvbgo4uc2qqh7ljl3fubqdi2lq44gs5lq contracts: [] protocols: -- open_aea/signing:1.0.0:bafybeifuxs7gdg2okbn7uofymenjlmnih2wxwkym44lsgwmklgwuckxm2m -- valory/http:1.0.0:bafybeia5bxdua2i6chw6pg47bvoljzcpuqxzy4rdrorbdmcbnwmnfdobtu +- open_aea/signing:1.0.0:bafybeie7xyems76v5b4wc2lmaidcujizpxfzjnnwdeokmhje53g7ym25ii +- valory/http:1.0.0:bafybeiejoqgv7finfxo3rcvvovrlj5ccrbgxodjq43uo26ylpowsa3llfe skills: -- valory/counter_client:0.1.0:bafybeianskoghhdffn4wqquup3rtziefq6jareutugb6a5zkbvuvctgk3i +- valory/counter_client:0.1.0:bafybeihx46fr7vgqjxmymfah3hfmynzpzwe5fthi7mbc2cnev2gqgtngzy default_ledger: ethereum required_ledgers: - ethereum @@ -28,7 +28,7 @@ logging_config: version: 1 dependencies: open-aea-ledger-ethereum: - version: ==1.39.0 + version: ==1.40.0 default_connection: null --- public_id: valory/p2p_libp2p_client:0.1.0 diff --git a/packages/valory/agents/offend_slash/aea-config.yaml b/packages/valory/agents/offend_slash/aea-config.yaml index f95f6ccee2..d33d881ed4 100644 --- a/packages/valory/agents/offend_slash/aea-config.yaml +++ b/packages/valory/agents/offend_slash/aea-config.yaml @@ -11,33 +11,33 @@ fingerprint: tests/test_offend_slash.py: bafybeideqlz3vfssoylvesyr4oualignptsjsbiqlzgoskpd7ru6vosg4m fingerprint_ignore_patterns: [] connections: -- valory/abci:0.1.0:bafybeigqurc4jzjqjs4ptbfz4r4qk6ued2tdw4op3zjnal645fbk4aikya -- valory/http_client:0.23.0:bafybeieoeuy4brzimtnubmokwirhrx27ezls6cdnl5qik4rkykfle3nn2y -- valory/ipfs:0.1.0:bafybeighbvg6if7bwswosgajlzgz36pwuyttu3vyfqgwi3xayvdxtl53lq -- valory/ledger:0.19.0:bafybeigfoz7d7si7s4jehvloq2zmiiocpbxcaathl3bxkyarxoerxq7g3a -- valory/p2p_libp2p_client:0.1.0:bafybeihdnfdth3qgltefgrem7xyi4b3ejzaz67xglm2hbma2rfvpl2annq +- valory/abci:0.1.0:bafybeih6ei7q3vdsj57nb3f6dirccorj7izrxccjzys3seirzoalsj2fwq +- valory/http_client:0.23.0:bafybeifgeqgryx6b3s6eseyzyezygmeitcpt3tkor2eiycozoi6clgdrny +- valory/ipfs:0.1.0:bafybeiaddby5hxegt2fk772fzn34zpwndyfk45rc3jqtblhtr2tbzcicua +- valory/ledger:0.19.0:bafybeiauyqzizmocjldnfuzvnihrqubfqzn5u2hp6ue7v3ka5kj54kd3zm +- valory/p2p_libp2p_client:0.1.0:bafybeihge56dn3xep2dzomu7rtvbgo4uc2qqh7ljl3fubqdi2lq44gs5lq contracts: -- valory/gnosis_safe:0.1.0:bafybeicetxwbgfqxcaoack7knljqo4i6up4nqgvm272eyqdqii4hcis5ri -- valory/gnosis_safe_proxy_factory:0.1.0:bafybeihlc3keplnos7vnlibehpt2rvfhlljyshbsvhbkwgyhgdvqublzeq -- valory/service_registry:0.1.0:bafybeift7qksgjuqh67abas3gfbfwwwvhv6tj3lvgzv5wc2nrlnoe65ba4 +- valory/gnosis_safe:0.1.0:bafybeiaz2ybse2kym2bph5tf4uvx3qb3uxzxga4pn75gfqmzadtz6mxmdy +- valory/gnosis_safe_proxy_factory:0.1.0:bafybeidnptjd2e5azxrunvduwacufrr5pwy4xkhmeoazqq55o2no4m474u +- valory/service_registry:0.1.0:bafybeiamckrtlrydvoyelc6ldu5ke5uwrdxstzaeqstvg5r4uteriwmjka protocols: -- open_aea/signing:1.0.0:bafybeifuxs7gdg2okbn7uofymenjlmnih2wxwkym44lsgwmklgwuckxm2m -- valory/abci:0.1.0:bafybeigootsvqpk6th5xpdtzanxum3earifrrezfyhylfrit7yvqdrtgpe -- valory/acn:1.1.0:bafybeiapa5ilsobggnspoqhspftwolrx52udrwmaxdxgrk26heuvl4oooa -- valory/contract_api:1.0.0:bafybeiasywsvax45qmugus5kxogejj66c5taen27h4voriodz7rgushtqa -- valory/http:1.0.0:bafybeia5bxdua2i6chw6pg47bvoljzcpuqxzy4rdrorbdmcbnwmnfdobtu -- valory/ipfs:0.1.0:bafybeibjzhsengtxfofqpxy6syamplevp35obemwfp4c5lhag3v2bvgysa -- valory/ledger_api:1.0.0:bafybeigsvceac33asd6ecbqev34meyyjwu3rangenv6xp5rkxyz4krvcby -- valory/tendermint:0.1.0:bafybeidjqmwvgi4rqgp65tbkhmi45fwn2odr5ecezw6q47hwitsgyw4jpa +- open_aea/signing:1.0.0:bafybeie7xyems76v5b4wc2lmaidcujizpxfzjnnwdeokmhje53g7ym25ii +- valory/abci:0.1.0:bafybeihmzlmmb4pdo3zkhg6ehuyaa4lhw7bfpclln2o2z7v3o6fcep26iu +- valory/acn:1.1.0:bafybeic2pxzfc3voxl2ejhcqyf2ehm4wm5gxvgx7bliloiqi2uppmq6weu +- valory/contract_api:1.0.0:bafybeialhbjvwiwcnqq3ysxcyemobcbie7xza66gaofcvla5njezkvhcka +- valory/http:1.0.0:bafybeiejoqgv7finfxo3rcvvovrlj5ccrbgxodjq43uo26ylpowsa3llfe +- valory/ipfs:0.1.0:bafybeiedxeismnx3k5ty4mvvhlqideixlhqmi5mtcki4lxqfa7uqh7p33u +- valory/ledger_api:1.0.0:bafybeige5agrztgzfevyglf7mb4o7pzfttmq4f6zi765y4g2zvftbyowru +- valory/tendermint:0.1.0:bafybeig6g6twajlwssfbfp5rlnu5mwzuu5kgak5cs4fich7rlkx6whesnu skills: -- valory/abstract_abci:0.1.0:bafybeigopohwdk5m2kuk76dbwlokpdvxtxadgda5vq52i54ofpnndlwwuy -- valory/abstract_round_abci:0.1.0:bafybeicqwr73cs3vndzafrjrjpw63vvqbbjsur7ptek77hsw3lurnood5y -- valory/offend_abci:0.1.0:bafybeibmlwjfv4ttq2htq2o2g3pef5t3pawgmdt5td6wt5axjxgowk3ezu -- valory/offend_slash_abci:0.1.0:bafybeicpxjwi6soefemt3yjuo22yols3xhslf4dnwpumnmq7b6wyjmtbxi -- valory/registration_abci:0.1.0:bafybeiggzuqokgt7itc6ekb5ylmdylvfbhxqxylyz4p62qah2lkjstgdwe -- valory/reset_pause_abci:0.1.0:bafybeiblayblhp5wuirfomwcpgydg35ve5tfq3xxetlosjn47wva5ucmzy -- valory/slashing_abci:0.1.0:bafybeih2q3hatumfrd2me75djo6vm6t5zjpn4pi4sx2dguyrymtg47vjru -- valory/transaction_settlement_abci:0.1.0:bafybeicisazpyvnnzlqso3txiucxr5qhsa4ac7ius6b4mhouxr2wkadwfy +- valory/abstract_abci:0.1.0:bafybeidek3doh6cs3qw3hzgnqw65st2g5vhx5bgkdztyrer45wewttagui +- valory/abstract_round_abci:0.1.0:bafybeiavfdmszwpotgdw5wd2imxcwsigygczvttxk5onswt72ipbdyjp3q +- valory/offend_abci:0.1.0:bafybeicawxz5lvz3jjwyv772bwz44dqu333hb24r4e24fophrvq4bj3gw4 +- valory/offend_slash_abci:0.1.0:bafybeibm3nu4f3y4zy66oambwe6vzpnopa5vwmn7ydoudhjsggubwtn3ee +- valory/registration_abci:0.1.0:bafybeifco5irvmx5kf76yiubaa42qkdx5kfph763vszwtwnqq2tqsic6wm +- valory/reset_pause_abci:0.1.0:bafybeiakssljjjlv4767hhsj6jzsy3bjyvp3xkgvugazfytjkygeuoedfi +- valory/slashing_abci:0.1.0:bafybeihpvmyzw2lbifvenn7r3qvh46njokrnji4gck4vfak6s7zhe3scqq +- valory/transaction_settlement_abci:0.1.0:bafybeigdg4qcvfowlu3eiwler7axdhmthngr54ulznutey43xzem45gpna default_ledger: ethereum required_ledgers: - ethereum @@ -69,9 +69,9 @@ logging_config: skill_exception_policy: stop_and_exit dependencies: open-aea-ledger-ethereum: - version: ==1.39.0 + version: ==1.40.0 open-aea-test-autonomy: - version: ==0.12.1.post1 + version: ==0.13.0 default_connection: null --- public_id: valory/abci:0.1.0 diff --git a/packages/valory/agents/register_reset/aea-config.yaml b/packages/valory/agents/register_reset/aea-config.yaml index 34a57e988e..57ee52f917 100644 --- a/packages/valory/agents/register_reset/aea-config.yaml +++ b/packages/valory/agents/register_reset/aea-config.yaml @@ -22,23 +22,23 @@ fingerprint: tests/test_register_reset.py: bafybeiecdipytoorhfpecbzd5pyx7e5zjpxsjc6yyqxezq2q6bhz7yuk7i fingerprint_ignore_patterns: [] connections: -- valory/abci:0.1.0:bafybeigqurc4jzjqjs4ptbfz4r4qk6ued2tdw4op3zjnal645fbk4aikya -- valory/http_client:0.23.0:bafybeieoeuy4brzimtnubmokwirhrx27ezls6cdnl5qik4rkykfle3nn2y -- valory/ipfs:0.1.0:bafybeighbvg6if7bwswosgajlzgz36pwuyttu3vyfqgwi3xayvdxtl53lq -- valory/ledger:0.19.0:bafybeigfoz7d7si7s4jehvloq2zmiiocpbxcaathl3bxkyarxoerxq7g3a -- valory/p2p_libp2p_client:0.1.0:bafybeihdnfdth3qgltefgrem7xyi4b3ejzaz67xglm2hbma2rfvpl2annq +- valory/abci:0.1.0:bafybeih6ei7q3vdsj57nb3f6dirccorj7izrxccjzys3seirzoalsj2fwq +- valory/http_client:0.23.0:bafybeifgeqgryx6b3s6eseyzyezygmeitcpt3tkor2eiycozoi6clgdrny +- valory/ipfs:0.1.0:bafybeiaddby5hxegt2fk772fzn34zpwndyfk45rc3jqtblhtr2tbzcicua +- valory/ledger:0.19.0:bafybeiauyqzizmocjldnfuzvnihrqubfqzn5u2hp6ue7v3ka5kj54kd3zm +- valory/p2p_libp2p_client:0.1.0:bafybeihge56dn3xep2dzomu7rtvbgo4uc2qqh7ljl3fubqdi2lq44gs5lq contracts: [] protocols: -- open_aea/signing:1.0.0:bafybeifuxs7gdg2okbn7uofymenjlmnih2wxwkym44lsgwmklgwuckxm2m -- valory/abci:0.1.0:bafybeigootsvqpk6th5xpdtzanxum3earifrrezfyhylfrit7yvqdrtgpe -- valory/http:1.0.0:bafybeia5bxdua2i6chw6pg47bvoljzcpuqxzy4rdrorbdmcbnwmnfdobtu -- valory/ipfs:0.1.0:bafybeibjzhsengtxfofqpxy6syamplevp35obemwfp4c5lhag3v2bvgysa +- open_aea/signing:1.0.0:bafybeie7xyems76v5b4wc2lmaidcujizpxfzjnnwdeokmhje53g7ym25ii +- valory/abci:0.1.0:bafybeihmzlmmb4pdo3zkhg6ehuyaa4lhw7bfpclln2o2z7v3o6fcep26iu +- valory/http:1.0.0:bafybeiejoqgv7finfxo3rcvvovrlj5ccrbgxodjq43uo26ylpowsa3llfe +- valory/ipfs:0.1.0:bafybeiedxeismnx3k5ty4mvvhlqideixlhqmi5mtcki4lxqfa7uqh7p33u skills: -- valory/abstract_abci:0.1.0:bafybeigopohwdk5m2kuk76dbwlokpdvxtxadgda5vq52i54ofpnndlwwuy -- valory/abstract_round_abci:0.1.0:bafybeicqwr73cs3vndzafrjrjpw63vvqbbjsur7ptek77hsw3lurnood5y -- valory/register_reset_abci:0.1.0:bafybeic24xniwheivtobqjowezwbcmvikvurvsnil2iv36khfr2zwmpfiu -- valory/registration_abci:0.1.0:bafybeiggzuqokgt7itc6ekb5ylmdylvfbhxqxylyz4p62qah2lkjstgdwe -- valory/reset_pause_abci:0.1.0:bafybeiblayblhp5wuirfomwcpgydg35ve5tfq3xxetlosjn47wva5ucmzy +- valory/abstract_abci:0.1.0:bafybeidek3doh6cs3qw3hzgnqw65st2g5vhx5bgkdztyrer45wewttagui +- valory/abstract_round_abci:0.1.0:bafybeiavfdmszwpotgdw5wd2imxcwsigygczvttxk5onswt72ipbdyjp3q +- valory/register_reset_abci:0.1.0:bafybeidi4ors7jahoutqoozm5n62vvveeh4nowj4u43yuokd6rfwn7r5mm +- valory/registration_abci:0.1.0:bafybeifco5irvmx5kf76yiubaa42qkdx5kfph763vszwtwnqq2tqsic6wm +- valory/reset_pause_abci:0.1.0:bafybeiakssljjjlv4767hhsj6jzsy3bjyvp3xkgvugazfytjkygeuoedfi default_ledger: ethereum required_ledgers: - ethereum @@ -69,9 +69,9 @@ logging_config: propagate: true dependencies: open-aea-ledger-ethereum: - version: ==1.39.0 + version: ==1.40.0 open-aea-test-autonomy: - version: ==0.12.1.post1 + version: ==0.13.0 default_connection: null --- public_id: valory/abci:0.1.0 diff --git a/packages/valory/agents/register_reset_recovery/aea-config.yaml b/packages/valory/agents/register_reset_recovery/aea-config.yaml index d540f8f3d8..ea7a53269d 100644 --- a/packages/valory/agents/register_reset_recovery/aea-config.yaml +++ b/packages/valory/agents/register_reset_recovery/aea-config.yaml @@ -12,22 +12,22 @@ fingerprint: tests/test_register_reset_recovery.py: bafybeiajrzfeqcdvapjhdjggyxya2g3gdxboodpagld6uyclrsrfsiri7u fingerprint_ignore_patterns: [] connections: -- valory/abci:0.1.0:bafybeigqurc4jzjqjs4ptbfz4r4qk6ued2tdw4op3zjnal645fbk4aikya -- valory/http_client:0.23.0:bafybeieoeuy4brzimtnubmokwirhrx27ezls6cdnl5qik4rkykfle3nn2y -- valory/ipfs:0.1.0:bafybeighbvg6if7bwswosgajlzgz36pwuyttu3vyfqgwi3xayvdxtl53lq -- valory/ledger:0.19.0:bafybeigfoz7d7si7s4jehvloq2zmiiocpbxcaathl3bxkyarxoerxq7g3a -- valory/p2p_libp2p_client:0.1.0:bafybeihdnfdth3qgltefgrem7xyi4b3ejzaz67xglm2hbma2rfvpl2annq +- valory/abci:0.1.0:bafybeih6ei7q3vdsj57nb3f6dirccorj7izrxccjzys3seirzoalsj2fwq +- valory/http_client:0.23.0:bafybeifgeqgryx6b3s6eseyzyezygmeitcpt3tkor2eiycozoi6clgdrny +- valory/ipfs:0.1.0:bafybeiaddby5hxegt2fk772fzn34zpwndyfk45rc3jqtblhtr2tbzcicua +- valory/ledger:0.19.0:bafybeiauyqzizmocjldnfuzvnihrqubfqzn5u2hp6ue7v3ka5kj54kd3zm +- valory/p2p_libp2p_client:0.1.0:bafybeihge56dn3xep2dzomu7rtvbgo4uc2qqh7ljl3fubqdi2lq44gs5lq contracts: [] protocols: -- open_aea/signing:1.0.0:bafybeifuxs7gdg2okbn7uofymenjlmnih2wxwkym44lsgwmklgwuckxm2m -- valory/abci:0.1.0:bafybeigootsvqpk6th5xpdtzanxum3earifrrezfyhylfrit7yvqdrtgpe -- valory/http:1.0.0:bafybeia5bxdua2i6chw6pg47bvoljzcpuqxzy4rdrorbdmcbnwmnfdobtu -- valory/ipfs:0.1.0:bafybeibjzhsengtxfofqpxy6syamplevp35obemwfp4c5lhag3v2bvgysa +- open_aea/signing:1.0.0:bafybeie7xyems76v5b4wc2lmaidcujizpxfzjnnwdeokmhje53g7ym25ii +- valory/abci:0.1.0:bafybeihmzlmmb4pdo3zkhg6ehuyaa4lhw7bfpclln2o2z7v3o6fcep26iu +- valory/http:1.0.0:bafybeiejoqgv7finfxo3rcvvovrlj5ccrbgxodjq43uo26ylpowsa3llfe +- valory/ipfs:0.1.0:bafybeiedxeismnx3k5ty4mvvhlqideixlhqmi5mtcki4lxqfa7uqh7p33u skills: -- valory/abstract_abci:0.1.0:bafybeigopohwdk5m2kuk76dbwlokpdvxtxadgda5vq52i54ofpnndlwwuy -- valory/abstract_round_abci:0.1.0:bafybeicqwr73cs3vndzafrjrjpw63vvqbbjsur7ptek77hsw3lurnood5y -- valory/register_reset_recovery_abci:0.1.0:bafybeidi3v747exsmoy6qbnis4z3avozpflqk7n23w5hbmhijo2k5kfv74 -- valory/registration_abci:0.1.0:bafybeiggzuqokgt7itc6ekb5ylmdylvfbhxqxylyz4p62qah2lkjstgdwe +- valory/abstract_abci:0.1.0:bafybeidek3doh6cs3qw3hzgnqw65st2g5vhx5bgkdztyrer45wewttagui +- valory/abstract_round_abci:0.1.0:bafybeiavfdmszwpotgdw5wd2imxcwsigygczvttxk5onswt72ipbdyjp3q +- valory/register_reset_recovery_abci:0.1.0:bafybeig5dv2gxdykcmfx4lduwfg4z2zagec3xrss2dn6wo6wk3uhv5qedy +- valory/registration_abci:0.1.0:bafybeifco5irvmx5kf76yiubaa42qkdx5kfph763vszwtwnqq2tqsic6wm default_ledger: ethereum required_ledgers: - ethereum @@ -59,11 +59,11 @@ logging_config: propagate: true dependencies: open-aea-ledger-cosmos: - version: ==1.39.0 + version: ==1.40.0 open-aea-ledger-ethereum: - version: ==1.39.0 + version: ==1.40.0 open-aea-test-autonomy: - version: ==0.12.1.post1 + version: ==0.13.0 skill_exception_policy: stop_and_exit default_connection: null --- diff --git a/packages/valory/agents/register_termination/aea-config.yaml b/packages/valory/agents/register_termination/aea-config.yaml index 90a9b9f8f8..a34c0f6f30 100644 --- a/packages/valory/agents/register_termination/aea-config.yaml +++ b/packages/valory/agents/register_termination/aea-config.yaml @@ -12,33 +12,33 @@ fingerprint: tests/test_register_reset.py: bafybeieaeelbyrorts3akgsu7xp27jdsv5u7r4psatdxph2agvpym7em6m fingerprint_ignore_patterns: [] connections: -- valory/abci:0.1.0:bafybeigqurc4jzjqjs4ptbfz4r4qk6ued2tdw4op3zjnal645fbk4aikya -- valory/http_client:0.23.0:bafybeieoeuy4brzimtnubmokwirhrx27ezls6cdnl5qik4rkykfle3nn2y -- valory/ipfs:0.1.0:bafybeighbvg6if7bwswosgajlzgz36pwuyttu3vyfqgwi3xayvdxtl53lq -- valory/ledger:0.19.0:bafybeigfoz7d7si7s4jehvloq2zmiiocpbxcaathl3bxkyarxoerxq7g3a -- valory/p2p_libp2p_client:0.1.0:bafybeihdnfdth3qgltefgrem7xyi4b3ejzaz67xglm2hbma2rfvpl2annq +- valory/abci:0.1.0:bafybeih6ei7q3vdsj57nb3f6dirccorj7izrxccjzys3seirzoalsj2fwq +- valory/http_client:0.23.0:bafybeifgeqgryx6b3s6eseyzyezygmeitcpt3tkor2eiycozoi6clgdrny +- valory/ipfs:0.1.0:bafybeiaddby5hxegt2fk772fzn34zpwndyfk45rc3jqtblhtr2tbzcicua +- valory/ledger:0.19.0:bafybeiauyqzizmocjldnfuzvnihrqubfqzn5u2hp6ue7v3ka5kj54kd3zm +- valory/p2p_libp2p_client:0.1.0:bafybeihge56dn3xep2dzomu7rtvbgo4uc2qqh7ljl3fubqdi2lq44gs5lq contracts: -- valory/gnosis_safe:0.1.0:bafybeicetxwbgfqxcaoack7knljqo4i6up4nqgvm272eyqdqii4hcis5ri -- valory/gnosis_safe_proxy_factory:0.1.0:bafybeihlc3keplnos7vnlibehpt2rvfhlljyshbsvhbkwgyhgdvqublzeq -- valory/multisend:0.1.0:bafybeidfktuprydtmi4umolfles5qaf7s3t26puvvs44hvkq6uwwr3ia3a -- valory/service_registry:0.1.0:bafybeift7qksgjuqh67abas3gfbfwwwvhv6tj3lvgzv5wc2nrlnoe65ba4 +- valory/gnosis_safe:0.1.0:bafybeiaz2ybse2kym2bph5tf4uvx3qb3uxzxga4pn75gfqmzadtz6mxmdy +- valory/gnosis_safe_proxy_factory:0.1.0:bafybeidnptjd2e5azxrunvduwacufrr5pwy4xkhmeoazqq55o2no4m474u +- valory/multisend:0.1.0:bafybeig5byt5urg2d2bsecufxe5ql7f4mezg3mekfleeh32nmuusx66p4y +- valory/service_registry:0.1.0:bafybeiamckrtlrydvoyelc6ldu5ke5uwrdxstzaeqstvg5r4uteriwmjka protocols: -- open_aea/signing:1.0.0:bafybeifuxs7gdg2okbn7uofymenjlmnih2wxwkym44lsgwmklgwuckxm2m -- valory/abci:0.1.0:bafybeigootsvqpk6th5xpdtzanxum3earifrrezfyhylfrit7yvqdrtgpe -- valory/acn:1.1.0:bafybeiapa5ilsobggnspoqhspftwolrx52udrwmaxdxgrk26heuvl4oooa -- valory/contract_api:1.0.0:bafybeiasywsvax45qmugus5kxogejj66c5taen27h4voriodz7rgushtqa -- valory/http:1.0.0:bafybeia5bxdua2i6chw6pg47bvoljzcpuqxzy4rdrorbdmcbnwmnfdobtu -- valory/ipfs:0.1.0:bafybeibjzhsengtxfofqpxy6syamplevp35obemwfp4c5lhag3v2bvgysa -- valory/ledger_api:1.0.0:bafybeigsvceac33asd6ecbqev34meyyjwu3rangenv6xp5rkxyz4krvcby -- valory/tendermint:0.1.0:bafybeidjqmwvgi4rqgp65tbkhmi45fwn2odr5ecezw6q47hwitsgyw4jpa +- open_aea/signing:1.0.0:bafybeie7xyems76v5b4wc2lmaidcujizpxfzjnnwdeokmhje53g7ym25ii +- valory/abci:0.1.0:bafybeihmzlmmb4pdo3zkhg6ehuyaa4lhw7bfpclln2o2z7v3o6fcep26iu +- valory/acn:1.1.0:bafybeic2pxzfc3voxl2ejhcqyf2ehm4wm5gxvgx7bliloiqi2uppmq6weu +- valory/contract_api:1.0.0:bafybeialhbjvwiwcnqq3ysxcyemobcbie7xza66gaofcvla5njezkvhcka +- valory/http:1.0.0:bafybeiejoqgv7finfxo3rcvvovrlj5ccrbgxodjq43uo26ylpowsa3llfe +- valory/ipfs:0.1.0:bafybeiedxeismnx3k5ty4mvvhlqideixlhqmi5mtcki4lxqfa7uqh7p33u +- valory/ledger_api:1.0.0:bafybeige5agrztgzfevyglf7mb4o7pzfttmq4f6zi765y4g2zvftbyowru +- valory/tendermint:0.1.0:bafybeig6g6twajlwssfbfp5rlnu5mwzuu5kgak5cs4fich7rlkx6whesnu skills: -- valory/abstract_abci:0.1.0:bafybeigopohwdk5m2kuk76dbwlokpdvxtxadgda5vq52i54ofpnndlwwuy -- valory/abstract_round_abci:0.1.0:bafybeicqwr73cs3vndzafrjrjpw63vvqbbjsur7ptek77hsw3lurnood5y -- valory/register_termination_abci:0.1.0:bafybeibyh32rpnmioqb2jxxqf5fnpa74agu5e5zffr6vilwq45lngfjgfa -- valory/registration_abci:0.1.0:bafybeiggzuqokgt7itc6ekb5ylmdylvfbhxqxylyz4p62qah2lkjstgdwe -- valory/reset_pause_abci:0.1.0:bafybeiblayblhp5wuirfomwcpgydg35ve5tfq3xxetlosjn47wva5ucmzy -- valory/termination_abci:0.1.0:bafybeieqfhvk6klnvxak3vo2ibslkrnnk2bfsn5l3gbaelcprd6cjngxki -- valory/transaction_settlement_abci:0.1.0:bafybeicisazpyvnnzlqso3txiucxr5qhsa4ac7ius6b4mhouxr2wkadwfy +- valory/abstract_abci:0.1.0:bafybeidek3doh6cs3qw3hzgnqw65st2g5vhx5bgkdztyrer45wewttagui +- valory/abstract_round_abci:0.1.0:bafybeiavfdmszwpotgdw5wd2imxcwsigygczvttxk5onswt72ipbdyjp3q +- valory/register_termination_abci:0.1.0:bafybeiau4s566job5htmqelf46oinrlerwdnxrz2zee2wqea2reqvmet7a +- valory/registration_abci:0.1.0:bafybeifco5irvmx5kf76yiubaa42qkdx5kfph763vszwtwnqq2tqsic6wm +- valory/reset_pause_abci:0.1.0:bafybeiakssljjjlv4767hhsj6jzsy3bjyvp3xkgvugazfytjkygeuoedfi +- valory/termination_abci:0.1.0:bafybeigddtcgeia5xkz4i6pnagvyrwotuef53vwq5ywppncbof3fph472u +- valory/transaction_settlement_abci:0.1.0:bafybeigdg4qcvfowlu3eiwler7axdhmthngr54ulznutey43xzem45gpna default_ledger: ethereum required_ledgers: - ethereum @@ -69,9 +69,9 @@ logging_config: propagate: false dependencies: open-aea-ledger-ethereum: - version: ==1.39.0 + version: ==1.40.0 open-aea-test-autonomy: - version: ==0.12.1.post1 + version: ==0.13.0 default_connection: null --- public_id: valory/abci:0.1.0 diff --git a/packages/valory/agents/registration_start_up/aea-config.yaml b/packages/valory/agents/registration_start_up/aea-config.yaml index 46de196584..7aae14d301 100644 --- a/packages/valory/agents/registration_start_up/aea-config.yaml +++ b/packages/valory/agents/registration_start_up/aea-config.yaml @@ -11,26 +11,26 @@ fingerprint: tests/test_registration.py: bafybeickkytuflqwxg4y6n5bcnlxwnuutxsunan5ubvy7rj3y3me3ohtwi fingerprint_ignore_patterns: [] connections: -- valory/abci:0.1.0:bafybeigqurc4jzjqjs4ptbfz4r4qk6ued2tdw4op3zjnal645fbk4aikya -- valory/http_client:0.23.0:bafybeieoeuy4brzimtnubmokwirhrx27ezls6cdnl5qik4rkykfle3nn2y -- valory/ipfs:0.1.0:bafybeighbvg6if7bwswosgajlzgz36pwuyttu3vyfqgwi3xayvdxtl53lq -- valory/ledger:0.19.0:bafybeigfoz7d7si7s4jehvloq2zmiiocpbxcaathl3bxkyarxoerxq7g3a -- valory/p2p_libp2p_client:0.1.0:bafybeihdnfdth3qgltefgrem7xyi4b3ejzaz67xglm2hbma2rfvpl2annq +- valory/abci:0.1.0:bafybeih6ei7q3vdsj57nb3f6dirccorj7izrxccjzys3seirzoalsj2fwq +- valory/http_client:0.23.0:bafybeifgeqgryx6b3s6eseyzyezygmeitcpt3tkor2eiycozoi6clgdrny +- valory/ipfs:0.1.0:bafybeiaddby5hxegt2fk772fzn34zpwndyfk45rc3jqtblhtr2tbzcicua +- valory/ledger:0.19.0:bafybeiauyqzizmocjldnfuzvnihrqubfqzn5u2hp6ue7v3ka5kj54kd3zm +- valory/p2p_libp2p_client:0.1.0:bafybeihge56dn3xep2dzomu7rtvbgo4uc2qqh7ljl3fubqdi2lq44gs5lq contracts: -- valory/service_registry:0.1.0:bafybeift7qksgjuqh67abas3gfbfwwwvhv6tj3lvgzv5wc2nrlnoe65ba4 +- valory/service_registry:0.1.0:bafybeiamckrtlrydvoyelc6ldu5ke5uwrdxstzaeqstvg5r4uteriwmjka protocols: -- open_aea/signing:1.0.0:bafybeifuxs7gdg2okbn7uofymenjlmnih2wxwkym44lsgwmklgwuckxm2m -- valory/abci:0.1.0:bafybeigootsvqpk6th5xpdtzanxum3earifrrezfyhylfrit7yvqdrtgpe -- valory/acn:1.1.0:bafybeiapa5ilsobggnspoqhspftwolrx52udrwmaxdxgrk26heuvl4oooa -- valory/contract_api:1.0.0:bafybeiasywsvax45qmugus5kxogejj66c5taen27h4voriodz7rgushtqa -- valory/http:1.0.0:bafybeia5bxdua2i6chw6pg47bvoljzcpuqxzy4rdrorbdmcbnwmnfdobtu -- valory/ipfs:0.1.0:bafybeibjzhsengtxfofqpxy6syamplevp35obemwfp4c5lhag3v2bvgysa -- valory/ledger_api:1.0.0:bafybeigsvceac33asd6ecbqev34meyyjwu3rangenv6xp5rkxyz4krvcby -- valory/tendermint:0.1.0:bafybeidjqmwvgi4rqgp65tbkhmi45fwn2odr5ecezw6q47hwitsgyw4jpa +- open_aea/signing:1.0.0:bafybeie7xyems76v5b4wc2lmaidcujizpxfzjnnwdeokmhje53g7ym25ii +- valory/abci:0.1.0:bafybeihmzlmmb4pdo3zkhg6ehuyaa4lhw7bfpclln2o2z7v3o6fcep26iu +- valory/acn:1.1.0:bafybeic2pxzfc3voxl2ejhcqyf2ehm4wm5gxvgx7bliloiqi2uppmq6weu +- valory/contract_api:1.0.0:bafybeialhbjvwiwcnqq3ysxcyemobcbie7xza66gaofcvla5njezkvhcka +- valory/http:1.0.0:bafybeiejoqgv7finfxo3rcvvovrlj5ccrbgxodjq43uo26ylpowsa3llfe +- valory/ipfs:0.1.0:bafybeiedxeismnx3k5ty4mvvhlqideixlhqmi5mtcki4lxqfa7uqh7p33u +- valory/ledger_api:1.0.0:bafybeige5agrztgzfevyglf7mb4o7pzfttmq4f6zi765y4g2zvftbyowru +- valory/tendermint:0.1.0:bafybeig6g6twajlwssfbfp5rlnu5mwzuu5kgak5cs4fich7rlkx6whesnu skills: -- valory/abstract_abci:0.1.0:bafybeigopohwdk5m2kuk76dbwlokpdvxtxadgda5vq52i54ofpnndlwwuy -- valory/abstract_round_abci:0.1.0:bafybeicqwr73cs3vndzafrjrjpw63vvqbbjsur7ptek77hsw3lurnood5y -- valory/registration_abci:0.1.0:bafybeiggzuqokgt7itc6ekb5ylmdylvfbhxqxylyz4p62qah2lkjstgdwe +- valory/abstract_abci:0.1.0:bafybeidek3doh6cs3qw3hzgnqw65st2g5vhx5bgkdztyrer45wewttagui +- valory/abstract_round_abci:0.1.0:bafybeiavfdmszwpotgdw5wd2imxcwsigygczvttxk5onswt72ipbdyjp3q +- valory/registration_abci:0.1.0:bafybeifco5irvmx5kf76yiubaa42qkdx5kfph763vszwtwnqq2tqsic6wm default_ledger: ethereum required_ledgers: - ethereum @@ -62,11 +62,11 @@ logging_config: propagate: true dependencies: open-aea-ledger-cosmos: - version: ==1.39.0 + version: ==1.40.0 open-aea-ledger-ethereum: - version: ==1.39.0 + version: ==1.40.0 open-aea-test-autonomy: - version: ==0.12.1.post1 + version: ==0.13.0 skill_exception_policy: just_log connection_exception_policy: just_log default_connection: null diff --git a/packages/valory/agents/test_abci/aea-config.yaml b/packages/valory/agents/test_abci/aea-config.yaml index cced38e7e6..dd8520c418 100644 --- a/packages/valory/agents/test_abci/aea-config.yaml +++ b/packages/valory/agents/test_abci/aea-config.yaml @@ -8,23 +8,23 @@ fingerprint: README.md: bafybeib2s5p42rb4mbn7ag4jmjwutcm2mhvhb7q7vekxevr565crxkk6zy fingerprint_ignore_patterns: [] connections: -- valory/abci:0.1.0:bafybeigqurc4jzjqjs4ptbfz4r4qk6ued2tdw4op3zjnal645fbk4aikya -- valory/http_client:0.23.0:bafybeieoeuy4brzimtnubmokwirhrx27ezls6cdnl5qik4rkykfle3nn2y -- valory/ipfs:0.1.0:bafybeighbvg6if7bwswosgajlzgz36pwuyttu3vyfqgwi3xayvdxtl53lq -- valory/ledger:0.19.0:bafybeigfoz7d7si7s4jehvloq2zmiiocpbxcaathl3bxkyarxoerxq7g3a -- valory/p2p_libp2p_client:0.1.0:bafybeihdnfdth3qgltefgrem7xyi4b3ejzaz67xglm2hbma2rfvpl2annq +- valory/abci:0.1.0:bafybeih6ei7q3vdsj57nb3f6dirccorj7izrxccjzys3seirzoalsj2fwq +- valory/http_client:0.23.0:bafybeifgeqgryx6b3s6eseyzyezygmeitcpt3tkor2eiycozoi6clgdrny +- valory/ipfs:0.1.0:bafybeiaddby5hxegt2fk772fzn34zpwndyfk45rc3jqtblhtr2tbzcicua +- valory/ledger:0.19.0:bafybeiauyqzizmocjldnfuzvnihrqubfqzn5u2hp6ue7v3ka5kj54kd3zm +- valory/p2p_libp2p_client:0.1.0:bafybeihge56dn3xep2dzomu7rtvbgo4uc2qqh7ljl3fubqdi2lq44gs5lq contracts: [] protocols: -- open_aea/signing:1.0.0:bafybeifuxs7gdg2okbn7uofymenjlmnih2wxwkym44lsgwmklgwuckxm2m -- valory/abci:0.1.0:bafybeigootsvqpk6th5xpdtzanxum3earifrrezfyhylfrit7yvqdrtgpe -- valory/contract_api:1.0.0:bafybeiasywsvax45qmugus5kxogejj66c5taen27h4voriodz7rgushtqa -- valory/http:1.0.0:bafybeia5bxdua2i6chw6pg47bvoljzcpuqxzy4rdrorbdmcbnwmnfdobtu -- valory/ipfs:0.1.0:bafybeibjzhsengtxfofqpxy6syamplevp35obemwfp4c5lhag3v2bvgysa -- valory/ledger_api:1.0.0:bafybeigsvceac33asd6ecbqev34meyyjwu3rangenv6xp5rkxyz4krvcby +- open_aea/signing:1.0.0:bafybeie7xyems76v5b4wc2lmaidcujizpxfzjnnwdeokmhje53g7ym25ii +- valory/abci:0.1.0:bafybeihmzlmmb4pdo3zkhg6ehuyaa4lhw7bfpclln2o2z7v3o6fcep26iu +- valory/contract_api:1.0.0:bafybeialhbjvwiwcnqq3ysxcyemobcbie7xza66gaofcvla5njezkvhcka +- valory/http:1.0.0:bafybeiejoqgv7finfxo3rcvvovrlj5ccrbgxodjq43uo26ylpowsa3llfe +- valory/ipfs:0.1.0:bafybeiedxeismnx3k5ty4mvvhlqideixlhqmi5mtcki4lxqfa7uqh7p33u +- valory/ledger_api:1.0.0:bafybeige5agrztgzfevyglf7mb4o7pzfttmq4f6zi765y4g2zvftbyowru skills: -- valory/abstract_abci:0.1.0:bafybeigopohwdk5m2kuk76dbwlokpdvxtxadgda5vq52i54ofpnndlwwuy -- valory/abstract_round_abci:0.1.0:bafybeicqwr73cs3vndzafrjrjpw63vvqbbjsur7ptek77hsw3lurnood5y -- valory/test_abci:0.1.0:bafybeif7bxthxuclmhxq5gdrvdfegdqxlr2jfcxagafbe6kwpsxa5i5qie +- valory/abstract_abci:0.1.0:bafybeidek3doh6cs3qw3hzgnqw65st2g5vhx5bgkdztyrer45wewttagui +- valory/abstract_round_abci:0.1.0:bafybeiavfdmszwpotgdw5wd2imxcwsigygczvttxk5onswt72ipbdyjp3q +- valory/test_abci:0.1.0:bafybeiajw7frbyq2oftehmglhtldmcqqmdckfqsxbq4zi2dnsgpdgvvddy default_ledger: ethereum required_ledgers: - ethereum @@ -49,7 +49,7 @@ logging_config: propagate: true dependencies: open-aea-ledger-ethereum: - version: ==1.39.0 + version: ==1.40.0 default_connection: null --- public_id: valory/abci:0.1.0 diff --git a/packages/valory/agents/test_ipfs/aea-config.yaml b/packages/valory/agents/test_ipfs/aea-config.yaml index 6377973d4b..aa4f1bba4d 100644 --- a/packages/valory/agents/test_ipfs/aea-config.yaml +++ b/packages/valory/agents/test_ipfs/aea-config.yaml @@ -11,26 +11,26 @@ fingerprint: tests/test_ipfs.py: bafybeib5fxk5gjuqyevp2rvzcjnyjfuwhfapappohc32xn7rnuu6lpwws4 fingerprint_ignore_patterns: [] connections: -- valory/abci:0.1.0:bafybeigqurc4jzjqjs4ptbfz4r4qk6ued2tdw4op3zjnal645fbk4aikya -- valory/http_client:0.23.0:bafybeieoeuy4brzimtnubmokwirhrx27ezls6cdnl5qik4rkykfle3nn2y -- valory/ipfs:0.1.0:bafybeighbvg6if7bwswosgajlzgz36pwuyttu3vyfqgwi3xayvdxtl53lq -- valory/ledger:0.19.0:bafybeigfoz7d7si7s4jehvloq2zmiiocpbxcaathl3bxkyarxoerxq7g3a -- valory/p2p_libp2p_client:0.1.0:bafybeihdnfdth3qgltefgrem7xyi4b3ejzaz67xglm2hbma2rfvpl2annq +- valory/abci:0.1.0:bafybeih6ei7q3vdsj57nb3f6dirccorj7izrxccjzys3seirzoalsj2fwq +- valory/http_client:0.23.0:bafybeifgeqgryx6b3s6eseyzyezygmeitcpt3tkor2eiycozoi6clgdrny +- valory/ipfs:0.1.0:bafybeiaddby5hxegt2fk772fzn34zpwndyfk45rc3jqtblhtr2tbzcicua +- valory/ledger:0.19.0:bafybeiauyqzizmocjldnfuzvnihrqubfqzn5u2hp6ue7v3ka5kj54kd3zm +- valory/p2p_libp2p_client:0.1.0:bafybeihge56dn3xep2dzomu7rtvbgo4uc2qqh7ljl3fubqdi2lq44gs5lq contracts: -- valory/service_registry:0.1.0:bafybeift7qksgjuqh67abas3gfbfwwwvhv6tj3lvgzv5wc2nrlnoe65ba4 +- valory/service_registry:0.1.0:bafybeiamckrtlrydvoyelc6ldu5ke5uwrdxstzaeqstvg5r4uteriwmjka protocols: -- open_aea/signing:1.0.0:bafybeifuxs7gdg2okbn7uofymenjlmnih2wxwkym44lsgwmklgwuckxm2m -- valory/abci:0.1.0:bafybeigootsvqpk6th5xpdtzanxum3earifrrezfyhylfrit7yvqdrtgpe -- valory/acn:1.1.0:bafybeiapa5ilsobggnspoqhspftwolrx52udrwmaxdxgrk26heuvl4oooa -- valory/contract_api:1.0.0:bafybeiasywsvax45qmugus5kxogejj66c5taen27h4voriodz7rgushtqa -- valory/http:1.0.0:bafybeia5bxdua2i6chw6pg47bvoljzcpuqxzy4rdrorbdmcbnwmnfdobtu -- valory/ipfs:0.1.0:bafybeibjzhsengtxfofqpxy6syamplevp35obemwfp4c5lhag3v2bvgysa -- valory/ledger_api:1.0.0:bafybeigsvceac33asd6ecbqev34meyyjwu3rangenv6xp5rkxyz4krvcby -- valory/tendermint:0.1.0:bafybeidjqmwvgi4rqgp65tbkhmi45fwn2odr5ecezw6q47hwitsgyw4jpa +- open_aea/signing:1.0.0:bafybeie7xyems76v5b4wc2lmaidcujizpxfzjnnwdeokmhje53g7ym25ii +- valory/abci:0.1.0:bafybeihmzlmmb4pdo3zkhg6ehuyaa4lhw7bfpclln2o2z7v3o6fcep26iu +- valory/acn:1.1.0:bafybeic2pxzfc3voxl2ejhcqyf2ehm4wm5gxvgx7bliloiqi2uppmq6weu +- valory/contract_api:1.0.0:bafybeialhbjvwiwcnqq3ysxcyemobcbie7xza66gaofcvla5njezkvhcka +- valory/http:1.0.0:bafybeiejoqgv7finfxo3rcvvovrlj5ccrbgxodjq43uo26ylpowsa3llfe +- valory/ipfs:0.1.0:bafybeiedxeismnx3k5ty4mvvhlqideixlhqmi5mtcki4lxqfa7uqh7p33u +- valory/ledger_api:1.0.0:bafybeige5agrztgzfevyglf7mb4o7pzfttmq4f6zi765y4g2zvftbyowru +- valory/tendermint:0.1.0:bafybeig6g6twajlwssfbfp5rlnu5mwzuu5kgak5cs4fich7rlkx6whesnu skills: -- valory/abstract_abci:0.1.0:bafybeigopohwdk5m2kuk76dbwlokpdvxtxadgda5vq52i54ofpnndlwwuy -- valory/abstract_round_abci:0.1.0:bafybeicqwr73cs3vndzafrjrjpw63vvqbbjsur7ptek77hsw3lurnood5y -- valory/test_ipfs_abci:0.1.0:bafybeidsj2kfj2o7sh5mj6pz7ftrg72edqkij3fbuxkpkvzxuoqdzgd4i4 +- valory/abstract_abci:0.1.0:bafybeidek3doh6cs3qw3hzgnqw65st2g5vhx5bgkdztyrer45wewttagui +- valory/abstract_round_abci:0.1.0:bafybeiavfdmszwpotgdw5wd2imxcwsigygczvttxk5onswt72ipbdyjp3q +- valory/test_ipfs_abci:0.1.0:bafybeifxklmzn3we7tmwq756vj7rbhqlb6w2g2bbe2f6e3zuoq4iyzsima default_ledger: ethereum required_ledgers: - ethereum @@ -61,7 +61,7 @@ logging_config: propagate: true dependencies: open-aea-ledger-ethereum: - version: ==1.39.0 + version: ==1.40.0 default_connection: null --- public_id: valory/abci:0.1.0 diff --git a/packages/valory/connections/abci/__init__.py b/packages/valory/connections/abci/__init__.py index cbe7b0abbb..106a847241 100644 --- a/packages/valory/connections/abci/__init__.py +++ b/packages/valory/connections/abci/__init__.py @@ -18,9 +18,3 @@ # ------------------------------------------------------------------------------ """Abci connection.""" # pragma: nocover -from hypothesis import settings - - -CI = "CI" # pragma: nocover - -settings.register_profile(CI, deadline=5000) # pragma: nocover diff --git a/packages/valory/connections/abci/connection.yaml b/packages/valory/connections/abci/connection.yaml index 9c2327f19f..005619e9f5 100644 --- a/packages/valory/connections/abci/connection.yaml +++ b/packages/valory/connections/abci/connection.yaml @@ -7,12 +7,12 @@ license: Apache-2.0 aea_version: '>=1.0.0, <2.0.0' fingerprint: Makefile: bafybeibdgarch56r46dfy7x7fouj52nbjpjs4fgtrd3prgtwelowyjan5i - __init__.py: bafybeiafpun3qgjw6zpiuq6jovo2taxkavw2gd7mn5yv73sh3uy5pea3o4 + __init__.py: bafybeic2m6f6j42cbfxz3jcwhju2dcbbdcw6xyc7mslq7uk2hwe6ctcugi check_dependencies.py: bafybeihmhemryyl2iacwwrqebr7us7wx4otvwbdbtckwkl5kxqopidyzwm connection.py: bafybeig3e43a44isn6ixvu43vp5orpbauv6jkma7w3fn52jjw3mk5agh6u dialogues.py: bafybeibpdsphu5vqjpieczrb3ulhqfcq4l73qnx6j3zhbz4dpunwegboxq gogoproto/__init__.py: bafybeifmpcbkrpygdt7uvhpq6gaxgskofpczxktoalp2cwyouay46drcke - gogoproto/gogo_pb2.py: bafybeih2nnsem7jmzljqgc4qptoaj2zlfbuyooqiymuvomwrzzavs26ufe + gogoproto/gogo_pb2.py: bafybeifdutphcruyva7lcngujrcmfsaycyodyfjbgwcrxthiouotl4fxpu protos/gogoproto/gogo.proto: bafybeieg7yu62cx25ssjgvjnsc2alececsgush6l5adpxuscaf6ksh6dou protos/tendermint/abci/types.proto: bafybeigimbf3rrfavl2o2jakr5c6dfm652lzxsddcmho7w5ytxo33sgrm4 protos/tendermint/crypto/keys.proto: bafybeiar5g76sw7wgiyvaczpfgmw2bqkuillti7lnibmmmenz5zdofm6xe @@ -24,30 +24,30 @@ fingerprint: readme.md: bafybeierlmc7t4dwpgc3sgmn5m5l3r4fwnwzbf6agna3igndsogk3iqlv4 scripts/genproto.py: bafybeicfgwktvlrzqwfbvbld6bor3qd2rcfcgmk5rzfcfl6oj3jrr2mequ tendermint/__init__.py: bafybeifayxyjcebekkn62sucyupfcuwzlj57kuiwafynpw4nrbocqxe6ya - tendermint/abci/types_pb2.py: bafybeif4im3bdtc6pvhcdrhhfydr2kzh3vuqez57fj43xqlrnm5yls2idm + tendermint/abci/types_pb2.py: bafybeidvvklivlllwprj2rh6un45apg773muyjrsq5momcihi2abxioqsi tendermint/abci/types_pb2_grpc.py: bafybeihmecy4uas7itftoaslrqvrjb3m2jewojuzxvie7pjzsrw5exnu6u - tendermint/crypto/keys_pb2.py: bafybeifo4ian5shlehmopaoew3oz5e7n3jkke2byviuzggkt2ctxyuutoi - tendermint/crypto/proof_pb2.py: bafybeicz5vfricor4iromt3phy5kelz27af4nnajada3emiyy7fwbyhsyu - tendermint/types/params_pb2.py: bafybeiap3oi5yr63za4yihkf7gmhh6acdu7a45swdcknu27wqzilmj3brq - tendermint/types/types_pb2.py: bafybeide3f3tmqiuxpiu2dmimd5sghphoqd4rka2pdnxvfaoawsfm2ejmu - tendermint/types/validator_pb2.py: bafybeihbukxnnvzbc2w75uln5qxyj3sle7euezbwo6pk65rbdznexgatbm - tendermint/version/types_pb2.py: bafybeiee7dx3fxa4vnuyosl6qps7z6guk3p627lan7owqjuq3rgjhfqnty - tendermint_decoder.py: bafybeidal3n3q4lka4zwbrt277lmlhht5nlxnpnmc4rwi6zb5halnksomu + tendermint/crypto/keys_pb2.py: bafybeiamkizmrn7txfboyrqqdara7n6ix5pbfh4evc3xedeva65snmlfhe + tendermint/crypto/proof_pb2.py: bafybeie7zueijrsuzldcol7dkcd2udupbof6nm73zm6zzkkin6teauan2m + tendermint/types/params_pb2.py: bafybeifblynzqqhyuvwjzgz33izwi5fl6fqabyiuwspasdlkw32xhltxq4 + tendermint/types/types_pb2.py: bafybeiad3gl7a3o4aewrcxfg5qpmjgtpeobcvb5knjxofwo7jjiimeb4m4 + tendermint/types/validator_pb2.py: bafybeibdhuvir43t4he337ajwe6sk7suhzxgdxyk2i6neoonoxfjqtqd6q + tendermint/version/types_pb2.py: bafybeib7ucwdh2oqbprdjskfofjkidf3odpj34zwicckkze6esx2zlsdaq + tendermint_decoder.py: bafybeig3teywhof2vztwaiqj36nx5bv6fysxzmu7i5ewqxa2w7rdf3wa7i tendermint_encoder.py: bafybeibpnofkac6jizpbezlo7rdsbijloovsuz5rjysshjrims7x44wxv4 - tests/__init__.py: bafybeid67ezzjsfsukyqdjtlnd3ra5yy73jnobm4setddgagd3u4vqboyu - tests/helper.py: bafybeiewqp7ulsc5n6hrcoj5bvqp2pz5f5sadrfyrm2nywzeazi443b5ba + tests/__init__.py: bafybeiaca7l7u423yejqpbbkyvrkrhog2zqpmtbvrga6bjou3yogj4bina + tests/helper.py: bafybeidahgf7lfoachhqliysh6uxc3prjl3yweicay4tkjsqwkxt67lphu tests/test_abci.py: bafybeia4pw67do72gzc66kz23yzllnspbzqrtd5c5muqxhol27ipjjscxa tests/test_abci_fuzz.py: bafybeiddeye3fbgefihbgdhqwwuv3dlseo6d5kt3jpixpq45bewm5dep2u tests/test_abci_spec.py: bafybeifacnizp2mryyb2j64iugnxn5rhtx7xr4emwbw5xcke6le6utpwhu tests/test_fuzz/__init__.py: bafybeiggaobawdxpx2j637ldmacq7r7tnyeygukmjuayodj3vytdyqsjze - tests/test_fuzz/base.py: bafybeihcup3o3pbyfk33bvhznxsedjzf4wnbuoa6h3czo34m4qqyss6ixq + tests/test_fuzz/base.py: bafybeifcv7r4dk7dfw726r3dy42s6mozb5yk4mmhml5i3hpu653odax7bq tests/test_fuzz/mock_node/__init__.py: bafybeibt3bm4l3wethryy564mzcbhqmnztsbko4c5bt5ila5ghq2e7vz7u tests/test_fuzz/mock_node/channels/__init__.py: bafybeifjjnlxtqd4pz76aq6w642n5d6pa635ehkhjxgzyjidakza27adja - tests/test_fuzz/mock_node/channels/base.py: bafybeiewnctbkmmnnqwsrlwy2rfaypmva7xuclgwzfuwwrua3xpqf43f54 - tests/test_fuzz/mock_node/channels/grpc_channel.py: bafybeid2na2emvcgvax46mghr6nb4cimtskp4phtvokuyt3pymsbiohjnq - tests/test_fuzz/mock_node/channels/tcp_channel.py: bafybeibxpapyxatsnfnzixemmdp7lfhyrugl2rlvp73tv3d7mjkdphbccu - tests/test_fuzz/mock_node/node.py: bafybeieyq4vbddnk5qnvwttmralv6soadz276rapembzjp5sbhcnmvaida - tests/test_fuzz/test_fuzz.py: bafybeigpgbo6afvhhkyh2yxv64awpnxbxyfaqp5fifgdsm5v7grbzjrk2i + tests/test_fuzz/mock_node/channels/base.py: bafybeicsirvtetuxnophhibjlzeos4bwtchhxr76v4k4ajsht6vrsqb5ni + tests/test_fuzz/mock_node/channels/grpc_channel.py: bafybeidita6lkds4urwrt3jwpou22js7ngruoof7kynuhkultdytx5taua + tests/test_fuzz/mock_node/channels/tcp_channel.py: bafybeiehlihhp7itiypkilugorwa2rytz2fm3awkm7vhti5p2v7fcvvajq + tests/test_fuzz/mock_node/node.py: bafybeiakzuvng5elaws6mv246o2nrjitdvjr7j5ltrhxscpezybbsyzh3i + tests/test_fuzz/test_fuzz.py: bafybeihfsayqmhajvhthvirxicd4swpe32u2gohe7sq5ixjuygico6wzge tests/test_tendermint_decoder.py: bafybeihogt3aopyln5newihm3rbiqimoc4aw6za2cngplnjnwatv6nakea tests/test_tendermint_encoder.py: bafybeigpun2ybwr5tu7b52his3b5apyrlmdytlgofcszbctsmmabo3sjg4 version.txt: bafybeifjb44fd7qve2ku62ythui6z4mvd4k7qkjomlcdnl3ymb3bnq6xee @@ -55,7 +55,7 @@ fingerprint_ignore_patterns: [] build_entrypoint: check_dependencies.py connections: [] protocols: -- valory/abci:0.1.0:bafybeigootsvqpk6th5xpdtzanxum3earifrrezfyhylfrit7yvqdrtgpe +- valory/abci:0.1.0:bafybeihmzlmmb4pdo3zkhg6ehuyaa4lhw7bfpclln2o2z7v3o6fcep26iu class_name: ABCIServerConnection config: host: 127.0.0.1 @@ -77,8 +77,8 @@ dependencies: hypothesis: version: ==6.21.6 open-aea-test-autonomy: - version: ==0.12.1.post1 + version: ==0.13.0 protobuf: - version: <=3.20.1,>=3.19 + version: <5.0.0,>=4.21.6 is_abstract: false cert_requests: [] diff --git a/packages/valory/connections/abci/gogoproto/gogo_pb2.py b/packages/valory/connections/abci/gogoproto/gogo_pb2.py index c0483f5fa9..e02509ae4a 100644 --- a/packages/valory/connections/abci/gogoproto/gogo_pb2.py +++ b/packages/valory/connections/abci/gogoproto/gogo_pb2.py @@ -3,9 +3,9 @@ # source: gogoproto/gogo.proto """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder # @@protoc_insertion_point(imports) @@ -16,1742 +16,16 @@ from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2 -DESCRIPTOR = _descriptor.FileDescriptor( - name="gogoproto/gogo.proto", - package="gogoproto", - syntax="proto2", - serialized_options=b'\n\023com.google.protobufB\nGoGoProtosZ"github.com/gogo/protobuf/gogoproto', - create_key=_descriptor._internal_create_key, - serialized_pb=b'\n\x14gogoproto/gogo.proto\x12\tgogoproto\x1a google/protobuf/descriptor.proto:;\n\x13goproto_enum_prefix\x12\x1c.google.protobuf.EnumOptions\x18\xb1\xe4\x03 \x01(\x08:=\n\x15goproto_enum_stringer\x12\x1c.google.protobuf.EnumOptions\x18\xc5\xe4\x03 \x01(\x08:5\n\renum_stringer\x12\x1c.google.protobuf.EnumOptions\x18\xc6\xe4\x03 \x01(\x08:7\n\x0f\x65num_customname\x12\x1c.google.protobuf.EnumOptions\x18\xc7\xe4\x03 \x01(\t:0\n\x08\x65numdecl\x12\x1c.google.protobuf.EnumOptions\x18\xc8\xe4\x03 \x01(\x08:A\n\x14\x65numvalue_customname\x12!.google.protobuf.EnumValueOptions\x18\xd1\x83\x04 \x01(\t:;\n\x13goproto_getters_all\x12\x1c.google.protobuf.FileOptions\x18\x99\xec\x03 \x01(\x08:?\n\x17goproto_enum_prefix_all\x12\x1c.google.protobuf.FileOptions\x18\x9a\xec\x03 \x01(\x08:<\n\x14goproto_stringer_all\x12\x1c.google.protobuf.FileOptions\x18\x9b\xec\x03 \x01(\x08:9\n\x11verbose_equal_all\x12\x1c.google.protobuf.FileOptions\x18\x9c\xec\x03 \x01(\x08:0\n\x08\x66\x61\x63\x65_all\x12\x1c.google.protobuf.FileOptions\x18\x9d\xec\x03 \x01(\x08:4\n\x0cgostring_all\x12\x1c.google.protobuf.FileOptions\x18\x9e\xec\x03 \x01(\x08:4\n\x0cpopulate_all\x12\x1c.google.protobuf.FileOptions\x18\x9f\xec\x03 \x01(\x08:4\n\x0cstringer_all\x12\x1c.google.protobuf.FileOptions\x18\xa0\xec\x03 \x01(\x08:3\n\x0bonlyone_all\x12\x1c.google.protobuf.FileOptions\x18\xa1\xec\x03 \x01(\x08:1\n\tequal_all\x12\x1c.google.protobuf.FileOptions\x18\xa5\xec\x03 \x01(\x08:7\n\x0f\x64\x65scription_all\x12\x1c.google.protobuf.FileOptions\x18\xa6\xec\x03 \x01(\x08:3\n\x0btestgen_all\x12\x1c.google.protobuf.FileOptions\x18\xa7\xec\x03 \x01(\x08:4\n\x0c\x62\x65nchgen_all\x12\x1c.google.protobuf.FileOptions\x18\xa8\xec\x03 \x01(\x08:5\n\rmarshaler_all\x12\x1c.google.protobuf.FileOptions\x18\xa9\xec\x03 \x01(\x08:7\n\x0funmarshaler_all\x12\x1c.google.protobuf.FileOptions\x18\xaa\xec\x03 \x01(\x08:<\n\x14stable_marshaler_all\x12\x1c.google.protobuf.FileOptions\x18\xab\xec\x03 \x01(\x08:1\n\tsizer_all\x12\x1c.google.protobuf.FileOptions\x18\xac\xec\x03 \x01(\x08:A\n\x19goproto_enum_stringer_all\x12\x1c.google.protobuf.FileOptions\x18\xad\xec\x03 \x01(\x08:9\n\x11\x65num_stringer_all\x12\x1c.google.protobuf.FileOptions\x18\xae\xec\x03 \x01(\x08:<\n\x14unsafe_marshaler_all\x12\x1c.google.protobuf.FileOptions\x18\xaf\xec\x03 \x01(\x08:>\n\x16unsafe_unmarshaler_all\x12\x1c.google.protobuf.FileOptions\x18\xb0\xec\x03 \x01(\x08:B\n\x1agoproto_extensions_map_all\x12\x1c.google.protobuf.FileOptions\x18\xb1\xec\x03 \x01(\x08:@\n\x18goproto_unrecognized_all\x12\x1c.google.protobuf.FileOptions\x18\xb2\xec\x03 \x01(\x08:8\n\x10gogoproto_import\x12\x1c.google.protobuf.FileOptions\x18\xb3\xec\x03 \x01(\x08:6\n\x0eprotosizer_all\x12\x1c.google.protobuf.FileOptions\x18\xb4\xec\x03 \x01(\x08:3\n\x0b\x63ompare_all\x12\x1c.google.protobuf.FileOptions\x18\xb5\xec\x03 \x01(\x08:4\n\x0ctypedecl_all\x12\x1c.google.protobuf.FileOptions\x18\xb6\xec\x03 \x01(\x08:4\n\x0c\x65numdecl_all\x12\x1c.google.protobuf.FileOptions\x18\xb7\xec\x03 \x01(\x08:<\n\x14goproto_registration\x12\x1c.google.protobuf.FileOptions\x18\xb8\xec\x03 \x01(\x08:7\n\x0fmessagename_all\x12\x1c.google.protobuf.FileOptions\x18\xb9\xec\x03 \x01(\x08:=\n\x15goproto_sizecache_all\x12\x1c.google.protobuf.FileOptions\x18\xba\xec\x03 \x01(\x08:;\n\x13goproto_unkeyed_all\x12\x1c.google.protobuf.FileOptions\x18\xbb\xec\x03 \x01(\x08::\n\x0fgoproto_getters\x12\x1f.google.protobuf.MessageOptions\x18\x81\xf4\x03 \x01(\x08:;\n\x10goproto_stringer\x12\x1f.google.protobuf.MessageOptions\x18\x83\xf4\x03 \x01(\x08:8\n\rverbose_equal\x12\x1f.google.protobuf.MessageOptions\x18\x84\xf4\x03 \x01(\x08:/\n\x04\x66\x61\x63\x65\x12\x1f.google.protobuf.MessageOptions\x18\x85\xf4\x03 \x01(\x08:3\n\x08gostring\x12\x1f.google.protobuf.MessageOptions\x18\x86\xf4\x03 \x01(\x08:3\n\x08populate\x12\x1f.google.protobuf.MessageOptions\x18\x87\xf4\x03 \x01(\x08:3\n\x08stringer\x12\x1f.google.protobuf.MessageOptions\x18\xc0\x8b\x04 \x01(\x08:2\n\x07onlyone\x12\x1f.google.protobuf.MessageOptions\x18\x89\xf4\x03 \x01(\x08:0\n\x05\x65qual\x12\x1f.google.protobuf.MessageOptions\x18\x8d\xf4\x03 \x01(\x08:6\n\x0b\x64\x65scription\x12\x1f.google.protobuf.MessageOptions\x18\x8e\xf4\x03 \x01(\x08:2\n\x07testgen\x12\x1f.google.protobuf.MessageOptions\x18\x8f\xf4\x03 \x01(\x08:3\n\x08\x62\x65nchgen\x12\x1f.google.protobuf.MessageOptions\x18\x90\xf4\x03 \x01(\x08:4\n\tmarshaler\x12\x1f.google.protobuf.MessageOptions\x18\x91\xf4\x03 \x01(\x08:6\n\x0bunmarshaler\x12\x1f.google.protobuf.MessageOptions\x18\x92\xf4\x03 \x01(\x08:;\n\x10stable_marshaler\x12\x1f.google.protobuf.MessageOptions\x18\x93\xf4\x03 \x01(\x08:0\n\x05sizer\x12\x1f.google.protobuf.MessageOptions\x18\x94\xf4\x03 \x01(\x08:;\n\x10unsafe_marshaler\x12\x1f.google.protobuf.MessageOptions\x18\x97\xf4\x03 \x01(\x08:=\n\x12unsafe_unmarshaler\x12\x1f.google.protobuf.MessageOptions\x18\x98\xf4\x03 \x01(\x08:A\n\x16goproto_extensions_map\x12\x1f.google.protobuf.MessageOptions\x18\x99\xf4\x03 \x01(\x08:?\n\x14goproto_unrecognized\x12\x1f.google.protobuf.MessageOptions\x18\x9a\xf4\x03 \x01(\x08:5\n\nprotosizer\x12\x1f.google.protobuf.MessageOptions\x18\x9c\xf4\x03 \x01(\x08:2\n\x07\x63ompare\x12\x1f.google.protobuf.MessageOptions\x18\x9d\xf4\x03 \x01(\x08:3\n\x08typedecl\x12\x1f.google.protobuf.MessageOptions\x18\x9e\xf4\x03 \x01(\x08:6\n\x0bmessagename\x12\x1f.google.protobuf.MessageOptions\x18\xa1\xf4\x03 \x01(\x08:<\n\x11goproto_sizecache\x12\x1f.google.protobuf.MessageOptions\x18\xa2\xf4\x03 \x01(\x08::\n\x0fgoproto_unkeyed\x12\x1f.google.protobuf.MessageOptions\x18\xa3\xf4\x03 \x01(\x08:1\n\x08nullable\x12\x1d.google.protobuf.FieldOptions\x18\xe9\xfb\x03 \x01(\x08:.\n\x05\x65mbed\x12\x1d.google.protobuf.FieldOptions\x18\xea\xfb\x03 \x01(\x08:3\n\ncustomtype\x12\x1d.google.protobuf.FieldOptions\x18\xeb\xfb\x03 \x01(\t:3\n\ncustomname\x12\x1d.google.protobuf.FieldOptions\x18\xec\xfb\x03 \x01(\t:0\n\x07jsontag\x12\x1d.google.protobuf.FieldOptions\x18\xed\xfb\x03 \x01(\t:1\n\x08moretags\x12\x1d.google.protobuf.FieldOptions\x18\xee\xfb\x03 \x01(\t:1\n\x08\x63\x61sttype\x12\x1d.google.protobuf.FieldOptions\x18\xef\xfb\x03 \x01(\t:0\n\x07\x63\x61stkey\x12\x1d.google.protobuf.FieldOptions\x18\xf0\xfb\x03 \x01(\t:2\n\tcastvalue\x12\x1d.google.protobuf.FieldOptions\x18\xf1\xfb\x03 \x01(\t:0\n\x07stdtime\x12\x1d.google.protobuf.FieldOptions\x18\xf2\xfb\x03 \x01(\x08:4\n\x0bstdduration\x12\x1d.google.protobuf.FieldOptions\x18\xf3\xfb\x03 \x01(\x08:3\n\nwktpointer\x12\x1d.google.protobuf.FieldOptions\x18\xf4\xfb\x03 \x01(\x08\x42\x45\n\x13\x63om.google.protobufB\nGoGoProtosZ"github.com/gogo/protobuf/gogoproto', - dependencies=[ - google_dot_protobuf_dot_descriptor__pb2.DESCRIPTOR, - ], +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x14gogoproto/gogo.proto\x12\tgogoproto\x1a google/protobuf/descriptor.proto:;\n\x13goproto_enum_prefix\x12\x1c.google.protobuf.EnumOptions\x18\xb1\xe4\x03 \x01(\x08:=\n\x15goproto_enum_stringer\x12\x1c.google.protobuf.EnumOptions\x18\xc5\xe4\x03 \x01(\x08:5\n\renum_stringer\x12\x1c.google.protobuf.EnumOptions\x18\xc6\xe4\x03 \x01(\x08:7\n\x0f\x65num_customname\x12\x1c.google.protobuf.EnumOptions\x18\xc7\xe4\x03 \x01(\t:0\n\x08\x65numdecl\x12\x1c.google.protobuf.EnumOptions\x18\xc8\xe4\x03 \x01(\x08:A\n\x14\x65numvalue_customname\x12!.google.protobuf.EnumValueOptions\x18\xd1\x83\x04 \x01(\t:;\n\x13goproto_getters_all\x12\x1c.google.protobuf.FileOptions\x18\x99\xec\x03 \x01(\x08:?\n\x17goproto_enum_prefix_all\x12\x1c.google.protobuf.FileOptions\x18\x9a\xec\x03 \x01(\x08:<\n\x14goproto_stringer_all\x12\x1c.google.protobuf.FileOptions\x18\x9b\xec\x03 \x01(\x08:9\n\x11verbose_equal_all\x12\x1c.google.protobuf.FileOptions\x18\x9c\xec\x03 \x01(\x08:0\n\x08\x66\x61\x63\x65_all\x12\x1c.google.protobuf.FileOptions\x18\x9d\xec\x03 \x01(\x08:4\n\x0cgostring_all\x12\x1c.google.protobuf.FileOptions\x18\x9e\xec\x03 \x01(\x08:4\n\x0cpopulate_all\x12\x1c.google.protobuf.FileOptions\x18\x9f\xec\x03 \x01(\x08:4\n\x0cstringer_all\x12\x1c.google.protobuf.FileOptions\x18\xa0\xec\x03 \x01(\x08:3\n\x0bonlyone_all\x12\x1c.google.protobuf.FileOptions\x18\xa1\xec\x03 \x01(\x08:1\n\tequal_all\x12\x1c.google.protobuf.FileOptions\x18\xa5\xec\x03 \x01(\x08:7\n\x0f\x64\x65scription_all\x12\x1c.google.protobuf.FileOptions\x18\xa6\xec\x03 \x01(\x08:3\n\x0btestgen_all\x12\x1c.google.protobuf.FileOptions\x18\xa7\xec\x03 \x01(\x08:4\n\x0c\x62\x65nchgen_all\x12\x1c.google.protobuf.FileOptions\x18\xa8\xec\x03 \x01(\x08:5\n\rmarshaler_all\x12\x1c.google.protobuf.FileOptions\x18\xa9\xec\x03 \x01(\x08:7\n\x0funmarshaler_all\x12\x1c.google.protobuf.FileOptions\x18\xaa\xec\x03 \x01(\x08:<\n\x14stable_marshaler_all\x12\x1c.google.protobuf.FileOptions\x18\xab\xec\x03 \x01(\x08:1\n\tsizer_all\x12\x1c.google.protobuf.FileOptions\x18\xac\xec\x03 \x01(\x08:A\n\x19goproto_enum_stringer_all\x12\x1c.google.protobuf.FileOptions\x18\xad\xec\x03 \x01(\x08:9\n\x11\x65num_stringer_all\x12\x1c.google.protobuf.FileOptions\x18\xae\xec\x03 \x01(\x08:<\n\x14unsafe_marshaler_all\x12\x1c.google.protobuf.FileOptions\x18\xaf\xec\x03 \x01(\x08:>\n\x16unsafe_unmarshaler_all\x12\x1c.google.protobuf.FileOptions\x18\xb0\xec\x03 \x01(\x08:B\n\x1agoproto_extensions_map_all\x12\x1c.google.protobuf.FileOptions\x18\xb1\xec\x03 \x01(\x08:@\n\x18goproto_unrecognized_all\x12\x1c.google.protobuf.FileOptions\x18\xb2\xec\x03 \x01(\x08:8\n\x10gogoproto_import\x12\x1c.google.protobuf.FileOptions\x18\xb3\xec\x03 \x01(\x08:6\n\x0eprotosizer_all\x12\x1c.google.protobuf.FileOptions\x18\xb4\xec\x03 \x01(\x08:3\n\x0b\x63ompare_all\x12\x1c.google.protobuf.FileOptions\x18\xb5\xec\x03 \x01(\x08:4\n\x0ctypedecl_all\x12\x1c.google.protobuf.FileOptions\x18\xb6\xec\x03 \x01(\x08:4\n\x0c\x65numdecl_all\x12\x1c.google.protobuf.FileOptions\x18\xb7\xec\x03 \x01(\x08:<\n\x14goproto_registration\x12\x1c.google.protobuf.FileOptions\x18\xb8\xec\x03 \x01(\x08:7\n\x0fmessagename_all\x12\x1c.google.protobuf.FileOptions\x18\xb9\xec\x03 \x01(\x08:=\n\x15goproto_sizecache_all\x12\x1c.google.protobuf.FileOptions\x18\xba\xec\x03 \x01(\x08:;\n\x13goproto_unkeyed_all\x12\x1c.google.protobuf.FileOptions\x18\xbb\xec\x03 \x01(\x08::\n\x0fgoproto_getters\x12\x1f.google.protobuf.MessageOptions\x18\x81\xf4\x03 \x01(\x08:;\n\x10goproto_stringer\x12\x1f.google.protobuf.MessageOptions\x18\x83\xf4\x03 \x01(\x08:8\n\rverbose_equal\x12\x1f.google.protobuf.MessageOptions\x18\x84\xf4\x03 \x01(\x08:/\n\x04\x66\x61\x63\x65\x12\x1f.google.protobuf.MessageOptions\x18\x85\xf4\x03 \x01(\x08:3\n\x08gostring\x12\x1f.google.protobuf.MessageOptions\x18\x86\xf4\x03 \x01(\x08:3\n\x08populate\x12\x1f.google.protobuf.MessageOptions\x18\x87\xf4\x03 \x01(\x08:3\n\x08stringer\x12\x1f.google.protobuf.MessageOptions\x18\xc0\x8b\x04 \x01(\x08:2\n\x07onlyone\x12\x1f.google.protobuf.MessageOptions\x18\x89\xf4\x03 \x01(\x08:0\n\x05\x65qual\x12\x1f.google.protobuf.MessageOptions\x18\x8d\xf4\x03 \x01(\x08:6\n\x0b\x64\x65scription\x12\x1f.google.protobuf.MessageOptions\x18\x8e\xf4\x03 \x01(\x08:2\n\x07testgen\x12\x1f.google.protobuf.MessageOptions\x18\x8f\xf4\x03 \x01(\x08:3\n\x08\x62\x65nchgen\x12\x1f.google.protobuf.MessageOptions\x18\x90\xf4\x03 \x01(\x08:4\n\tmarshaler\x12\x1f.google.protobuf.MessageOptions\x18\x91\xf4\x03 \x01(\x08:6\n\x0bunmarshaler\x12\x1f.google.protobuf.MessageOptions\x18\x92\xf4\x03 \x01(\x08:;\n\x10stable_marshaler\x12\x1f.google.protobuf.MessageOptions\x18\x93\xf4\x03 \x01(\x08:0\n\x05sizer\x12\x1f.google.protobuf.MessageOptions\x18\x94\xf4\x03 \x01(\x08:;\n\x10unsafe_marshaler\x12\x1f.google.protobuf.MessageOptions\x18\x97\xf4\x03 \x01(\x08:=\n\x12unsafe_unmarshaler\x12\x1f.google.protobuf.MessageOptions\x18\x98\xf4\x03 \x01(\x08:A\n\x16goproto_extensions_map\x12\x1f.google.protobuf.MessageOptions\x18\x99\xf4\x03 \x01(\x08:?\n\x14goproto_unrecognized\x12\x1f.google.protobuf.MessageOptions\x18\x9a\xf4\x03 \x01(\x08:5\n\nprotosizer\x12\x1f.google.protobuf.MessageOptions\x18\x9c\xf4\x03 \x01(\x08:2\n\x07\x63ompare\x12\x1f.google.protobuf.MessageOptions\x18\x9d\xf4\x03 \x01(\x08:3\n\x08typedecl\x12\x1f.google.protobuf.MessageOptions\x18\x9e\xf4\x03 \x01(\x08:6\n\x0bmessagename\x12\x1f.google.protobuf.MessageOptions\x18\xa1\xf4\x03 \x01(\x08:<\n\x11goproto_sizecache\x12\x1f.google.protobuf.MessageOptions\x18\xa2\xf4\x03 \x01(\x08::\n\x0fgoproto_unkeyed\x12\x1f.google.protobuf.MessageOptions\x18\xa3\xf4\x03 \x01(\x08:1\n\x08nullable\x12\x1d.google.protobuf.FieldOptions\x18\xe9\xfb\x03 \x01(\x08:.\n\x05\x65mbed\x12\x1d.google.protobuf.FieldOptions\x18\xea\xfb\x03 \x01(\x08:3\n\ncustomtype\x12\x1d.google.protobuf.FieldOptions\x18\xeb\xfb\x03 \x01(\t:3\n\ncustomname\x12\x1d.google.protobuf.FieldOptions\x18\xec\xfb\x03 \x01(\t:0\n\x07jsontag\x12\x1d.google.protobuf.FieldOptions\x18\xed\xfb\x03 \x01(\t:1\n\x08moretags\x12\x1d.google.protobuf.FieldOptions\x18\xee\xfb\x03 \x01(\t:1\n\x08\x63\x61sttype\x12\x1d.google.protobuf.FieldOptions\x18\xef\xfb\x03 \x01(\t:0\n\x07\x63\x61stkey\x12\x1d.google.protobuf.FieldOptions\x18\xf0\xfb\x03 \x01(\t:2\n\tcastvalue\x12\x1d.google.protobuf.FieldOptions\x18\xf1\xfb\x03 \x01(\t:0\n\x07stdtime\x12\x1d.google.protobuf.FieldOptions\x18\xf2\xfb\x03 \x01(\x08:4\n\x0bstdduration\x12\x1d.google.protobuf.FieldOptions\x18\xf3\xfb\x03 \x01(\x08:3\n\nwktpointer\x12\x1d.google.protobuf.FieldOptions\x18\xf4\xfb\x03 \x01(\x08\x42\x45\n\x13\x63om.google.protobufB\nGoGoProtosZ"github.com/gogo/protobuf/gogoproto' ) - -GOPROTO_ENUM_PREFIX_FIELD_NUMBER = 62001 -goproto_enum_prefix = _descriptor.FieldDescriptor( - name="goproto_enum_prefix", - full_name="gogoproto.goproto_enum_prefix", - index=0, - number=62001, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) -GOPROTO_ENUM_STRINGER_FIELD_NUMBER = 62021 -goproto_enum_stringer = _descriptor.FieldDescriptor( - name="goproto_enum_stringer", - full_name="gogoproto.goproto_enum_stringer", - index=1, - number=62021, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) -ENUM_STRINGER_FIELD_NUMBER = 62022 -enum_stringer = _descriptor.FieldDescriptor( - name="enum_stringer", - full_name="gogoproto.enum_stringer", - index=2, - number=62022, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) -ENUM_CUSTOMNAME_FIELD_NUMBER = 62023 -enum_customname = _descriptor.FieldDescriptor( - name="enum_customname", - full_name="gogoproto.enum_customname", - index=3, - number=62023, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) -ENUMDECL_FIELD_NUMBER = 62024 -enumdecl = _descriptor.FieldDescriptor( - name="enumdecl", - full_name="gogoproto.enumdecl", - index=4, - number=62024, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) -ENUMVALUE_CUSTOMNAME_FIELD_NUMBER = 66001 -enumvalue_customname = _descriptor.FieldDescriptor( - name="enumvalue_customname", - full_name="gogoproto.enumvalue_customname", - index=5, - number=66001, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) -GOPROTO_GETTERS_ALL_FIELD_NUMBER = 63001 -goproto_getters_all = _descriptor.FieldDescriptor( - name="goproto_getters_all", - full_name="gogoproto.goproto_getters_all", - index=6, - number=63001, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) -GOPROTO_ENUM_PREFIX_ALL_FIELD_NUMBER = 63002 -goproto_enum_prefix_all = _descriptor.FieldDescriptor( - name="goproto_enum_prefix_all", - full_name="gogoproto.goproto_enum_prefix_all", - index=7, - number=63002, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) -GOPROTO_STRINGER_ALL_FIELD_NUMBER = 63003 -goproto_stringer_all = _descriptor.FieldDescriptor( - name="goproto_stringer_all", - full_name="gogoproto.goproto_stringer_all", - index=8, - number=63003, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) -VERBOSE_EQUAL_ALL_FIELD_NUMBER = 63004 -verbose_equal_all = _descriptor.FieldDescriptor( - name="verbose_equal_all", - full_name="gogoproto.verbose_equal_all", - index=9, - number=63004, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) -FACE_ALL_FIELD_NUMBER = 63005 -face_all = _descriptor.FieldDescriptor( - name="face_all", - full_name="gogoproto.face_all", - index=10, - number=63005, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) -GOSTRING_ALL_FIELD_NUMBER = 63006 -gostring_all = _descriptor.FieldDescriptor( - name="gostring_all", - full_name="gogoproto.gostring_all", - index=11, - number=63006, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) -POPULATE_ALL_FIELD_NUMBER = 63007 -populate_all = _descriptor.FieldDescriptor( - name="populate_all", - full_name="gogoproto.populate_all", - index=12, - number=63007, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) -STRINGER_ALL_FIELD_NUMBER = 63008 -stringer_all = _descriptor.FieldDescriptor( - name="stringer_all", - full_name="gogoproto.stringer_all", - index=13, - number=63008, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) -ONLYONE_ALL_FIELD_NUMBER = 63009 -onlyone_all = _descriptor.FieldDescriptor( - name="onlyone_all", - full_name="gogoproto.onlyone_all", - index=14, - number=63009, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) -EQUAL_ALL_FIELD_NUMBER = 63013 -equal_all = _descriptor.FieldDescriptor( - name="equal_all", - full_name="gogoproto.equal_all", - index=15, - number=63013, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) -DESCRIPTION_ALL_FIELD_NUMBER = 63014 -description_all = _descriptor.FieldDescriptor( - name="description_all", - full_name="gogoproto.description_all", - index=16, - number=63014, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) -TESTGEN_ALL_FIELD_NUMBER = 63015 -testgen_all = _descriptor.FieldDescriptor( - name="testgen_all", - full_name="gogoproto.testgen_all", - index=17, - number=63015, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) -BENCHGEN_ALL_FIELD_NUMBER = 63016 -benchgen_all = _descriptor.FieldDescriptor( - name="benchgen_all", - full_name="gogoproto.benchgen_all", - index=18, - number=63016, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) -MARSHALER_ALL_FIELD_NUMBER = 63017 -marshaler_all = _descriptor.FieldDescriptor( - name="marshaler_all", - full_name="gogoproto.marshaler_all", - index=19, - number=63017, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) -UNMARSHALER_ALL_FIELD_NUMBER = 63018 -unmarshaler_all = _descriptor.FieldDescriptor( - name="unmarshaler_all", - full_name="gogoproto.unmarshaler_all", - index=20, - number=63018, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) -STABLE_MARSHALER_ALL_FIELD_NUMBER = 63019 -stable_marshaler_all = _descriptor.FieldDescriptor( - name="stable_marshaler_all", - full_name="gogoproto.stable_marshaler_all", - index=21, - number=63019, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) -SIZER_ALL_FIELD_NUMBER = 63020 -sizer_all = _descriptor.FieldDescriptor( - name="sizer_all", - full_name="gogoproto.sizer_all", - index=22, - number=63020, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) -GOPROTO_ENUM_STRINGER_ALL_FIELD_NUMBER = 63021 -goproto_enum_stringer_all = _descriptor.FieldDescriptor( - name="goproto_enum_stringer_all", - full_name="gogoproto.goproto_enum_stringer_all", - index=23, - number=63021, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) -ENUM_STRINGER_ALL_FIELD_NUMBER = 63022 -enum_stringer_all = _descriptor.FieldDescriptor( - name="enum_stringer_all", - full_name="gogoproto.enum_stringer_all", - index=24, - number=63022, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) -UNSAFE_MARSHALER_ALL_FIELD_NUMBER = 63023 -unsafe_marshaler_all = _descriptor.FieldDescriptor( - name="unsafe_marshaler_all", - full_name="gogoproto.unsafe_marshaler_all", - index=25, - number=63023, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) -UNSAFE_UNMARSHALER_ALL_FIELD_NUMBER = 63024 -unsafe_unmarshaler_all = _descriptor.FieldDescriptor( - name="unsafe_unmarshaler_all", - full_name="gogoproto.unsafe_unmarshaler_all", - index=26, - number=63024, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) -GOPROTO_EXTENSIONS_MAP_ALL_FIELD_NUMBER = 63025 -goproto_extensions_map_all = _descriptor.FieldDescriptor( - name="goproto_extensions_map_all", - full_name="gogoproto.goproto_extensions_map_all", - index=27, - number=63025, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) -GOPROTO_UNRECOGNIZED_ALL_FIELD_NUMBER = 63026 -goproto_unrecognized_all = _descriptor.FieldDescriptor( - name="goproto_unrecognized_all", - full_name="gogoproto.goproto_unrecognized_all", - index=28, - number=63026, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) -GOGOPROTO_IMPORT_FIELD_NUMBER = 63027 -gogoproto_import = _descriptor.FieldDescriptor( - name="gogoproto_import", - full_name="gogoproto.gogoproto_import", - index=29, - number=63027, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) -PROTOSIZER_ALL_FIELD_NUMBER = 63028 -protosizer_all = _descriptor.FieldDescriptor( - name="protosizer_all", - full_name="gogoproto.protosizer_all", - index=30, - number=63028, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) -COMPARE_ALL_FIELD_NUMBER = 63029 -compare_all = _descriptor.FieldDescriptor( - name="compare_all", - full_name="gogoproto.compare_all", - index=31, - number=63029, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) -TYPEDECL_ALL_FIELD_NUMBER = 63030 -typedecl_all = _descriptor.FieldDescriptor( - name="typedecl_all", - full_name="gogoproto.typedecl_all", - index=32, - number=63030, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) -ENUMDECL_ALL_FIELD_NUMBER = 63031 -enumdecl_all = _descriptor.FieldDescriptor( - name="enumdecl_all", - full_name="gogoproto.enumdecl_all", - index=33, - number=63031, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) -GOPROTO_REGISTRATION_FIELD_NUMBER = 63032 -goproto_registration = _descriptor.FieldDescriptor( - name="goproto_registration", - full_name="gogoproto.goproto_registration", - index=34, - number=63032, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) -MESSAGENAME_ALL_FIELD_NUMBER = 63033 -messagename_all = _descriptor.FieldDescriptor( - name="messagename_all", - full_name="gogoproto.messagename_all", - index=35, - number=63033, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) -GOPROTO_SIZECACHE_ALL_FIELD_NUMBER = 63034 -goproto_sizecache_all = _descriptor.FieldDescriptor( - name="goproto_sizecache_all", - full_name="gogoproto.goproto_sizecache_all", - index=36, - number=63034, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) -GOPROTO_UNKEYED_ALL_FIELD_NUMBER = 63035 -goproto_unkeyed_all = _descriptor.FieldDescriptor( - name="goproto_unkeyed_all", - full_name="gogoproto.goproto_unkeyed_all", - index=37, - number=63035, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) -GOPROTO_GETTERS_FIELD_NUMBER = 64001 -goproto_getters = _descriptor.FieldDescriptor( - name="goproto_getters", - full_name="gogoproto.goproto_getters", - index=38, - number=64001, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) -GOPROTO_STRINGER_FIELD_NUMBER = 64003 -goproto_stringer = _descriptor.FieldDescriptor( - name="goproto_stringer", - full_name="gogoproto.goproto_stringer", - index=39, - number=64003, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) -VERBOSE_EQUAL_FIELD_NUMBER = 64004 -verbose_equal = _descriptor.FieldDescriptor( - name="verbose_equal", - full_name="gogoproto.verbose_equal", - index=40, - number=64004, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) -FACE_FIELD_NUMBER = 64005 -face = _descriptor.FieldDescriptor( - name="face", - full_name="gogoproto.face", - index=41, - number=64005, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) -GOSTRING_FIELD_NUMBER = 64006 -gostring = _descriptor.FieldDescriptor( - name="gostring", - full_name="gogoproto.gostring", - index=42, - number=64006, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) -POPULATE_FIELD_NUMBER = 64007 -populate = _descriptor.FieldDescriptor( - name="populate", - full_name="gogoproto.populate", - index=43, - number=64007, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) -STRINGER_FIELD_NUMBER = 67008 -stringer = _descriptor.FieldDescriptor( - name="stringer", - full_name="gogoproto.stringer", - index=44, - number=67008, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) -ONLYONE_FIELD_NUMBER = 64009 -onlyone = _descriptor.FieldDescriptor( - name="onlyone", - full_name="gogoproto.onlyone", - index=45, - number=64009, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) -EQUAL_FIELD_NUMBER = 64013 -equal = _descriptor.FieldDescriptor( - name="equal", - full_name="gogoproto.equal", - index=46, - number=64013, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) -DESCRIPTION_FIELD_NUMBER = 64014 -description = _descriptor.FieldDescriptor( - name="description", - full_name="gogoproto.description", - index=47, - number=64014, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) -TESTGEN_FIELD_NUMBER = 64015 -testgen = _descriptor.FieldDescriptor( - name="testgen", - full_name="gogoproto.testgen", - index=48, - number=64015, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) -BENCHGEN_FIELD_NUMBER = 64016 -benchgen = _descriptor.FieldDescriptor( - name="benchgen", - full_name="gogoproto.benchgen", - index=49, - number=64016, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) -MARSHALER_FIELD_NUMBER = 64017 -marshaler = _descriptor.FieldDescriptor( - name="marshaler", - full_name="gogoproto.marshaler", - index=50, - number=64017, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) -UNMARSHALER_FIELD_NUMBER = 64018 -unmarshaler = _descriptor.FieldDescriptor( - name="unmarshaler", - full_name="gogoproto.unmarshaler", - index=51, - number=64018, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) -STABLE_MARSHALER_FIELD_NUMBER = 64019 -stable_marshaler = _descriptor.FieldDescriptor( - name="stable_marshaler", - full_name="gogoproto.stable_marshaler", - index=52, - number=64019, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) -SIZER_FIELD_NUMBER = 64020 -sizer = _descriptor.FieldDescriptor( - name="sizer", - full_name="gogoproto.sizer", - index=53, - number=64020, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) -UNSAFE_MARSHALER_FIELD_NUMBER = 64023 -unsafe_marshaler = _descriptor.FieldDescriptor( - name="unsafe_marshaler", - full_name="gogoproto.unsafe_marshaler", - index=54, - number=64023, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) -UNSAFE_UNMARSHALER_FIELD_NUMBER = 64024 -unsafe_unmarshaler = _descriptor.FieldDescriptor( - name="unsafe_unmarshaler", - full_name="gogoproto.unsafe_unmarshaler", - index=55, - number=64024, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) -GOPROTO_EXTENSIONS_MAP_FIELD_NUMBER = 64025 -goproto_extensions_map = _descriptor.FieldDescriptor( - name="goproto_extensions_map", - full_name="gogoproto.goproto_extensions_map", - index=56, - number=64025, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) -GOPROTO_UNRECOGNIZED_FIELD_NUMBER = 64026 -goproto_unrecognized = _descriptor.FieldDescriptor( - name="goproto_unrecognized", - full_name="gogoproto.goproto_unrecognized", - index=57, - number=64026, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) -PROTOSIZER_FIELD_NUMBER = 64028 -protosizer = _descriptor.FieldDescriptor( - name="protosizer", - full_name="gogoproto.protosizer", - index=58, - number=64028, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) -COMPARE_FIELD_NUMBER = 64029 -compare = _descriptor.FieldDescriptor( - name="compare", - full_name="gogoproto.compare", - index=59, - number=64029, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) -TYPEDECL_FIELD_NUMBER = 64030 -typedecl = _descriptor.FieldDescriptor( - name="typedecl", - full_name="gogoproto.typedecl", - index=60, - number=64030, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) -MESSAGENAME_FIELD_NUMBER = 64033 -messagename = _descriptor.FieldDescriptor( - name="messagename", - full_name="gogoproto.messagename", - index=61, - number=64033, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) -GOPROTO_SIZECACHE_FIELD_NUMBER = 64034 -goproto_sizecache = _descriptor.FieldDescriptor( - name="goproto_sizecache", - full_name="gogoproto.goproto_sizecache", - index=62, - number=64034, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) -GOPROTO_UNKEYED_FIELD_NUMBER = 64035 -goproto_unkeyed = _descriptor.FieldDescriptor( - name="goproto_unkeyed", - full_name="gogoproto.goproto_unkeyed", - index=63, - number=64035, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) -NULLABLE_FIELD_NUMBER = 65001 -nullable = _descriptor.FieldDescriptor( - name="nullable", - full_name="gogoproto.nullable", - index=64, - number=65001, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) -EMBED_FIELD_NUMBER = 65002 -embed = _descriptor.FieldDescriptor( - name="embed", - full_name="gogoproto.embed", - index=65, - number=65002, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) -CUSTOMTYPE_FIELD_NUMBER = 65003 -customtype = _descriptor.FieldDescriptor( - name="customtype", - full_name="gogoproto.customtype", - index=66, - number=65003, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) -CUSTOMNAME_FIELD_NUMBER = 65004 -customname = _descriptor.FieldDescriptor( - name="customname", - full_name="gogoproto.customname", - index=67, - number=65004, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) -JSONTAG_FIELD_NUMBER = 65005 -jsontag = _descriptor.FieldDescriptor( - name="jsontag", - full_name="gogoproto.jsontag", - index=68, - number=65005, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) -MORETAGS_FIELD_NUMBER = 65006 -moretags = _descriptor.FieldDescriptor( - name="moretags", - full_name="gogoproto.moretags", - index=69, - number=65006, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) -CASTTYPE_FIELD_NUMBER = 65007 -casttype = _descriptor.FieldDescriptor( - name="casttype", - full_name="gogoproto.casttype", - index=70, - number=65007, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) -CASTKEY_FIELD_NUMBER = 65008 -castkey = _descriptor.FieldDescriptor( - name="castkey", - full_name="gogoproto.castkey", - index=71, - number=65008, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) -CASTVALUE_FIELD_NUMBER = 65009 -castvalue = _descriptor.FieldDescriptor( - name="castvalue", - full_name="gogoproto.castvalue", - index=72, - number=65009, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) -STDTIME_FIELD_NUMBER = 65010 -stdtime = _descriptor.FieldDescriptor( - name="stdtime", - full_name="gogoproto.stdtime", - index=73, - number=65010, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) -STDDURATION_FIELD_NUMBER = 65011 -stdduration = _descriptor.FieldDescriptor( - name="stdduration", - full_name="gogoproto.stdduration", - index=74, - number=65011, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) -WKTPOINTER_FIELD_NUMBER = 65012 -wktpointer = _descriptor.FieldDescriptor( - name="wktpointer", - full_name="gogoproto.wktpointer", - index=75, - number=65012, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) - -DESCRIPTOR.extensions_by_name["goproto_enum_prefix"] = goproto_enum_prefix -DESCRIPTOR.extensions_by_name["goproto_enum_stringer"] = goproto_enum_stringer -DESCRIPTOR.extensions_by_name["enum_stringer"] = enum_stringer -DESCRIPTOR.extensions_by_name["enum_customname"] = enum_customname -DESCRIPTOR.extensions_by_name["enumdecl"] = enumdecl -DESCRIPTOR.extensions_by_name["enumvalue_customname"] = enumvalue_customname -DESCRIPTOR.extensions_by_name["goproto_getters_all"] = goproto_getters_all -DESCRIPTOR.extensions_by_name["goproto_enum_prefix_all"] = goproto_enum_prefix_all -DESCRIPTOR.extensions_by_name["goproto_stringer_all"] = goproto_stringer_all -DESCRIPTOR.extensions_by_name["verbose_equal_all"] = verbose_equal_all -DESCRIPTOR.extensions_by_name["face_all"] = face_all -DESCRIPTOR.extensions_by_name["gostring_all"] = gostring_all -DESCRIPTOR.extensions_by_name["populate_all"] = populate_all -DESCRIPTOR.extensions_by_name["stringer_all"] = stringer_all -DESCRIPTOR.extensions_by_name["onlyone_all"] = onlyone_all -DESCRIPTOR.extensions_by_name["equal_all"] = equal_all -DESCRIPTOR.extensions_by_name["description_all"] = description_all -DESCRIPTOR.extensions_by_name["testgen_all"] = testgen_all -DESCRIPTOR.extensions_by_name["benchgen_all"] = benchgen_all -DESCRIPTOR.extensions_by_name["marshaler_all"] = marshaler_all -DESCRIPTOR.extensions_by_name["unmarshaler_all"] = unmarshaler_all -DESCRIPTOR.extensions_by_name["stable_marshaler_all"] = stable_marshaler_all -DESCRIPTOR.extensions_by_name["sizer_all"] = sizer_all -DESCRIPTOR.extensions_by_name["goproto_enum_stringer_all"] = goproto_enum_stringer_all -DESCRIPTOR.extensions_by_name["enum_stringer_all"] = enum_stringer_all -DESCRIPTOR.extensions_by_name["unsafe_marshaler_all"] = unsafe_marshaler_all -DESCRIPTOR.extensions_by_name["unsafe_unmarshaler_all"] = unsafe_unmarshaler_all -DESCRIPTOR.extensions_by_name["goproto_extensions_map_all"] = goproto_extensions_map_all -DESCRIPTOR.extensions_by_name["goproto_unrecognized_all"] = goproto_unrecognized_all -DESCRIPTOR.extensions_by_name["gogoproto_import"] = gogoproto_import -DESCRIPTOR.extensions_by_name["protosizer_all"] = protosizer_all -DESCRIPTOR.extensions_by_name["compare_all"] = compare_all -DESCRIPTOR.extensions_by_name["typedecl_all"] = typedecl_all -DESCRIPTOR.extensions_by_name["enumdecl_all"] = enumdecl_all -DESCRIPTOR.extensions_by_name["goproto_registration"] = goproto_registration -DESCRIPTOR.extensions_by_name["messagename_all"] = messagename_all -DESCRIPTOR.extensions_by_name["goproto_sizecache_all"] = goproto_sizecache_all -DESCRIPTOR.extensions_by_name["goproto_unkeyed_all"] = goproto_unkeyed_all -DESCRIPTOR.extensions_by_name["goproto_getters"] = goproto_getters -DESCRIPTOR.extensions_by_name["goproto_stringer"] = goproto_stringer -DESCRIPTOR.extensions_by_name["verbose_equal"] = verbose_equal -DESCRIPTOR.extensions_by_name["face"] = face -DESCRIPTOR.extensions_by_name["gostring"] = gostring -DESCRIPTOR.extensions_by_name["populate"] = populate -DESCRIPTOR.extensions_by_name["stringer"] = stringer -DESCRIPTOR.extensions_by_name["onlyone"] = onlyone -DESCRIPTOR.extensions_by_name["equal"] = equal -DESCRIPTOR.extensions_by_name["description"] = description -DESCRIPTOR.extensions_by_name["testgen"] = testgen -DESCRIPTOR.extensions_by_name["benchgen"] = benchgen -DESCRIPTOR.extensions_by_name["marshaler"] = marshaler -DESCRIPTOR.extensions_by_name["unmarshaler"] = unmarshaler -DESCRIPTOR.extensions_by_name["stable_marshaler"] = stable_marshaler -DESCRIPTOR.extensions_by_name["sizer"] = sizer -DESCRIPTOR.extensions_by_name["unsafe_marshaler"] = unsafe_marshaler -DESCRIPTOR.extensions_by_name["unsafe_unmarshaler"] = unsafe_unmarshaler -DESCRIPTOR.extensions_by_name["goproto_extensions_map"] = goproto_extensions_map -DESCRIPTOR.extensions_by_name["goproto_unrecognized"] = goproto_unrecognized -DESCRIPTOR.extensions_by_name["protosizer"] = protosizer -DESCRIPTOR.extensions_by_name["compare"] = compare -DESCRIPTOR.extensions_by_name["typedecl"] = typedecl -DESCRIPTOR.extensions_by_name["messagename"] = messagename -DESCRIPTOR.extensions_by_name["goproto_sizecache"] = goproto_sizecache -DESCRIPTOR.extensions_by_name["goproto_unkeyed"] = goproto_unkeyed -DESCRIPTOR.extensions_by_name["nullable"] = nullable -DESCRIPTOR.extensions_by_name["embed"] = embed -DESCRIPTOR.extensions_by_name["customtype"] = customtype -DESCRIPTOR.extensions_by_name["customname"] = customname -DESCRIPTOR.extensions_by_name["jsontag"] = jsontag -DESCRIPTOR.extensions_by_name["moretags"] = moretags -DESCRIPTOR.extensions_by_name["casttype"] = casttype -DESCRIPTOR.extensions_by_name["castkey"] = castkey -DESCRIPTOR.extensions_by_name["castvalue"] = castvalue -DESCRIPTOR.extensions_by_name["stdtime"] = stdtime -DESCRIPTOR.extensions_by_name["stdduration"] = stdduration -DESCRIPTOR.extensions_by_name["wktpointer"] = wktpointer -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -google_dot_protobuf_dot_descriptor__pb2.EnumOptions.RegisterExtension( - goproto_enum_prefix -) -google_dot_protobuf_dot_descriptor__pb2.EnumOptions.RegisterExtension( - goproto_enum_stringer -) -google_dot_protobuf_dot_descriptor__pb2.EnumOptions.RegisterExtension(enum_stringer) -google_dot_protobuf_dot_descriptor__pb2.EnumOptions.RegisterExtension(enum_customname) -google_dot_protobuf_dot_descriptor__pb2.EnumOptions.RegisterExtension(enumdecl) -google_dot_protobuf_dot_descriptor__pb2.EnumValueOptions.RegisterExtension( - enumvalue_customname -) -google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension( - goproto_getters_all -) -google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension( - goproto_enum_prefix_all -) -google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension( - goproto_stringer_all -) -google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(verbose_equal_all) -google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(face_all) -google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(gostring_all) -google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(populate_all) -google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(stringer_all) -google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(onlyone_all) -google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(equal_all) -google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(description_all) -google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(testgen_all) -google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(benchgen_all) -google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(marshaler_all) -google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(unmarshaler_all) -google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension( - stable_marshaler_all -) -google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(sizer_all) -google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension( - goproto_enum_stringer_all -) -google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(enum_stringer_all) -google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension( - unsafe_marshaler_all -) -google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension( - unsafe_unmarshaler_all -) -google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension( - goproto_extensions_map_all -) -google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension( - goproto_unrecognized_all -) -google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(gogoproto_import) -google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(protosizer_all) -google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(compare_all) -google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(typedecl_all) -google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(enumdecl_all) -google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension( - goproto_registration -) -google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(messagename_all) -google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension( - goproto_sizecache_all -) -google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension( - goproto_unkeyed_all -) -google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension( - goproto_getters -) -google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension( - goproto_stringer -) -google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(verbose_equal) -google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(face) -google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(gostring) -google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(populate) -google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(stringer) -google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(onlyone) -google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(equal) -google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(description) -google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(testgen) -google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(benchgen) -google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(marshaler) -google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(unmarshaler) -google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension( - stable_marshaler -) -google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(sizer) -google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension( - unsafe_marshaler -) -google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension( - unsafe_unmarshaler -) -google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension( - goproto_extensions_map -) -google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension( - goproto_unrecognized -) -google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(protosizer) -google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(compare) -google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(typedecl) -google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(messagename) -google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension( - goproto_sizecache -) -google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension( - goproto_unkeyed -) -google_dot_protobuf_dot_descriptor__pb2.FieldOptions.RegisterExtension(nullable) -google_dot_protobuf_dot_descriptor__pb2.FieldOptions.RegisterExtension(embed) -google_dot_protobuf_dot_descriptor__pb2.FieldOptions.RegisterExtension(customtype) -google_dot_protobuf_dot_descriptor__pb2.FieldOptions.RegisterExtension(customname) -google_dot_protobuf_dot_descriptor__pb2.FieldOptions.RegisterExtension(jsontag) -google_dot_protobuf_dot_descriptor__pb2.FieldOptions.RegisterExtension(moretags) -google_dot_protobuf_dot_descriptor__pb2.FieldOptions.RegisterExtension(casttype) -google_dot_protobuf_dot_descriptor__pb2.FieldOptions.RegisterExtension(castkey) -google_dot_protobuf_dot_descriptor__pb2.FieldOptions.RegisterExtension(castvalue) -google_dot_protobuf_dot_descriptor__pb2.FieldOptions.RegisterExtension(stdtime) -google_dot_protobuf_dot_descriptor__pb2.FieldOptions.RegisterExtension(stdduration) -google_dot_protobuf_dot_descriptor__pb2.FieldOptions.RegisterExtension(wktpointer) - -DESCRIPTOR._options = None +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "gogoproto.gogo_pb2", _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = ( + b'\n\023com.google.protobufB\nGoGoProtosZ"github.com/gogo/protobuf/gogoproto' + ) # @@protoc_insertion_point(module_scope) diff --git a/packages/valory/connections/abci/tendermint/abci/types_pb2.py b/packages/valory/connections/abci/tendermint/abci/types_pb2.py index c9df52328f..6f94ff4baf 100644 --- a/packages/valory/connections/abci/tendermint/abci/types_pb2.py +++ b/packages/valory/connections/abci/tendermint/abci/types_pb2.py @@ -3,10 +3,9 @@ # source: tendermint/abci/types.proto """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import enum_type_wrapper +from google.protobuf.internal import builder as _builder # @@protoc_insertion_point(imports) @@ -33,4926 +32,180 @@ ) -DESCRIPTOR = _descriptor.FileDescriptor( - name="tendermint/abci/types.proto", - package="tendermint.abci", - syntax="proto3", - serialized_options=b"Z+github.com/tendermint/tendermint/abci/types", - create_key=_descriptor._internal_create_key, - serialized_pb=b'\n\x1btendermint/abci/types.proto\x12\x0ftendermint.abci\x1a\x1dtendermint/crypto/proof.proto\x1a\x1ctendermint/types/types.proto\x1a\x1ctendermint/crypto/keys.proto\x1a\x1dtendermint/types/params.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x14gogoproto/gogo.proto"\xea\x06\n\x07Request\x12,\n\x04\x65\x63ho\x18\x01 \x01(\x0b\x32\x1c.tendermint.abci.RequestEchoH\x00\x12.\n\x05\x66lush\x18\x02 \x01(\x0b\x32\x1d.tendermint.abci.RequestFlushH\x00\x12,\n\x04info\x18\x03 \x01(\x0b\x32\x1c.tendermint.abci.RequestInfoH\x00\x12\x37\n\nset_option\x18\x04 \x01(\x0b\x32!.tendermint.abci.RequestSetOptionH\x00\x12\x37\n\ninit_chain\x18\x05 \x01(\x0b\x32!.tendermint.abci.RequestInitChainH\x00\x12.\n\x05query\x18\x06 \x01(\x0b\x32\x1d.tendermint.abci.RequestQueryH\x00\x12\x39\n\x0b\x62\x65gin_block\x18\x07 \x01(\x0b\x32".tendermint.abci.RequestBeginBlockH\x00\x12\x33\n\x08\x63heck_tx\x18\x08 \x01(\x0b\x32\x1f.tendermint.abci.RequestCheckTxH\x00\x12\x37\n\ndeliver_tx\x18\t \x01(\x0b\x32!.tendermint.abci.RequestDeliverTxH\x00\x12\x35\n\tend_block\x18\n \x01(\x0b\x32 .tendermint.abci.RequestEndBlockH\x00\x12\x30\n\x06\x63ommit\x18\x0b \x01(\x0b\x32\x1e.tendermint.abci.RequestCommitH\x00\x12?\n\x0elist_snapshots\x18\x0c \x01(\x0b\x32%.tendermint.abci.RequestListSnapshotsH\x00\x12?\n\x0eoffer_snapshot\x18\r \x01(\x0b\x32%.tendermint.abci.RequestOfferSnapshotH\x00\x12H\n\x13load_snapshot_chunk\x18\x0e \x01(\x0b\x32).tendermint.abci.RequestLoadSnapshotChunkH\x00\x12J\n\x14\x61pply_snapshot_chunk\x18\x0f \x01(\x0b\x32*.tendermint.abci.RequestApplySnapshotChunkH\x00\x42\x07\n\x05value"\x1e\n\x0bRequestEcho\x12\x0f\n\x07message\x18\x01 \x01(\t"\x0e\n\x0cRequestFlush"J\n\x0bRequestInfo\x12\x0f\n\x07version\x18\x01 \x01(\t\x12\x15\n\rblock_version\x18\x02 \x01(\x04\x12\x13\n\x0bp2p_version\x18\x03 \x01(\x04".\n\x10RequestSetOption\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t"\x81\x02\n\x10RequestInitChain\x12\x32\n\x04time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x10\n\x08\x63hain_id\x18\x02 \x01(\t\x12:\n\x10\x63onsensus_params\x18\x03 \x01(\x0b\x32 .tendermint.abci.ConsensusParams\x12:\n\nvalidators\x18\x04 \x03(\x0b\x32 .tendermint.abci.ValidatorUpdateB\x04\xc8\xde\x1f\x00\x12\x17\n\x0f\x61pp_state_bytes\x18\x05 \x01(\x0c\x12\x16\n\x0einitial_height\x18\x06 \x01(\x03"I\n\x0cRequestQuery\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x0e\n\x06height\x18\x03 \x01(\x03\x12\r\n\x05prove\x18\x04 \x01(\x08"\xd1\x01\n\x11RequestBeginBlock\x12\x0c\n\x04hash\x18\x01 \x01(\x0c\x12.\n\x06header\x18\x02 \x01(\x0b\x32\x18.tendermint.types.HeaderB\x04\xc8\xde\x1f\x00\x12?\n\x10last_commit_info\x18\x03 \x01(\x0b\x32\x1f.tendermint.abci.LastCommitInfoB\x04\xc8\xde\x1f\x00\x12=\n\x14\x62yzantine_validators\x18\x04 \x03(\x0b\x32\x19.tendermint.abci.EvidenceB\x04\xc8\xde\x1f\x00"H\n\x0eRequestCheckTx\x12\n\n\x02tx\x18\x01 \x01(\x0c\x12*\n\x04type\x18\x02 \x01(\x0e\x32\x1c.tendermint.abci.CheckTxType"\x1e\n\x10RequestDeliverTx\x12\n\n\x02tx\x18\x01 \x01(\x0c"!\n\x0fRequestEndBlock\x12\x0e\n\x06height\x18\x01 \x01(\x03"\x0f\n\rRequestCommit"\x16\n\x14RequestListSnapshots"U\n\x14RequestOfferSnapshot\x12+\n\x08snapshot\x18\x01 \x01(\x0b\x32\x19.tendermint.abci.Snapshot\x12\x10\n\x08\x61pp_hash\x18\x02 \x01(\x0c"I\n\x18RequestLoadSnapshotChunk\x12\x0e\n\x06height\x18\x01 \x01(\x04\x12\x0e\n\x06\x66ormat\x18\x02 \x01(\r\x12\r\n\x05\x63hunk\x18\x03 \x01(\r"I\n\x19RequestApplySnapshotChunk\x12\r\n\x05index\x18\x01 \x01(\r\x12\r\n\x05\x63hunk\x18\x02 \x01(\x0c\x12\x0e\n\x06sender\x18\x03 \x01(\t"\xb3\x07\n\x08Response\x12\x37\n\texception\x18\x01 \x01(\x0b\x32".tendermint.abci.ResponseExceptionH\x00\x12-\n\x04\x65\x63ho\x18\x02 \x01(\x0b\x32\x1d.tendermint.abci.ResponseEchoH\x00\x12/\n\x05\x66lush\x18\x03 \x01(\x0b\x32\x1e.tendermint.abci.ResponseFlushH\x00\x12-\n\x04info\x18\x04 \x01(\x0b\x32\x1d.tendermint.abci.ResponseInfoH\x00\x12\x38\n\nset_option\x18\x05 \x01(\x0b\x32".tendermint.abci.ResponseSetOptionH\x00\x12\x38\n\ninit_chain\x18\x06 \x01(\x0b\x32".tendermint.abci.ResponseInitChainH\x00\x12/\n\x05query\x18\x07 \x01(\x0b\x32\x1e.tendermint.abci.ResponseQueryH\x00\x12:\n\x0b\x62\x65gin_block\x18\x08 \x01(\x0b\x32#.tendermint.abci.ResponseBeginBlockH\x00\x12\x34\n\x08\x63heck_tx\x18\t \x01(\x0b\x32 .tendermint.abci.ResponseCheckTxH\x00\x12\x38\n\ndeliver_tx\x18\n \x01(\x0b\x32".tendermint.abci.ResponseDeliverTxH\x00\x12\x36\n\tend_block\x18\x0b \x01(\x0b\x32!.tendermint.abci.ResponseEndBlockH\x00\x12\x31\n\x06\x63ommit\x18\x0c \x01(\x0b\x32\x1f.tendermint.abci.ResponseCommitH\x00\x12@\n\x0elist_snapshots\x18\r \x01(\x0b\x32&.tendermint.abci.ResponseListSnapshotsH\x00\x12@\n\x0eoffer_snapshot\x18\x0e \x01(\x0b\x32&.tendermint.abci.ResponseOfferSnapshotH\x00\x12I\n\x13load_snapshot_chunk\x18\x0f \x01(\x0b\x32*.tendermint.abci.ResponseLoadSnapshotChunkH\x00\x12K\n\x14\x61pply_snapshot_chunk\x18\x10 \x01(\x0b\x32+.tendermint.abci.ResponseApplySnapshotChunkH\x00\x42\x07\n\x05value""\n\x11ResponseException\x12\r\n\x05\x65rror\x18\x01 \x01(\t"\x1f\n\x0cResponseEcho\x12\x0f\n\x07message\x18\x01 \x01(\t"\x0f\n\rResponseFlush"z\n\x0cResponseInfo\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t\x12\x13\n\x0b\x61pp_version\x18\x03 \x01(\x04\x12\x19\n\x11last_block_height\x18\x04 \x01(\x03\x12\x1b\n\x13last_block_app_hash\x18\x05 \x01(\x0c"<\n\x11ResponseSetOption\x12\x0c\n\x04\x63ode\x18\x01 \x01(\r\x12\x0b\n\x03log\x18\x03 \x01(\t\x12\x0c\n\x04info\x18\x04 \x01(\t"\x9d\x01\n\x11ResponseInitChain\x12:\n\x10\x63onsensus_params\x18\x01 \x01(\x0b\x32 .tendermint.abci.ConsensusParams\x12:\n\nvalidators\x18\x02 \x03(\x0b\x32 .tendermint.abci.ValidatorUpdateB\x04\xc8\xde\x1f\x00\x12\x10\n\x08\x61pp_hash\x18\x03 \x01(\x0c"\xb6\x01\n\rResponseQuery\x12\x0c\n\x04\x63ode\x18\x01 \x01(\r\x12\x0b\n\x03log\x18\x03 \x01(\t\x12\x0c\n\x04info\x18\x04 \x01(\t\x12\r\n\x05index\x18\x05 \x01(\x03\x12\x0b\n\x03key\x18\x06 \x01(\x0c\x12\r\n\x05value\x18\x07 \x01(\x0c\x12.\n\tproof_ops\x18\x08 \x01(\x0b\x32\x1b.tendermint.crypto.ProofOps\x12\x0e\n\x06height\x18\t \x01(\x03\x12\x11\n\tcodespace\x18\n \x01(\t"V\n\x12ResponseBeginBlock\x12@\n\x06\x65vents\x18\x01 \x03(\x0b\x32\x16.tendermint.abci.EventB\x18\xc8\xde\x1f\x00\xea\xde\x1f\x10\x65vents,omitempty"\xd9\x01\n\x0fResponseCheckTx\x12\x0c\n\x04\x63ode\x18\x01 \x01(\r\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x12\x0b\n\x03log\x18\x03 \x01(\t\x12\x0c\n\x04info\x18\x04 \x01(\t\x12\x1e\n\ngas_wanted\x18\x05 \x01(\x03R\ngas_wanted\x12\x1a\n\x08gas_used\x18\x06 \x01(\x03R\x08gas_used\x12@\n\x06\x65vents\x18\x07 \x03(\x0b\x32\x16.tendermint.abci.EventB\x18\xc8\xde\x1f\x00\xea\xde\x1f\x10\x65vents,omitempty\x12\x11\n\tcodespace\x18\x08 \x01(\t"\xdb\x01\n\x11ResponseDeliverTx\x12\x0c\n\x04\x63ode\x18\x01 \x01(\r\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x12\x0b\n\x03log\x18\x03 \x01(\t\x12\x0c\n\x04info\x18\x04 \x01(\t\x12\x1e\n\ngas_wanted\x18\x05 \x01(\x03R\ngas_wanted\x12\x1a\n\x08gas_used\x18\x06 \x01(\x03R\x08gas_used\x12@\n\x06\x65vents\x18\x07 \x03(\x0b\x32\x16.tendermint.abci.EventB\x18\xc8\xde\x1f\x00\xea\xde\x1f\x10\x65vents,omitempty\x12\x11\n\tcodespace\x18\x08 \x01(\t"\xda\x01\n\x10ResponseEndBlock\x12\x41\n\x11validator_updates\x18\x01 \x03(\x0b\x32 .tendermint.abci.ValidatorUpdateB\x04\xc8\xde\x1f\x00\x12\x41\n\x17\x63onsensus_param_updates\x18\x02 \x01(\x0b\x32 .tendermint.abci.ConsensusParams\x12@\n\x06\x65vents\x18\x03 \x03(\x0b\x32\x16.tendermint.abci.EventB\x18\xc8\xde\x1f\x00\xea\xde\x1f\x10\x65vents,omitempty"5\n\x0eResponseCommit\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x12\x15\n\rretain_height\x18\x03 \x01(\x03"E\n\x15ResponseListSnapshots\x12,\n\tsnapshots\x18\x01 \x03(\x0b\x32\x19.tendermint.abci.Snapshot"\xb6\x01\n\x15ResponseOfferSnapshot\x12=\n\x06result\x18\x01 \x01(\x0e\x32-.tendermint.abci.ResponseOfferSnapshot.Result"^\n\x06Result\x12\x0b\n\x07UNKNOWN\x10\x00\x12\n\n\x06\x41\x43\x43\x45PT\x10\x01\x12\t\n\x05\x41\x42ORT\x10\x02\x12\n\n\x06REJECT\x10\x03\x12\x11\n\rREJECT_FORMAT\x10\x04\x12\x11\n\rREJECT_SENDER\x10\x05"*\n\x19ResponseLoadSnapshotChunk\x12\r\n\x05\x63hunk\x18\x01 \x01(\x0c"\xf2\x01\n\x1aResponseApplySnapshotChunk\x12\x42\n\x06result\x18\x01 \x01(\x0e\x32\x32.tendermint.abci.ResponseApplySnapshotChunk.Result\x12\x16\n\x0erefetch_chunks\x18\x02 \x03(\r\x12\x16\n\x0ereject_senders\x18\x03 \x03(\t"`\n\x06Result\x12\x0b\n\x07UNKNOWN\x10\x00\x12\n\n\x06\x41\x43\x43\x45PT\x10\x01\x12\t\n\x05\x41\x42ORT\x10\x02\x12\t\n\x05RETRY\x10\x03\x12\x12\n\x0eRETRY_SNAPSHOT\x10\x04\x12\x13\n\x0fREJECT_SNAPSHOT\x10\x05"\xda\x01\n\x0f\x43onsensusParams\x12+\n\x05\x62lock\x18\x01 \x01(\x0b\x32\x1c.tendermint.abci.BlockParams\x12\x32\n\x08\x65vidence\x18\x02 \x01(\x0b\x32 .tendermint.types.EvidenceParams\x12\x34\n\tvalidator\x18\x03 \x01(\x0b\x32!.tendermint.types.ValidatorParams\x12\x30\n\x07version\x18\x04 \x01(\x0b\x32\x1f.tendermint.types.VersionParams"1\n\x0b\x42lockParams\x12\x11\n\tmax_bytes\x18\x01 \x01(\x03\x12\x0f\n\x07max_gas\x18\x02 \x01(\x03"O\n\x0eLastCommitInfo\x12\r\n\x05round\x18\x01 \x01(\x05\x12.\n\x05votes\x18\x02 \x03(\x0b\x32\x19.tendermint.abci.VoteInfoB\x04\xc8\xde\x1f\x00"h\n\x05\x45vent\x12\x0c\n\x04type\x18\x01 \x01(\t\x12Q\n\nattributes\x18\x02 \x03(\x0b\x32\x1f.tendermint.abci.EventAttributeB\x1c\xc8\xde\x1f\x00\xea\xde\x1f\x14\x61ttributes,omitempty";\n\x0e\x45ventAttribute\x12\x0b\n\x03key\x18\x01 \x01(\x0c\x12\r\n\x05value\x18\x02 \x01(\x0c\x12\r\n\x05index\x18\x03 \x01(\x08"o\n\x08TxResult\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\r\n\x05index\x18\x02 \x01(\r\x12\n\n\x02tx\x18\x03 \x01(\x0c\x12\x38\n\x06result\x18\x04 \x01(\x0b\x32".tendermint.abci.ResponseDeliverTxB\x04\xc8\xde\x1f\x00"+\n\tValidator\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\x0c\x12\r\n\x05power\x18\x03 \x01(\x03"U\n\x0fValidatorUpdate\x12\x33\n\x07pub_key\x18\x01 \x01(\x0b\x32\x1c.tendermint.crypto.PublicKeyB\x04\xc8\xde\x1f\x00\x12\r\n\x05power\x18\x02 \x01(\x03"Z\n\x08VoteInfo\x12\x33\n\tvalidator\x18\x01 \x01(\x0b\x32\x1a.tendermint.abci.ValidatorB\x04\xc8\xde\x1f\x00\x12\x19\n\x11signed_last_block\x18\x02 \x01(\x08"\xcc\x01\n\x08\x45vidence\x12+\n\x04type\x18\x01 \x01(\x0e\x32\x1d.tendermint.abci.EvidenceType\x12\x33\n\tvalidator\x18\x02 \x01(\x0b\x32\x1a.tendermint.abci.ValidatorB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06height\x18\x03 \x01(\x03\x12\x32\n\x04time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x1a\n\x12total_voting_power\x18\x05 \x01(\x03"Z\n\x08Snapshot\x12\x0e\n\x06height\x18\x01 \x01(\x04\x12\x0e\n\x06\x66ormat\x18\x02 \x01(\r\x12\x0e\n\x06\x63hunks\x18\x03 \x01(\r\x12\x0c\n\x04hash\x18\x04 \x01(\x0c\x12\x10\n\x08metadata\x18\x05 \x01(\x0c*9\n\x0b\x43heckTxType\x12\x10\n\x03NEW\x10\x00\x1a\x07\x8a\x9d \x03New\x12\x18\n\x07RECHECK\x10\x01\x1a\x0b\x8a\x9d \x07Recheck*H\n\x0c\x45videnceType\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x12\n\x0e\x44UPLICATE_VOTE\x10\x01\x12\x17\n\x13LIGHT_CLIENT_ATTACK\x10\x02\x32\x83\n\n\x0f\x41\x42\x43IApplication\x12\x43\n\x04\x45\x63ho\x12\x1c.tendermint.abci.RequestEcho\x1a\x1d.tendermint.abci.ResponseEcho\x12\x46\n\x05\x46lush\x12\x1d.tendermint.abci.RequestFlush\x1a\x1e.tendermint.abci.ResponseFlush\x12\x43\n\x04Info\x12\x1c.tendermint.abci.RequestInfo\x1a\x1d.tendermint.abci.ResponseInfo\x12R\n\tSetOption\x12!.tendermint.abci.RequestSetOption\x1a".tendermint.abci.ResponseSetOption\x12R\n\tDeliverTx\x12!.tendermint.abci.RequestDeliverTx\x1a".tendermint.abci.ResponseDeliverTx\x12L\n\x07\x43heckTx\x12\x1f.tendermint.abci.RequestCheckTx\x1a .tendermint.abci.ResponseCheckTx\x12\x46\n\x05Query\x12\x1d.tendermint.abci.RequestQuery\x1a\x1e.tendermint.abci.ResponseQuery\x12I\n\x06\x43ommit\x12\x1e.tendermint.abci.RequestCommit\x1a\x1f.tendermint.abci.ResponseCommit\x12R\n\tInitChain\x12!.tendermint.abci.RequestInitChain\x1a".tendermint.abci.ResponseInitChain\x12U\n\nBeginBlock\x12".tendermint.abci.RequestBeginBlock\x1a#.tendermint.abci.ResponseBeginBlock\x12O\n\x08\x45ndBlock\x12 .tendermint.abci.RequestEndBlock\x1a!.tendermint.abci.ResponseEndBlock\x12^\n\rListSnapshots\x12%.tendermint.abci.RequestListSnapshots\x1a&.tendermint.abci.ResponseListSnapshots\x12^\n\rOfferSnapshot\x12%.tendermint.abci.RequestOfferSnapshot\x1a&.tendermint.abci.ResponseOfferSnapshot\x12j\n\x11LoadSnapshotChunk\x12).tendermint.abci.RequestLoadSnapshotChunk\x1a*.tendermint.abci.ResponseLoadSnapshotChunk\x12m\n\x12\x41pplySnapshotChunk\x12*.tendermint.abci.RequestApplySnapshotChunk\x1a+.tendermint.abci.ResponseApplySnapshotChunkB-Z+github.com/tendermint/tendermint/abci/typesb\x06proto3', - dependencies=[ - tendermint_dot_crypto_dot_proof__pb2.DESCRIPTOR, - tendermint_dot_types_dot_types__pb2.DESCRIPTOR, - tendermint_dot_crypto_dot_keys__pb2.DESCRIPTOR, - tendermint_dot_types_dot_params__pb2.DESCRIPTOR, - google_dot_protobuf_dot_timestamp__pb2.DESCRIPTOR, - gogoproto_dot_gogo__pb2.DESCRIPTOR, - ], -) - -_CHECKTXTYPE = _descriptor.EnumDescriptor( - name="CheckTxType", - full_name="tendermint.abci.CheckTxType", - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name="NEW", - index=0, - number=0, - serialized_options=b"\212\235 \003New", - type=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.EnumValueDescriptor( - name="RECHECK", - index=1, - number=1, - serialized_options=b"\212\235 \007Recheck", - type=None, - create_key=_descriptor._internal_create_key, - ), - ], - containing_type=None, - serialized_options=None, - serialized_start=6314, - serialized_end=6371, -) -_sym_db.RegisterEnumDescriptor(_CHECKTXTYPE) - -CheckTxType = enum_type_wrapper.EnumTypeWrapper(_CHECKTXTYPE) -_EVIDENCETYPE = _descriptor.EnumDescriptor( - name="EvidenceType", - full_name="tendermint.abci.EvidenceType", - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name="UNKNOWN", - index=0, - number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.EnumValueDescriptor( - name="DUPLICATE_VOTE", - index=1, - number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.EnumValueDescriptor( - name="LIGHT_CLIENT_ATTACK", - index=2, - number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key, - ), - ], - containing_type=None, - serialized_options=None, - serialized_start=6373, - serialized_end=6445, -) -_sym_db.RegisterEnumDescriptor(_EVIDENCETYPE) - -EvidenceType = enum_type_wrapper.EnumTypeWrapper(_EVIDENCETYPE) -NEW = 0 -RECHECK = 1 -UNKNOWN = 0 -DUPLICATE_VOTE = 1 -LIGHT_CLIENT_ATTACK = 2 - - -_RESPONSEOFFERSNAPSHOT_RESULT = _descriptor.EnumDescriptor( - name="Result", - full_name="tendermint.abci.ResponseOfferSnapshot.Result", - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name="UNKNOWN", - index=0, - number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.EnumValueDescriptor( - name="ACCEPT", - index=1, - number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.EnumValueDescriptor( - name="ABORT", - index=2, - number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.EnumValueDescriptor( - name="REJECT", - index=3, - number=3, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.EnumValueDescriptor( - name="REJECT_FORMAT", - index=4, - number=4, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.EnumValueDescriptor( - name="REJECT_SENDER", - index=5, - number=5, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key, - ), - ], - containing_type=None, - serialized_options=None, - serialized_start=4773, - serialized_end=4867, -) -_sym_db.RegisterEnumDescriptor(_RESPONSEOFFERSNAPSHOT_RESULT) - -_RESPONSEAPPLYSNAPSHOTCHUNK_RESULT = _descriptor.EnumDescriptor( - name="Result", - full_name="tendermint.abci.ResponseApplySnapshotChunk.Result", - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name="UNKNOWN", - index=0, - number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.EnumValueDescriptor( - name="ACCEPT", - index=1, - number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.EnumValueDescriptor( - name="ABORT", - index=2, - number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.EnumValueDescriptor( - name="RETRY", - index=3, - number=3, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.EnumValueDescriptor( - name="RETRY_SNAPSHOT", - index=4, - number=4, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.EnumValueDescriptor( - name="REJECT_SNAPSHOT", - index=5, - number=5, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key, - ), - ], - containing_type=None, - serialized_options=None, - serialized_start=5060, - serialized_end=5156, -) -_sym_db.RegisterEnumDescriptor(_RESPONSEAPPLYSNAPSHOTCHUNK_RESULT) - - -_REQUEST = _descriptor.Descriptor( - name="Request", - full_name="tendermint.abci.Request", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="echo", - full_name="tendermint.abci.Request.echo", - index=0, - number=1, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="flush", - full_name="tendermint.abci.Request.flush", - index=1, - number=2, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="info", - full_name="tendermint.abci.Request.info", - index=2, - number=3, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="set_option", - full_name="tendermint.abci.Request.set_option", - index=3, - number=4, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="init_chain", - full_name="tendermint.abci.Request.init_chain", - index=4, - number=5, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="query", - full_name="tendermint.abci.Request.query", - index=5, - number=6, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="begin_block", - full_name="tendermint.abci.Request.begin_block", - index=6, - number=7, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="check_tx", - full_name="tendermint.abci.Request.check_tx", - index=7, - number=8, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="deliver_tx", - full_name="tendermint.abci.Request.deliver_tx", - index=8, - number=9, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="end_block", - full_name="tendermint.abci.Request.end_block", - index=9, - number=10, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="commit", - full_name="tendermint.abci.Request.commit", - index=10, - number=11, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="list_snapshots", - full_name="tendermint.abci.Request.list_snapshots", - index=11, - number=12, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="offer_snapshot", - full_name="tendermint.abci.Request.offer_snapshot", - index=12, - number=13, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="load_snapshot_chunk", - full_name="tendermint.abci.Request.load_snapshot_chunk", - index=13, - number=14, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="apply_snapshot_chunk", - full_name="tendermint.abci.Request.apply_snapshot_chunk", - index=14, - number=15, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name="value", - full_name="tendermint.abci.Request.value", - index=0, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - ], - serialized_start=226, - serialized_end=1100, -) - - -_REQUESTECHO = _descriptor.Descriptor( - name="RequestEcho", - full_name="tendermint.abci.RequestEcho", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="message", - full_name="tendermint.abci.RequestEcho.message", - index=0, - number=1, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=1102, - serialized_end=1132, -) - - -_REQUESTFLUSH = _descriptor.Descriptor( - name="RequestFlush", - full_name="tendermint.abci.RequestFlush", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=1134, - serialized_end=1148, -) - - -_REQUESTINFO = _descriptor.Descriptor( - name="RequestInfo", - full_name="tendermint.abci.RequestInfo", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="version", - full_name="tendermint.abci.RequestInfo.version", - index=0, - number=1, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="block_version", - full_name="tendermint.abci.RequestInfo.block_version", - index=1, - number=2, - type=4, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="p2p_version", - full_name="tendermint.abci.RequestInfo.p2p_version", - index=2, - number=3, - type=4, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=1150, - serialized_end=1224, -) - - -_REQUESTSETOPTION = _descriptor.Descriptor( - name="RequestSetOption", - full_name="tendermint.abci.RequestSetOption", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="key", - full_name="tendermint.abci.RequestSetOption.key", - index=0, - number=1, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="value", - full_name="tendermint.abci.RequestSetOption.value", - index=1, - number=2, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=1226, - serialized_end=1272, -) - - -_REQUESTINITCHAIN = _descriptor.Descriptor( - name="RequestInitChain", - full_name="tendermint.abci.RequestInitChain", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="time", - full_name="tendermint.abci.RequestInitChain.time", - index=0, - number=1, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\310\336\037\000\220\337\037\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="chain_id", - full_name="tendermint.abci.RequestInitChain.chain_id", - index=1, - number=2, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="consensus_params", - full_name="tendermint.abci.RequestInitChain.consensus_params", - index=2, - number=3, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="validators", - full_name="tendermint.abci.RequestInitChain.validators", - index=3, - number=4, - type=11, - cpp_type=10, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\310\336\037\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="app_state_bytes", - full_name="tendermint.abci.RequestInitChain.app_state_bytes", - index=4, - number=5, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="initial_height", - full_name="tendermint.abci.RequestInitChain.initial_height", - index=5, - number=6, - type=3, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=1275, - serialized_end=1532, -) - - -_REQUESTQUERY = _descriptor.Descriptor( - name="RequestQuery", - full_name="tendermint.abci.RequestQuery", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="data", - full_name="tendermint.abci.RequestQuery.data", - index=0, - number=1, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="path", - full_name="tendermint.abci.RequestQuery.path", - index=1, - number=2, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="height", - full_name="tendermint.abci.RequestQuery.height", - index=2, - number=3, - type=3, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="prove", - full_name="tendermint.abci.RequestQuery.prove", - index=3, - number=4, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=1534, - serialized_end=1607, -) - - -_REQUESTBEGINBLOCK = _descriptor.Descriptor( - name="RequestBeginBlock", - full_name="tendermint.abci.RequestBeginBlock", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="hash", - full_name="tendermint.abci.RequestBeginBlock.hash", - index=0, - number=1, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="header", - full_name="tendermint.abci.RequestBeginBlock.header", - index=1, - number=2, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\310\336\037\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="last_commit_info", - full_name="tendermint.abci.RequestBeginBlock.last_commit_info", - index=2, - number=3, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\310\336\037\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="byzantine_validators", - full_name="tendermint.abci.RequestBeginBlock.byzantine_validators", - index=3, - number=4, - type=11, - cpp_type=10, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\310\336\037\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=1610, - serialized_end=1819, -) - - -_REQUESTCHECKTX = _descriptor.Descriptor( - name="RequestCheckTx", - full_name="tendermint.abci.RequestCheckTx", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="tx", - full_name="tendermint.abci.RequestCheckTx.tx", - index=0, - number=1, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="type", - full_name="tendermint.abci.RequestCheckTx.type", - index=1, - number=2, - type=14, - cpp_type=8, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=1821, - serialized_end=1893, -) - - -_REQUESTDELIVERTX = _descriptor.Descriptor( - name="RequestDeliverTx", - full_name="tendermint.abci.RequestDeliverTx", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="tx", - full_name="tendermint.abci.RequestDeliverTx.tx", - index=0, - number=1, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=1895, - serialized_end=1925, -) - - -_REQUESTENDBLOCK = _descriptor.Descriptor( - name="RequestEndBlock", - full_name="tendermint.abci.RequestEndBlock", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="height", - full_name="tendermint.abci.RequestEndBlock.height", - index=0, - number=1, - type=3, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=1927, - serialized_end=1960, -) - - -_REQUESTCOMMIT = _descriptor.Descriptor( - name="RequestCommit", - full_name="tendermint.abci.RequestCommit", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=1962, - serialized_end=1977, -) - - -_REQUESTLISTSNAPSHOTS = _descriptor.Descriptor( - name="RequestListSnapshots", - full_name="tendermint.abci.RequestListSnapshots", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=1979, - serialized_end=2001, -) - - -_REQUESTOFFERSNAPSHOT = _descriptor.Descriptor( - name="RequestOfferSnapshot", - full_name="tendermint.abci.RequestOfferSnapshot", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="snapshot", - full_name="tendermint.abci.RequestOfferSnapshot.snapshot", - index=0, - number=1, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="app_hash", - full_name="tendermint.abci.RequestOfferSnapshot.app_hash", - index=1, - number=2, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=2003, - serialized_end=2088, -) - - -_REQUESTLOADSNAPSHOTCHUNK = _descriptor.Descriptor( - name="RequestLoadSnapshotChunk", - full_name="tendermint.abci.RequestLoadSnapshotChunk", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="height", - full_name="tendermint.abci.RequestLoadSnapshotChunk.height", - index=0, - number=1, - type=4, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="format", - full_name="tendermint.abci.RequestLoadSnapshotChunk.format", - index=1, - number=2, - type=13, - cpp_type=3, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="chunk", - full_name="tendermint.abci.RequestLoadSnapshotChunk.chunk", - index=2, - number=3, - type=13, - cpp_type=3, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=2090, - serialized_end=2163, -) - - -_REQUESTAPPLYSNAPSHOTCHUNK = _descriptor.Descriptor( - name="RequestApplySnapshotChunk", - full_name="tendermint.abci.RequestApplySnapshotChunk", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="index", - full_name="tendermint.abci.RequestApplySnapshotChunk.index", - index=0, - number=1, - type=13, - cpp_type=3, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="chunk", - full_name="tendermint.abci.RequestApplySnapshotChunk.chunk", - index=1, - number=2, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="sender", - full_name="tendermint.abci.RequestApplySnapshotChunk.sender", - index=2, - number=3, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=2165, - serialized_end=2238, -) - - -_RESPONSE = _descriptor.Descriptor( - name="Response", - full_name="tendermint.abci.Response", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="exception", - full_name="tendermint.abci.Response.exception", - index=0, - number=1, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="echo", - full_name="tendermint.abci.Response.echo", - index=1, - number=2, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="flush", - full_name="tendermint.abci.Response.flush", - index=2, - number=3, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="info", - full_name="tendermint.abci.Response.info", - index=3, - number=4, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="set_option", - full_name="tendermint.abci.Response.set_option", - index=4, - number=5, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="init_chain", - full_name="tendermint.abci.Response.init_chain", - index=5, - number=6, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="query", - full_name="tendermint.abci.Response.query", - index=6, - number=7, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="begin_block", - full_name="tendermint.abci.Response.begin_block", - index=7, - number=8, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="check_tx", - full_name="tendermint.abci.Response.check_tx", - index=8, - number=9, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="deliver_tx", - full_name="tendermint.abci.Response.deliver_tx", - index=9, - number=10, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="end_block", - full_name="tendermint.abci.Response.end_block", - index=10, - number=11, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="commit", - full_name="tendermint.abci.Response.commit", - index=11, - number=12, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="list_snapshots", - full_name="tendermint.abci.Response.list_snapshots", - index=12, - number=13, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="offer_snapshot", - full_name="tendermint.abci.Response.offer_snapshot", - index=13, - number=14, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="load_snapshot_chunk", - full_name="tendermint.abci.Response.load_snapshot_chunk", - index=14, - number=15, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="apply_snapshot_chunk", - full_name="tendermint.abci.Response.apply_snapshot_chunk", - index=15, - number=16, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name="value", - full_name="tendermint.abci.Response.value", - index=0, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - ], - serialized_start=2241, - serialized_end=3188, -) - - -_RESPONSEEXCEPTION = _descriptor.Descriptor( - name="ResponseException", - full_name="tendermint.abci.ResponseException", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="error", - full_name="tendermint.abci.ResponseException.error", - index=0, - number=1, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=3190, - serialized_end=3224, -) - - -_RESPONSEECHO = _descriptor.Descriptor( - name="ResponseEcho", - full_name="tendermint.abci.ResponseEcho", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="message", - full_name="tendermint.abci.ResponseEcho.message", - index=0, - number=1, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=3226, - serialized_end=3257, -) - - -_RESPONSEFLUSH = _descriptor.Descriptor( - name="ResponseFlush", - full_name="tendermint.abci.ResponseFlush", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=3259, - serialized_end=3274, -) - - -_RESPONSEINFO = _descriptor.Descriptor( - name="ResponseInfo", - full_name="tendermint.abci.ResponseInfo", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="data", - full_name="tendermint.abci.ResponseInfo.data", - index=0, - number=1, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="version", - full_name="tendermint.abci.ResponseInfo.version", - index=1, - number=2, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="app_version", - full_name="tendermint.abci.ResponseInfo.app_version", - index=2, - number=3, - type=4, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="last_block_height", - full_name="tendermint.abci.ResponseInfo.last_block_height", - index=3, - number=4, - type=3, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="last_block_app_hash", - full_name="tendermint.abci.ResponseInfo.last_block_app_hash", - index=4, - number=5, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=3276, - serialized_end=3398, -) - - -_RESPONSESETOPTION = _descriptor.Descriptor( - name="ResponseSetOption", - full_name="tendermint.abci.ResponseSetOption", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="code", - full_name="tendermint.abci.ResponseSetOption.code", - index=0, - number=1, - type=13, - cpp_type=3, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="log", - full_name="tendermint.abci.ResponseSetOption.log", - index=1, - number=3, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="info", - full_name="tendermint.abci.ResponseSetOption.info", - index=2, - number=4, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=3400, - serialized_end=3460, -) - - -_RESPONSEINITCHAIN = _descriptor.Descriptor( - name="ResponseInitChain", - full_name="tendermint.abci.ResponseInitChain", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="consensus_params", - full_name="tendermint.abci.ResponseInitChain.consensus_params", - index=0, - number=1, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="validators", - full_name="tendermint.abci.ResponseInitChain.validators", - index=1, - number=2, - type=11, - cpp_type=10, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\310\336\037\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="app_hash", - full_name="tendermint.abci.ResponseInitChain.app_hash", - index=2, - number=3, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=3463, - serialized_end=3620, -) - - -_RESPONSEQUERY = _descriptor.Descriptor( - name="ResponseQuery", - full_name="tendermint.abci.ResponseQuery", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="code", - full_name="tendermint.abci.ResponseQuery.code", - index=0, - number=1, - type=13, - cpp_type=3, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="log", - full_name="tendermint.abci.ResponseQuery.log", - index=1, - number=3, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="info", - full_name="tendermint.abci.ResponseQuery.info", - index=2, - number=4, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="index", - full_name="tendermint.abci.ResponseQuery.index", - index=3, - number=5, - type=3, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="key", - full_name="tendermint.abci.ResponseQuery.key", - index=4, - number=6, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="value", - full_name="tendermint.abci.ResponseQuery.value", - index=5, - number=7, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="proof_ops", - full_name="tendermint.abci.ResponseQuery.proof_ops", - index=6, - number=8, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="height", - full_name="tendermint.abci.ResponseQuery.height", - index=7, - number=9, - type=3, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="codespace", - full_name="tendermint.abci.ResponseQuery.codespace", - index=8, - number=10, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=3623, - serialized_end=3805, -) - - -_RESPONSEBEGINBLOCK = _descriptor.Descriptor( - name="ResponseBeginBlock", - full_name="tendermint.abci.ResponseBeginBlock", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="events", - full_name="tendermint.abci.ResponseBeginBlock.events", - index=0, - number=1, - type=11, - cpp_type=10, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\310\336\037\000\352\336\037\020events,omitempty", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=3807, - serialized_end=3893, -) - - -_RESPONSECHECKTX = _descriptor.Descriptor( - name="ResponseCheckTx", - full_name="tendermint.abci.ResponseCheckTx", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="code", - full_name="tendermint.abci.ResponseCheckTx.code", - index=0, - number=1, - type=13, - cpp_type=3, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="data", - full_name="tendermint.abci.ResponseCheckTx.data", - index=1, - number=2, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="log", - full_name="tendermint.abci.ResponseCheckTx.log", - index=2, - number=3, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="info", - full_name="tendermint.abci.ResponseCheckTx.info", - index=3, - number=4, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="gas_wanted", - full_name="tendermint.abci.ResponseCheckTx.gas_wanted", - index=4, - number=5, - type=3, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - json_name="gas_wanted", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="gas_used", - full_name="tendermint.abci.ResponseCheckTx.gas_used", - index=5, - number=6, - type=3, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - json_name="gas_used", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="events", - full_name="tendermint.abci.ResponseCheckTx.events", - index=6, - number=7, - type=11, - cpp_type=10, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\310\336\037\000\352\336\037\020events,omitempty", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="codespace", - full_name="tendermint.abci.ResponseCheckTx.codespace", - index=7, - number=8, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=3896, - serialized_end=4113, -) - - -_RESPONSEDELIVERTX = _descriptor.Descriptor( - name="ResponseDeliverTx", - full_name="tendermint.abci.ResponseDeliverTx", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="code", - full_name="tendermint.abci.ResponseDeliverTx.code", - index=0, - number=1, - type=13, - cpp_type=3, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="data", - full_name="tendermint.abci.ResponseDeliverTx.data", - index=1, - number=2, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="log", - full_name="tendermint.abci.ResponseDeliverTx.log", - index=2, - number=3, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="info", - full_name="tendermint.abci.ResponseDeliverTx.info", - index=3, - number=4, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="gas_wanted", - full_name="tendermint.abci.ResponseDeliverTx.gas_wanted", - index=4, - number=5, - type=3, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - json_name="gas_wanted", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="gas_used", - full_name="tendermint.abci.ResponseDeliverTx.gas_used", - index=5, - number=6, - type=3, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - json_name="gas_used", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="events", - full_name="tendermint.abci.ResponseDeliverTx.events", - index=6, - number=7, - type=11, - cpp_type=10, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\310\336\037\000\352\336\037\020events,omitempty", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="codespace", - full_name="tendermint.abci.ResponseDeliverTx.codespace", - index=7, - number=8, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=4116, - serialized_end=4335, -) - - -_RESPONSEENDBLOCK = _descriptor.Descriptor( - name="ResponseEndBlock", - full_name="tendermint.abci.ResponseEndBlock", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="validator_updates", - full_name="tendermint.abci.ResponseEndBlock.validator_updates", - index=0, - number=1, - type=11, - cpp_type=10, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\310\336\037\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="consensus_param_updates", - full_name="tendermint.abci.ResponseEndBlock.consensus_param_updates", - index=1, - number=2, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="events", - full_name="tendermint.abci.ResponseEndBlock.events", - index=2, - number=3, - type=11, - cpp_type=10, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\310\336\037\000\352\336\037\020events,omitempty", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=4338, - serialized_end=4556, -) - - -_RESPONSECOMMIT = _descriptor.Descriptor( - name="ResponseCommit", - full_name="tendermint.abci.ResponseCommit", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="data", - full_name="tendermint.abci.ResponseCommit.data", - index=0, - number=2, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="retain_height", - full_name="tendermint.abci.ResponseCommit.retain_height", - index=1, - number=3, - type=3, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=4558, - serialized_end=4611, -) - - -_RESPONSELISTSNAPSHOTS = _descriptor.Descriptor( - name="ResponseListSnapshots", - full_name="tendermint.abci.ResponseListSnapshots", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="snapshots", - full_name="tendermint.abci.ResponseListSnapshots.snapshots", - index=0, - number=1, - type=11, - cpp_type=10, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=4613, - serialized_end=4682, -) - - -_RESPONSEOFFERSNAPSHOT = _descriptor.Descriptor( - name="ResponseOfferSnapshot", - full_name="tendermint.abci.ResponseOfferSnapshot", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="result", - full_name="tendermint.abci.ResponseOfferSnapshot.result", - index=0, - number=1, - type=14, - cpp_type=8, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[ - _RESPONSEOFFERSNAPSHOT_RESULT, - ], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=4685, - serialized_end=4867, -) - - -_RESPONSELOADSNAPSHOTCHUNK = _descriptor.Descriptor( - name="ResponseLoadSnapshotChunk", - full_name="tendermint.abci.ResponseLoadSnapshotChunk", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="chunk", - full_name="tendermint.abci.ResponseLoadSnapshotChunk.chunk", - index=0, - number=1, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=4869, - serialized_end=4911, -) - - -_RESPONSEAPPLYSNAPSHOTCHUNK = _descriptor.Descriptor( - name="ResponseApplySnapshotChunk", - full_name="tendermint.abci.ResponseApplySnapshotChunk", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="result", - full_name="tendermint.abci.ResponseApplySnapshotChunk.result", - index=0, - number=1, - type=14, - cpp_type=8, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="refetch_chunks", - full_name="tendermint.abci.ResponseApplySnapshotChunk.refetch_chunks", - index=1, - number=2, - type=13, - cpp_type=3, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="reject_senders", - full_name="tendermint.abci.ResponseApplySnapshotChunk.reject_senders", - index=2, - number=3, - type=9, - cpp_type=9, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[ - _RESPONSEAPPLYSNAPSHOTCHUNK_RESULT, - ], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=4914, - serialized_end=5156, -) - - -_CONSENSUSPARAMS = _descriptor.Descriptor( - name="ConsensusParams", - full_name="tendermint.abci.ConsensusParams", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="block", - full_name="tendermint.abci.ConsensusParams.block", - index=0, - number=1, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="evidence", - full_name="tendermint.abci.ConsensusParams.evidence", - index=1, - number=2, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="validator", - full_name="tendermint.abci.ConsensusParams.validator", - index=2, - number=3, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="version", - full_name="tendermint.abci.ConsensusParams.version", - index=3, - number=4, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=5159, - serialized_end=5377, -) - - -_BLOCKPARAMS = _descriptor.Descriptor( - name="BlockParams", - full_name="tendermint.abci.BlockParams", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="max_bytes", - full_name="tendermint.abci.BlockParams.max_bytes", - index=0, - number=1, - type=3, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="max_gas", - full_name="tendermint.abci.BlockParams.max_gas", - index=1, - number=2, - type=3, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=5379, - serialized_end=5428, -) - - -_LASTCOMMITINFO = _descriptor.Descriptor( - name="LastCommitInfo", - full_name="tendermint.abci.LastCommitInfo", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="round", - full_name="tendermint.abci.LastCommitInfo.round", - index=0, - number=1, - type=5, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="votes", - full_name="tendermint.abci.LastCommitInfo.votes", - index=1, - number=2, - type=11, - cpp_type=10, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\310\336\037\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=5430, - serialized_end=5509, -) - - -_EVENT = _descriptor.Descriptor( - name="Event", - full_name="tendermint.abci.Event", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="type", - full_name="tendermint.abci.Event.type", - index=0, - number=1, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="attributes", - full_name="tendermint.abci.Event.attributes", - index=1, - number=2, - type=11, - cpp_type=10, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\310\336\037\000\352\336\037\024attributes,omitempty", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=5511, - serialized_end=5615, -) - - -_EVENTATTRIBUTE = _descriptor.Descriptor( - name="EventAttribute", - full_name="tendermint.abci.EventAttribute", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="key", - full_name="tendermint.abci.EventAttribute.key", - index=0, - number=1, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="value", - full_name="tendermint.abci.EventAttribute.value", - index=1, - number=2, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="index", - full_name="tendermint.abci.EventAttribute.index", - index=2, - number=3, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=5617, - serialized_end=5676, -) - - -_TXRESULT = _descriptor.Descriptor( - name="TxResult", - full_name="tendermint.abci.TxResult", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="height", - full_name="tendermint.abci.TxResult.height", - index=0, - number=1, - type=3, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="index", - full_name="tendermint.abci.TxResult.index", - index=1, - number=2, - type=13, - cpp_type=3, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="tx", - full_name="tendermint.abci.TxResult.tx", - index=2, - number=3, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="result", - full_name="tendermint.abci.TxResult.result", - index=3, - number=4, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\310\336\037\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=5678, - serialized_end=5789, -) - - -_VALIDATOR = _descriptor.Descriptor( - name="Validator", - full_name="tendermint.abci.Validator", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="address", - full_name="tendermint.abci.Validator.address", - index=0, - number=1, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="power", - full_name="tendermint.abci.Validator.power", - index=1, - number=3, - type=3, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=5791, - serialized_end=5834, -) - - -_VALIDATORUPDATE = _descriptor.Descriptor( - name="ValidatorUpdate", - full_name="tendermint.abci.ValidatorUpdate", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="pub_key", - full_name="tendermint.abci.ValidatorUpdate.pub_key", - index=0, - number=1, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\310\336\037\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="power", - full_name="tendermint.abci.ValidatorUpdate.power", - index=1, - number=2, - type=3, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=5836, - serialized_end=5921, -) - - -_VOTEINFO = _descriptor.Descriptor( - name="VoteInfo", - full_name="tendermint.abci.VoteInfo", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="validator", - full_name="tendermint.abci.VoteInfo.validator", - index=0, - number=1, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\310\336\037\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="signed_last_block", - full_name="tendermint.abci.VoteInfo.signed_last_block", - index=1, - number=2, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=5923, - serialized_end=6013, -) - - -_EVIDENCE = _descriptor.Descriptor( - name="Evidence", - full_name="tendermint.abci.Evidence", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="type", - full_name="tendermint.abci.Evidence.type", - index=0, - number=1, - type=14, - cpp_type=8, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="validator", - full_name="tendermint.abci.Evidence.validator", - index=1, - number=2, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\310\336\037\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="height", - full_name="tendermint.abci.Evidence.height", - index=2, - number=3, - type=3, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="time", - full_name="tendermint.abci.Evidence.time", - index=3, - number=4, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\310\336\037\000\220\337\037\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="total_voting_power", - full_name="tendermint.abci.Evidence.total_voting_power", - index=4, - number=5, - type=3, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=6016, - serialized_end=6220, -) - - -_SNAPSHOT = _descriptor.Descriptor( - name="Snapshot", - full_name="tendermint.abci.Snapshot", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="height", - full_name="tendermint.abci.Snapshot.height", - index=0, - number=1, - type=4, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="format", - full_name="tendermint.abci.Snapshot.format", - index=1, - number=2, - type=13, - cpp_type=3, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="chunks", - full_name="tendermint.abci.Snapshot.chunks", - index=2, - number=3, - type=13, - cpp_type=3, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="hash", - full_name="tendermint.abci.Snapshot.hash", - index=3, - number=4, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="metadata", - full_name="tendermint.abci.Snapshot.metadata", - index=4, - number=5, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=6222, - serialized_end=6312, -) - -_REQUEST.fields_by_name["echo"].message_type = _REQUESTECHO -_REQUEST.fields_by_name["flush"].message_type = _REQUESTFLUSH -_REQUEST.fields_by_name["info"].message_type = _REQUESTINFO -_REQUEST.fields_by_name["set_option"].message_type = _REQUESTSETOPTION -_REQUEST.fields_by_name["init_chain"].message_type = _REQUESTINITCHAIN -_REQUEST.fields_by_name["query"].message_type = _REQUESTQUERY -_REQUEST.fields_by_name["begin_block"].message_type = _REQUESTBEGINBLOCK -_REQUEST.fields_by_name["check_tx"].message_type = _REQUESTCHECKTX -_REQUEST.fields_by_name["deliver_tx"].message_type = _REQUESTDELIVERTX -_REQUEST.fields_by_name["end_block"].message_type = _REQUESTENDBLOCK -_REQUEST.fields_by_name["commit"].message_type = _REQUESTCOMMIT -_REQUEST.fields_by_name["list_snapshots"].message_type = _REQUESTLISTSNAPSHOTS -_REQUEST.fields_by_name["offer_snapshot"].message_type = _REQUESTOFFERSNAPSHOT -_REQUEST.fields_by_name["load_snapshot_chunk"].message_type = _REQUESTLOADSNAPSHOTCHUNK -_REQUEST.fields_by_name[ - "apply_snapshot_chunk" -].message_type = _REQUESTAPPLYSNAPSHOTCHUNK -_REQUEST.oneofs_by_name["value"].fields.append(_REQUEST.fields_by_name["echo"]) -_REQUEST.fields_by_name["echo"].containing_oneof = _REQUEST.oneofs_by_name["value"] -_REQUEST.oneofs_by_name["value"].fields.append(_REQUEST.fields_by_name["flush"]) -_REQUEST.fields_by_name["flush"].containing_oneof = _REQUEST.oneofs_by_name["value"] -_REQUEST.oneofs_by_name["value"].fields.append(_REQUEST.fields_by_name["info"]) -_REQUEST.fields_by_name["info"].containing_oneof = _REQUEST.oneofs_by_name["value"] -_REQUEST.oneofs_by_name["value"].fields.append(_REQUEST.fields_by_name["set_option"]) -_REQUEST.fields_by_name["set_option"].containing_oneof = _REQUEST.oneofs_by_name[ - "value" -] -_REQUEST.oneofs_by_name["value"].fields.append(_REQUEST.fields_by_name["init_chain"]) -_REQUEST.fields_by_name["init_chain"].containing_oneof = _REQUEST.oneofs_by_name[ - "value" -] -_REQUEST.oneofs_by_name["value"].fields.append(_REQUEST.fields_by_name["query"]) -_REQUEST.fields_by_name["query"].containing_oneof = _REQUEST.oneofs_by_name["value"] -_REQUEST.oneofs_by_name["value"].fields.append(_REQUEST.fields_by_name["begin_block"]) -_REQUEST.fields_by_name["begin_block"].containing_oneof = _REQUEST.oneofs_by_name[ - "value" -] -_REQUEST.oneofs_by_name["value"].fields.append(_REQUEST.fields_by_name["check_tx"]) -_REQUEST.fields_by_name["check_tx"].containing_oneof = _REQUEST.oneofs_by_name["value"] -_REQUEST.oneofs_by_name["value"].fields.append(_REQUEST.fields_by_name["deliver_tx"]) -_REQUEST.fields_by_name["deliver_tx"].containing_oneof = _REQUEST.oneofs_by_name[ - "value" -] -_REQUEST.oneofs_by_name["value"].fields.append(_REQUEST.fields_by_name["end_block"]) -_REQUEST.fields_by_name["end_block"].containing_oneof = _REQUEST.oneofs_by_name["value"] -_REQUEST.oneofs_by_name["value"].fields.append(_REQUEST.fields_by_name["commit"]) -_REQUEST.fields_by_name["commit"].containing_oneof = _REQUEST.oneofs_by_name["value"] -_REQUEST.oneofs_by_name["value"].fields.append( - _REQUEST.fields_by_name["list_snapshots"] -) -_REQUEST.fields_by_name["list_snapshots"].containing_oneof = _REQUEST.oneofs_by_name[ - "value" -] -_REQUEST.oneofs_by_name["value"].fields.append( - _REQUEST.fields_by_name["offer_snapshot"] -) -_REQUEST.fields_by_name["offer_snapshot"].containing_oneof = _REQUEST.oneofs_by_name[ - "value" -] -_REQUEST.oneofs_by_name["value"].fields.append( - _REQUEST.fields_by_name["load_snapshot_chunk"] -) -_REQUEST.fields_by_name[ - "load_snapshot_chunk" -].containing_oneof = _REQUEST.oneofs_by_name["value"] -_REQUEST.oneofs_by_name["value"].fields.append( - _REQUEST.fields_by_name["apply_snapshot_chunk"] -) -_REQUEST.fields_by_name[ - "apply_snapshot_chunk" -].containing_oneof = _REQUEST.oneofs_by_name["value"] -_REQUESTINITCHAIN.fields_by_name[ - "time" -].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP -_REQUESTINITCHAIN.fields_by_name["consensus_params"].message_type = _CONSENSUSPARAMS -_REQUESTINITCHAIN.fields_by_name["validators"].message_type = _VALIDATORUPDATE -_REQUESTBEGINBLOCK.fields_by_name[ - "header" -].message_type = tendermint_dot_types_dot_types__pb2._HEADER -_REQUESTBEGINBLOCK.fields_by_name["last_commit_info"].message_type = _LASTCOMMITINFO -_REQUESTBEGINBLOCK.fields_by_name["byzantine_validators"].message_type = _EVIDENCE -_REQUESTCHECKTX.fields_by_name["type"].enum_type = _CHECKTXTYPE -_REQUESTOFFERSNAPSHOT.fields_by_name["snapshot"].message_type = _SNAPSHOT -_RESPONSE.fields_by_name["exception"].message_type = _RESPONSEEXCEPTION -_RESPONSE.fields_by_name["echo"].message_type = _RESPONSEECHO -_RESPONSE.fields_by_name["flush"].message_type = _RESPONSEFLUSH -_RESPONSE.fields_by_name["info"].message_type = _RESPONSEINFO -_RESPONSE.fields_by_name["set_option"].message_type = _RESPONSESETOPTION -_RESPONSE.fields_by_name["init_chain"].message_type = _RESPONSEINITCHAIN -_RESPONSE.fields_by_name["query"].message_type = _RESPONSEQUERY -_RESPONSE.fields_by_name["begin_block"].message_type = _RESPONSEBEGINBLOCK -_RESPONSE.fields_by_name["check_tx"].message_type = _RESPONSECHECKTX -_RESPONSE.fields_by_name["deliver_tx"].message_type = _RESPONSEDELIVERTX -_RESPONSE.fields_by_name["end_block"].message_type = _RESPONSEENDBLOCK -_RESPONSE.fields_by_name["commit"].message_type = _RESPONSECOMMIT -_RESPONSE.fields_by_name["list_snapshots"].message_type = _RESPONSELISTSNAPSHOTS -_RESPONSE.fields_by_name["offer_snapshot"].message_type = _RESPONSEOFFERSNAPSHOT -_RESPONSE.fields_by_name[ - "load_snapshot_chunk" -].message_type = _RESPONSELOADSNAPSHOTCHUNK -_RESPONSE.fields_by_name[ - "apply_snapshot_chunk" -].message_type = _RESPONSEAPPLYSNAPSHOTCHUNK -_RESPONSE.oneofs_by_name["value"].fields.append(_RESPONSE.fields_by_name["exception"]) -_RESPONSE.fields_by_name["exception"].containing_oneof = _RESPONSE.oneofs_by_name[ - "value" -] -_RESPONSE.oneofs_by_name["value"].fields.append(_RESPONSE.fields_by_name["echo"]) -_RESPONSE.fields_by_name["echo"].containing_oneof = _RESPONSE.oneofs_by_name["value"] -_RESPONSE.oneofs_by_name["value"].fields.append(_RESPONSE.fields_by_name["flush"]) -_RESPONSE.fields_by_name["flush"].containing_oneof = _RESPONSE.oneofs_by_name["value"] -_RESPONSE.oneofs_by_name["value"].fields.append(_RESPONSE.fields_by_name["info"]) -_RESPONSE.fields_by_name["info"].containing_oneof = _RESPONSE.oneofs_by_name["value"] -_RESPONSE.oneofs_by_name["value"].fields.append(_RESPONSE.fields_by_name["set_option"]) -_RESPONSE.fields_by_name["set_option"].containing_oneof = _RESPONSE.oneofs_by_name[ - "value" -] -_RESPONSE.oneofs_by_name["value"].fields.append(_RESPONSE.fields_by_name["init_chain"]) -_RESPONSE.fields_by_name["init_chain"].containing_oneof = _RESPONSE.oneofs_by_name[ - "value" -] -_RESPONSE.oneofs_by_name["value"].fields.append(_RESPONSE.fields_by_name["query"]) -_RESPONSE.fields_by_name["query"].containing_oneof = _RESPONSE.oneofs_by_name["value"] -_RESPONSE.oneofs_by_name["value"].fields.append(_RESPONSE.fields_by_name["begin_block"]) -_RESPONSE.fields_by_name["begin_block"].containing_oneof = _RESPONSE.oneofs_by_name[ - "value" -] -_RESPONSE.oneofs_by_name["value"].fields.append(_RESPONSE.fields_by_name["check_tx"]) -_RESPONSE.fields_by_name["check_tx"].containing_oneof = _RESPONSE.oneofs_by_name[ - "value" -] -_RESPONSE.oneofs_by_name["value"].fields.append(_RESPONSE.fields_by_name["deliver_tx"]) -_RESPONSE.fields_by_name["deliver_tx"].containing_oneof = _RESPONSE.oneofs_by_name[ - "value" -] -_RESPONSE.oneofs_by_name["value"].fields.append(_RESPONSE.fields_by_name["end_block"]) -_RESPONSE.fields_by_name["end_block"].containing_oneof = _RESPONSE.oneofs_by_name[ - "value" -] -_RESPONSE.oneofs_by_name["value"].fields.append(_RESPONSE.fields_by_name["commit"]) -_RESPONSE.fields_by_name["commit"].containing_oneof = _RESPONSE.oneofs_by_name["value"] -_RESPONSE.oneofs_by_name["value"].fields.append( - _RESPONSE.fields_by_name["list_snapshots"] -) -_RESPONSE.fields_by_name["list_snapshots"].containing_oneof = _RESPONSE.oneofs_by_name[ - "value" -] -_RESPONSE.oneofs_by_name["value"].fields.append( - _RESPONSE.fields_by_name["offer_snapshot"] -) -_RESPONSE.fields_by_name["offer_snapshot"].containing_oneof = _RESPONSE.oneofs_by_name[ - "value" -] -_RESPONSE.oneofs_by_name["value"].fields.append( - _RESPONSE.fields_by_name["load_snapshot_chunk"] -) -_RESPONSE.fields_by_name[ - "load_snapshot_chunk" -].containing_oneof = _RESPONSE.oneofs_by_name["value"] -_RESPONSE.oneofs_by_name["value"].fields.append( - _RESPONSE.fields_by_name["apply_snapshot_chunk"] -) -_RESPONSE.fields_by_name[ - "apply_snapshot_chunk" -].containing_oneof = _RESPONSE.oneofs_by_name["value"] -_RESPONSEINITCHAIN.fields_by_name["consensus_params"].message_type = _CONSENSUSPARAMS -_RESPONSEINITCHAIN.fields_by_name["validators"].message_type = _VALIDATORUPDATE -_RESPONSEQUERY.fields_by_name[ - "proof_ops" -].message_type = tendermint_dot_crypto_dot_proof__pb2._PROOFOPS -_RESPONSEBEGINBLOCK.fields_by_name["events"].message_type = _EVENT -_RESPONSECHECKTX.fields_by_name["events"].message_type = _EVENT -_RESPONSEDELIVERTX.fields_by_name["events"].message_type = _EVENT -_RESPONSEENDBLOCK.fields_by_name["validator_updates"].message_type = _VALIDATORUPDATE -_RESPONSEENDBLOCK.fields_by_name[ - "consensus_param_updates" -].message_type = _CONSENSUSPARAMS -_RESPONSEENDBLOCK.fields_by_name["events"].message_type = _EVENT -_RESPONSELISTSNAPSHOTS.fields_by_name["snapshots"].message_type = _SNAPSHOT -_RESPONSEOFFERSNAPSHOT.fields_by_name[ - "result" -].enum_type = _RESPONSEOFFERSNAPSHOT_RESULT -_RESPONSEOFFERSNAPSHOT_RESULT.containing_type = _RESPONSEOFFERSNAPSHOT -_RESPONSEAPPLYSNAPSHOTCHUNK.fields_by_name[ - "result" -].enum_type = _RESPONSEAPPLYSNAPSHOTCHUNK_RESULT -_RESPONSEAPPLYSNAPSHOTCHUNK_RESULT.containing_type = _RESPONSEAPPLYSNAPSHOTCHUNK -_CONSENSUSPARAMS.fields_by_name["block"].message_type = _BLOCKPARAMS -_CONSENSUSPARAMS.fields_by_name[ - "evidence" -].message_type = tendermint_dot_types_dot_params__pb2._EVIDENCEPARAMS -_CONSENSUSPARAMS.fields_by_name[ - "validator" -].message_type = tendermint_dot_types_dot_params__pb2._VALIDATORPARAMS -_CONSENSUSPARAMS.fields_by_name[ - "version" -].message_type = tendermint_dot_types_dot_params__pb2._VERSIONPARAMS -_LASTCOMMITINFO.fields_by_name["votes"].message_type = _VOTEINFO -_EVENT.fields_by_name["attributes"].message_type = _EVENTATTRIBUTE -_TXRESULT.fields_by_name["result"].message_type = _RESPONSEDELIVERTX -_VALIDATORUPDATE.fields_by_name[ - "pub_key" -].message_type = tendermint_dot_crypto_dot_keys__pb2._PUBLICKEY -_VOTEINFO.fields_by_name["validator"].message_type = _VALIDATOR -_EVIDENCE.fields_by_name["type"].enum_type = _EVIDENCETYPE -_EVIDENCE.fields_by_name["validator"].message_type = _VALIDATOR -_EVIDENCE.fields_by_name[ - "time" -].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP -DESCRIPTOR.message_types_by_name["Request"] = _REQUEST -DESCRIPTOR.message_types_by_name["RequestEcho"] = _REQUESTECHO -DESCRIPTOR.message_types_by_name["RequestFlush"] = _REQUESTFLUSH -DESCRIPTOR.message_types_by_name["RequestInfo"] = _REQUESTINFO -DESCRIPTOR.message_types_by_name["RequestSetOption"] = _REQUESTSETOPTION -DESCRIPTOR.message_types_by_name["RequestInitChain"] = _REQUESTINITCHAIN -DESCRIPTOR.message_types_by_name["RequestQuery"] = _REQUESTQUERY -DESCRIPTOR.message_types_by_name["RequestBeginBlock"] = _REQUESTBEGINBLOCK -DESCRIPTOR.message_types_by_name["RequestCheckTx"] = _REQUESTCHECKTX -DESCRIPTOR.message_types_by_name["RequestDeliverTx"] = _REQUESTDELIVERTX -DESCRIPTOR.message_types_by_name["RequestEndBlock"] = _REQUESTENDBLOCK -DESCRIPTOR.message_types_by_name["RequestCommit"] = _REQUESTCOMMIT -DESCRIPTOR.message_types_by_name["RequestListSnapshots"] = _REQUESTLISTSNAPSHOTS -DESCRIPTOR.message_types_by_name["RequestOfferSnapshot"] = _REQUESTOFFERSNAPSHOT -DESCRIPTOR.message_types_by_name["RequestLoadSnapshotChunk"] = _REQUESTLOADSNAPSHOTCHUNK -DESCRIPTOR.message_types_by_name[ - "RequestApplySnapshotChunk" -] = _REQUESTAPPLYSNAPSHOTCHUNK -DESCRIPTOR.message_types_by_name["Response"] = _RESPONSE -DESCRIPTOR.message_types_by_name["ResponseException"] = _RESPONSEEXCEPTION -DESCRIPTOR.message_types_by_name["ResponseEcho"] = _RESPONSEECHO -DESCRIPTOR.message_types_by_name["ResponseFlush"] = _RESPONSEFLUSH -DESCRIPTOR.message_types_by_name["ResponseInfo"] = _RESPONSEINFO -DESCRIPTOR.message_types_by_name["ResponseSetOption"] = _RESPONSESETOPTION -DESCRIPTOR.message_types_by_name["ResponseInitChain"] = _RESPONSEINITCHAIN -DESCRIPTOR.message_types_by_name["ResponseQuery"] = _RESPONSEQUERY -DESCRIPTOR.message_types_by_name["ResponseBeginBlock"] = _RESPONSEBEGINBLOCK -DESCRIPTOR.message_types_by_name["ResponseCheckTx"] = _RESPONSECHECKTX -DESCRIPTOR.message_types_by_name["ResponseDeliverTx"] = _RESPONSEDELIVERTX -DESCRIPTOR.message_types_by_name["ResponseEndBlock"] = _RESPONSEENDBLOCK -DESCRIPTOR.message_types_by_name["ResponseCommit"] = _RESPONSECOMMIT -DESCRIPTOR.message_types_by_name["ResponseListSnapshots"] = _RESPONSELISTSNAPSHOTS -DESCRIPTOR.message_types_by_name["ResponseOfferSnapshot"] = _RESPONSEOFFERSNAPSHOT -DESCRIPTOR.message_types_by_name[ - "ResponseLoadSnapshotChunk" -] = _RESPONSELOADSNAPSHOTCHUNK -DESCRIPTOR.message_types_by_name[ - "ResponseApplySnapshotChunk" -] = _RESPONSEAPPLYSNAPSHOTCHUNK -DESCRIPTOR.message_types_by_name["ConsensusParams"] = _CONSENSUSPARAMS -DESCRIPTOR.message_types_by_name["BlockParams"] = _BLOCKPARAMS -DESCRIPTOR.message_types_by_name["LastCommitInfo"] = _LASTCOMMITINFO -DESCRIPTOR.message_types_by_name["Event"] = _EVENT -DESCRIPTOR.message_types_by_name["EventAttribute"] = _EVENTATTRIBUTE -DESCRIPTOR.message_types_by_name["TxResult"] = _TXRESULT -DESCRIPTOR.message_types_by_name["Validator"] = _VALIDATOR -DESCRIPTOR.message_types_by_name["ValidatorUpdate"] = _VALIDATORUPDATE -DESCRIPTOR.message_types_by_name["VoteInfo"] = _VOTEINFO -DESCRIPTOR.message_types_by_name["Evidence"] = _EVIDENCE -DESCRIPTOR.message_types_by_name["Snapshot"] = _SNAPSHOT -DESCRIPTOR.enum_types_by_name["CheckTxType"] = _CHECKTXTYPE -DESCRIPTOR.enum_types_by_name["EvidenceType"] = _EVIDENCETYPE -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -Request = _reflection.GeneratedProtocolMessageType( - "Request", - (_message.Message,), - { - "DESCRIPTOR": _REQUEST, - "__module__": "tendermint.abci.types_pb2" - # @@protoc_insertion_point(class_scope:tendermint.abci.Request) - }, -) -_sym_db.RegisterMessage(Request) - -RequestEcho = _reflection.GeneratedProtocolMessageType( - "RequestEcho", - (_message.Message,), - { - "DESCRIPTOR": _REQUESTECHO, - "__module__": "tendermint.abci.types_pb2" - # @@protoc_insertion_point(class_scope:tendermint.abci.RequestEcho) - }, -) -_sym_db.RegisterMessage(RequestEcho) - -RequestFlush = _reflection.GeneratedProtocolMessageType( - "RequestFlush", - (_message.Message,), - { - "DESCRIPTOR": _REQUESTFLUSH, - "__module__": "tendermint.abci.types_pb2" - # @@protoc_insertion_point(class_scope:tendermint.abci.RequestFlush) - }, -) -_sym_db.RegisterMessage(RequestFlush) - -RequestInfo = _reflection.GeneratedProtocolMessageType( - "RequestInfo", - (_message.Message,), - { - "DESCRIPTOR": _REQUESTINFO, - "__module__": "tendermint.abci.types_pb2" - # @@protoc_insertion_point(class_scope:tendermint.abci.RequestInfo) - }, -) -_sym_db.RegisterMessage(RequestInfo) - -RequestSetOption = _reflection.GeneratedProtocolMessageType( - "RequestSetOption", - (_message.Message,), - { - "DESCRIPTOR": _REQUESTSETOPTION, - "__module__": "tendermint.abci.types_pb2" - # @@protoc_insertion_point(class_scope:tendermint.abci.RequestSetOption) - }, -) -_sym_db.RegisterMessage(RequestSetOption) - -RequestInitChain = _reflection.GeneratedProtocolMessageType( - "RequestInitChain", - (_message.Message,), - { - "DESCRIPTOR": _REQUESTINITCHAIN, - "__module__": "tendermint.abci.types_pb2" - # @@protoc_insertion_point(class_scope:tendermint.abci.RequestInitChain) - }, -) -_sym_db.RegisterMessage(RequestInitChain) - -RequestQuery = _reflection.GeneratedProtocolMessageType( - "RequestQuery", - (_message.Message,), - { - "DESCRIPTOR": _REQUESTQUERY, - "__module__": "tendermint.abci.types_pb2" - # @@protoc_insertion_point(class_scope:tendermint.abci.RequestQuery) - }, -) -_sym_db.RegisterMessage(RequestQuery) - -RequestBeginBlock = _reflection.GeneratedProtocolMessageType( - "RequestBeginBlock", - (_message.Message,), - { - "DESCRIPTOR": _REQUESTBEGINBLOCK, - "__module__": "tendermint.abci.types_pb2" - # @@protoc_insertion_point(class_scope:tendermint.abci.RequestBeginBlock) - }, -) -_sym_db.RegisterMessage(RequestBeginBlock) - -RequestCheckTx = _reflection.GeneratedProtocolMessageType( - "RequestCheckTx", - (_message.Message,), - { - "DESCRIPTOR": _REQUESTCHECKTX, - "__module__": "tendermint.abci.types_pb2" - # @@protoc_insertion_point(class_scope:tendermint.abci.RequestCheckTx) - }, -) -_sym_db.RegisterMessage(RequestCheckTx) - -RequestDeliverTx = _reflection.GeneratedProtocolMessageType( - "RequestDeliverTx", - (_message.Message,), - { - "DESCRIPTOR": _REQUESTDELIVERTX, - "__module__": "tendermint.abci.types_pb2" - # @@protoc_insertion_point(class_scope:tendermint.abci.RequestDeliverTx) - }, -) -_sym_db.RegisterMessage(RequestDeliverTx) - -RequestEndBlock = _reflection.GeneratedProtocolMessageType( - "RequestEndBlock", - (_message.Message,), - { - "DESCRIPTOR": _REQUESTENDBLOCK, - "__module__": "tendermint.abci.types_pb2" - # @@protoc_insertion_point(class_scope:tendermint.abci.RequestEndBlock) - }, -) -_sym_db.RegisterMessage(RequestEndBlock) - -RequestCommit = _reflection.GeneratedProtocolMessageType( - "RequestCommit", - (_message.Message,), - { - "DESCRIPTOR": _REQUESTCOMMIT, - "__module__": "tendermint.abci.types_pb2" - # @@protoc_insertion_point(class_scope:tendermint.abci.RequestCommit) - }, -) -_sym_db.RegisterMessage(RequestCommit) - -RequestListSnapshots = _reflection.GeneratedProtocolMessageType( - "RequestListSnapshots", - (_message.Message,), - { - "DESCRIPTOR": _REQUESTLISTSNAPSHOTS, - "__module__": "tendermint.abci.types_pb2" - # @@protoc_insertion_point(class_scope:tendermint.abci.RequestListSnapshots) - }, -) -_sym_db.RegisterMessage(RequestListSnapshots) - -RequestOfferSnapshot = _reflection.GeneratedProtocolMessageType( - "RequestOfferSnapshot", - (_message.Message,), - { - "DESCRIPTOR": _REQUESTOFFERSNAPSHOT, - "__module__": "tendermint.abci.types_pb2" - # @@protoc_insertion_point(class_scope:tendermint.abci.RequestOfferSnapshot) - }, -) -_sym_db.RegisterMessage(RequestOfferSnapshot) - -RequestLoadSnapshotChunk = _reflection.GeneratedProtocolMessageType( - "RequestLoadSnapshotChunk", - (_message.Message,), - { - "DESCRIPTOR": _REQUESTLOADSNAPSHOTCHUNK, - "__module__": "tendermint.abci.types_pb2" - # @@protoc_insertion_point(class_scope:tendermint.abci.RequestLoadSnapshotChunk) - }, -) -_sym_db.RegisterMessage(RequestLoadSnapshotChunk) - -RequestApplySnapshotChunk = _reflection.GeneratedProtocolMessageType( - "RequestApplySnapshotChunk", - (_message.Message,), - { - "DESCRIPTOR": _REQUESTAPPLYSNAPSHOTCHUNK, - "__module__": "tendermint.abci.types_pb2" - # @@protoc_insertion_point(class_scope:tendermint.abci.RequestApplySnapshotChunk) - }, -) -_sym_db.RegisterMessage(RequestApplySnapshotChunk) - -Response = _reflection.GeneratedProtocolMessageType( - "Response", - (_message.Message,), - { - "DESCRIPTOR": _RESPONSE, - "__module__": "tendermint.abci.types_pb2" - # @@protoc_insertion_point(class_scope:tendermint.abci.Response) - }, -) -_sym_db.RegisterMessage(Response) - -ResponseException = _reflection.GeneratedProtocolMessageType( - "ResponseException", - (_message.Message,), - { - "DESCRIPTOR": _RESPONSEEXCEPTION, - "__module__": "tendermint.abci.types_pb2" - # @@protoc_insertion_point(class_scope:tendermint.abci.ResponseException) - }, -) -_sym_db.RegisterMessage(ResponseException) - -ResponseEcho = _reflection.GeneratedProtocolMessageType( - "ResponseEcho", - (_message.Message,), - { - "DESCRIPTOR": _RESPONSEECHO, - "__module__": "tendermint.abci.types_pb2" - # @@protoc_insertion_point(class_scope:tendermint.abci.ResponseEcho) - }, -) -_sym_db.RegisterMessage(ResponseEcho) - -ResponseFlush = _reflection.GeneratedProtocolMessageType( - "ResponseFlush", - (_message.Message,), - { - "DESCRIPTOR": _RESPONSEFLUSH, - "__module__": "tendermint.abci.types_pb2" - # @@protoc_insertion_point(class_scope:tendermint.abci.ResponseFlush) - }, -) -_sym_db.RegisterMessage(ResponseFlush) - -ResponseInfo = _reflection.GeneratedProtocolMessageType( - "ResponseInfo", - (_message.Message,), - { - "DESCRIPTOR": _RESPONSEINFO, - "__module__": "tendermint.abci.types_pb2" - # @@protoc_insertion_point(class_scope:tendermint.abci.ResponseInfo) - }, -) -_sym_db.RegisterMessage(ResponseInfo) - -ResponseSetOption = _reflection.GeneratedProtocolMessageType( - "ResponseSetOption", - (_message.Message,), - { - "DESCRIPTOR": _RESPONSESETOPTION, - "__module__": "tendermint.abci.types_pb2" - # @@protoc_insertion_point(class_scope:tendermint.abci.ResponseSetOption) - }, -) -_sym_db.RegisterMessage(ResponseSetOption) - -ResponseInitChain = _reflection.GeneratedProtocolMessageType( - "ResponseInitChain", - (_message.Message,), - { - "DESCRIPTOR": _RESPONSEINITCHAIN, - "__module__": "tendermint.abci.types_pb2" - # @@protoc_insertion_point(class_scope:tendermint.abci.ResponseInitChain) - }, -) -_sym_db.RegisterMessage(ResponseInitChain) - -ResponseQuery = _reflection.GeneratedProtocolMessageType( - "ResponseQuery", - (_message.Message,), - { - "DESCRIPTOR": _RESPONSEQUERY, - "__module__": "tendermint.abci.types_pb2" - # @@protoc_insertion_point(class_scope:tendermint.abci.ResponseQuery) - }, -) -_sym_db.RegisterMessage(ResponseQuery) - -ResponseBeginBlock = _reflection.GeneratedProtocolMessageType( - "ResponseBeginBlock", - (_message.Message,), - { - "DESCRIPTOR": _RESPONSEBEGINBLOCK, - "__module__": "tendermint.abci.types_pb2" - # @@protoc_insertion_point(class_scope:tendermint.abci.ResponseBeginBlock) - }, -) -_sym_db.RegisterMessage(ResponseBeginBlock) - -ResponseCheckTx = _reflection.GeneratedProtocolMessageType( - "ResponseCheckTx", - (_message.Message,), - { - "DESCRIPTOR": _RESPONSECHECKTX, - "__module__": "tendermint.abci.types_pb2" - # @@protoc_insertion_point(class_scope:tendermint.abci.ResponseCheckTx) - }, -) -_sym_db.RegisterMessage(ResponseCheckTx) - -ResponseDeliverTx = _reflection.GeneratedProtocolMessageType( - "ResponseDeliverTx", - (_message.Message,), - { - "DESCRIPTOR": _RESPONSEDELIVERTX, - "__module__": "tendermint.abci.types_pb2" - # @@protoc_insertion_point(class_scope:tendermint.abci.ResponseDeliverTx) - }, -) -_sym_db.RegisterMessage(ResponseDeliverTx) - -ResponseEndBlock = _reflection.GeneratedProtocolMessageType( - "ResponseEndBlock", - (_message.Message,), - { - "DESCRIPTOR": _RESPONSEENDBLOCK, - "__module__": "tendermint.abci.types_pb2" - # @@protoc_insertion_point(class_scope:tendermint.abci.ResponseEndBlock) - }, -) -_sym_db.RegisterMessage(ResponseEndBlock) - -ResponseCommit = _reflection.GeneratedProtocolMessageType( - "ResponseCommit", - (_message.Message,), - { - "DESCRIPTOR": _RESPONSECOMMIT, - "__module__": "tendermint.abci.types_pb2" - # @@protoc_insertion_point(class_scope:tendermint.abci.ResponseCommit) - }, -) -_sym_db.RegisterMessage(ResponseCommit) - -ResponseListSnapshots = _reflection.GeneratedProtocolMessageType( - "ResponseListSnapshots", - (_message.Message,), - { - "DESCRIPTOR": _RESPONSELISTSNAPSHOTS, - "__module__": "tendermint.abci.types_pb2" - # @@protoc_insertion_point(class_scope:tendermint.abci.ResponseListSnapshots) - }, -) -_sym_db.RegisterMessage(ResponseListSnapshots) - -ResponseOfferSnapshot = _reflection.GeneratedProtocolMessageType( - "ResponseOfferSnapshot", - (_message.Message,), - { - "DESCRIPTOR": _RESPONSEOFFERSNAPSHOT, - "__module__": "tendermint.abci.types_pb2" - # @@protoc_insertion_point(class_scope:tendermint.abci.ResponseOfferSnapshot) - }, -) -_sym_db.RegisterMessage(ResponseOfferSnapshot) - -ResponseLoadSnapshotChunk = _reflection.GeneratedProtocolMessageType( - "ResponseLoadSnapshotChunk", - (_message.Message,), - { - "DESCRIPTOR": _RESPONSELOADSNAPSHOTCHUNK, - "__module__": "tendermint.abci.types_pb2" - # @@protoc_insertion_point(class_scope:tendermint.abci.ResponseLoadSnapshotChunk) - }, -) -_sym_db.RegisterMessage(ResponseLoadSnapshotChunk) - -ResponseApplySnapshotChunk = _reflection.GeneratedProtocolMessageType( - "ResponseApplySnapshotChunk", - (_message.Message,), - { - "DESCRIPTOR": _RESPONSEAPPLYSNAPSHOTCHUNK, - "__module__": "tendermint.abci.types_pb2" - # @@protoc_insertion_point(class_scope:tendermint.abci.ResponseApplySnapshotChunk) - }, -) -_sym_db.RegisterMessage(ResponseApplySnapshotChunk) - -ConsensusParams = _reflection.GeneratedProtocolMessageType( - "ConsensusParams", - (_message.Message,), - { - "DESCRIPTOR": _CONSENSUSPARAMS, - "__module__": "tendermint.abci.types_pb2" - # @@protoc_insertion_point(class_scope:tendermint.abci.ConsensusParams) - }, -) -_sym_db.RegisterMessage(ConsensusParams) - -BlockParams = _reflection.GeneratedProtocolMessageType( - "BlockParams", - (_message.Message,), - { - "DESCRIPTOR": _BLOCKPARAMS, - "__module__": "tendermint.abci.types_pb2" - # @@protoc_insertion_point(class_scope:tendermint.abci.BlockParams) - }, -) -_sym_db.RegisterMessage(BlockParams) - -LastCommitInfo = _reflection.GeneratedProtocolMessageType( - "LastCommitInfo", - (_message.Message,), - { - "DESCRIPTOR": _LASTCOMMITINFO, - "__module__": "tendermint.abci.types_pb2" - # @@protoc_insertion_point(class_scope:tendermint.abci.LastCommitInfo) - }, -) -_sym_db.RegisterMessage(LastCommitInfo) - -Event = _reflection.GeneratedProtocolMessageType( - "Event", - (_message.Message,), - { - "DESCRIPTOR": _EVENT, - "__module__": "tendermint.abci.types_pb2" - # @@protoc_insertion_point(class_scope:tendermint.abci.Event) - }, -) -_sym_db.RegisterMessage(Event) - -EventAttribute = _reflection.GeneratedProtocolMessageType( - "EventAttribute", - (_message.Message,), - { - "DESCRIPTOR": _EVENTATTRIBUTE, - "__module__": "tendermint.abci.types_pb2" - # @@protoc_insertion_point(class_scope:tendermint.abci.EventAttribute) - }, -) -_sym_db.RegisterMessage(EventAttribute) - -TxResult = _reflection.GeneratedProtocolMessageType( - "TxResult", - (_message.Message,), - { - "DESCRIPTOR": _TXRESULT, - "__module__": "tendermint.abci.types_pb2" - # @@protoc_insertion_point(class_scope:tendermint.abci.TxResult) - }, -) -_sym_db.RegisterMessage(TxResult) - -Validator = _reflection.GeneratedProtocolMessageType( - "Validator", - (_message.Message,), - { - "DESCRIPTOR": _VALIDATOR, - "__module__": "tendermint.abci.types_pb2" - # @@protoc_insertion_point(class_scope:tendermint.abci.Validator) - }, -) -_sym_db.RegisterMessage(Validator) - -ValidatorUpdate = _reflection.GeneratedProtocolMessageType( - "ValidatorUpdate", - (_message.Message,), - { - "DESCRIPTOR": _VALIDATORUPDATE, - "__module__": "tendermint.abci.types_pb2" - # @@protoc_insertion_point(class_scope:tendermint.abci.ValidatorUpdate) - }, -) -_sym_db.RegisterMessage(ValidatorUpdate) - -VoteInfo = _reflection.GeneratedProtocolMessageType( - "VoteInfo", - (_message.Message,), - { - "DESCRIPTOR": _VOTEINFO, - "__module__": "tendermint.abci.types_pb2" - # @@protoc_insertion_point(class_scope:tendermint.abci.VoteInfo) - }, -) -_sym_db.RegisterMessage(VoteInfo) - -Evidence = _reflection.GeneratedProtocolMessageType( - "Evidence", - (_message.Message,), - { - "DESCRIPTOR": _EVIDENCE, - "__module__": "tendermint.abci.types_pb2" - # @@protoc_insertion_point(class_scope:tendermint.abci.Evidence) - }, -) -_sym_db.RegisterMessage(Evidence) - -Snapshot = _reflection.GeneratedProtocolMessageType( - "Snapshot", - (_message.Message,), - { - "DESCRIPTOR": _SNAPSHOT, - "__module__": "tendermint.abci.types_pb2" - # @@protoc_insertion_point(class_scope:tendermint.abci.Snapshot) - }, -) -_sym_db.RegisterMessage(Snapshot) - - -DESCRIPTOR._options = None -_CHECKTXTYPE.values_by_name["NEW"]._options = None -_CHECKTXTYPE.values_by_name["RECHECK"]._options = None -_REQUESTINITCHAIN.fields_by_name["time"]._options = None -_REQUESTINITCHAIN.fields_by_name["validators"]._options = None -_REQUESTBEGINBLOCK.fields_by_name["header"]._options = None -_REQUESTBEGINBLOCK.fields_by_name["last_commit_info"]._options = None -_REQUESTBEGINBLOCK.fields_by_name["byzantine_validators"]._options = None -_RESPONSEINITCHAIN.fields_by_name["validators"]._options = None -_RESPONSEBEGINBLOCK.fields_by_name["events"]._options = None -_RESPONSECHECKTX.fields_by_name["events"]._options = None -_RESPONSEDELIVERTX.fields_by_name["events"]._options = None -_RESPONSEENDBLOCK.fields_by_name["validator_updates"]._options = None -_RESPONSEENDBLOCK.fields_by_name["events"]._options = None -_LASTCOMMITINFO.fields_by_name["votes"]._options = None -_EVENT.fields_by_name["attributes"]._options = None -_TXRESULT.fields_by_name["result"]._options = None -_VALIDATORUPDATE.fields_by_name["pub_key"]._options = None -_VOTEINFO.fields_by_name["validator"]._options = None -_EVIDENCE.fields_by_name["validator"]._options = None -_EVIDENCE.fields_by_name["time"]._options = None - -_ABCIAPPLICATION = _descriptor.ServiceDescriptor( - name="ABCIApplication", - full_name="tendermint.abci.ABCIApplication", - file=DESCRIPTOR, - index=0, - serialized_options=None, - create_key=_descriptor._internal_create_key, - serialized_start=6448, - serialized_end=7731, - methods=[ - _descriptor.MethodDescriptor( - name="Echo", - full_name="tendermint.abci.ABCIApplication.Echo", - index=0, - containing_service=None, - input_type=_REQUESTECHO, - output_type=_RESPONSEECHO, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name="Flush", - full_name="tendermint.abci.ABCIApplication.Flush", - index=1, - containing_service=None, - input_type=_REQUESTFLUSH, - output_type=_RESPONSEFLUSH, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name="Info", - full_name="tendermint.abci.ABCIApplication.Info", - index=2, - containing_service=None, - input_type=_REQUESTINFO, - output_type=_RESPONSEINFO, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name="SetOption", - full_name="tendermint.abci.ABCIApplication.SetOption", - index=3, - containing_service=None, - input_type=_REQUESTSETOPTION, - output_type=_RESPONSESETOPTION, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name="DeliverTx", - full_name="tendermint.abci.ABCIApplication.DeliverTx", - index=4, - containing_service=None, - input_type=_REQUESTDELIVERTX, - output_type=_RESPONSEDELIVERTX, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name="CheckTx", - full_name="tendermint.abci.ABCIApplication.CheckTx", - index=5, - containing_service=None, - input_type=_REQUESTCHECKTX, - output_type=_RESPONSECHECKTX, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name="Query", - full_name="tendermint.abci.ABCIApplication.Query", - index=6, - containing_service=None, - input_type=_REQUESTQUERY, - output_type=_RESPONSEQUERY, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name="Commit", - full_name="tendermint.abci.ABCIApplication.Commit", - index=7, - containing_service=None, - input_type=_REQUESTCOMMIT, - output_type=_RESPONSECOMMIT, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name="InitChain", - full_name="tendermint.abci.ABCIApplication.InitChain", - index=8, - containing_service=None, - input_type=_REQUESTINITCHAIN, - output_type=_RESPONSEINITCHAIN, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name="BeginBlock", - full_name="tendermint.abci.ABCIApplication.BeginBlock", - index=9, - containing_service=None, - input_type=_REQUESTBEGINBLOCK, - output_type=_RESPONSEBEGINBLOCK, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name="EndBlock", - full_name="tendermint.abci.ABCIApplication.EndBlock", - index=10, - containing_service=None, - input_type=_REQUESTENDBLOCK, - output_type=_RESPONSEENDBLOCK, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name="ListSnapshots", - full_name="tendermint.abci.ABCIApplication.ListSnapshots", - index=11, - containing_service=None, - input_type=_REQUESTLISTSNAPSHOTS, - output_type=_RESPONSELISTSNAPSHOTS, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name="OfferSnapshot", - full_name="tendermint.abci.ABCIApplication.OfferSnapshot", - index=12, - containing_service=None, - input_type=_REQUESTOFFERSNAPSHOT, - output_type=_RESPONSEOFFERSNAPSHOT, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name="LoadSnapshotChunk", - full_name="tendermint.abci.ABCIApplication.LoadSnapshotChunk", - index=13, - containing_service=None, - input_type=_REQUESTLOADSNAPSHOTCHUNK, - output_type=_RESPONSELOADSNAPSHOTCHUNK, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name="ApplySnapshotChunk", - full_name="tendermint.abci.ABCIApplication.ApplySnapshotChunk", - index=14, - containing_service=None, - input_type=_REQUESTAPPLYSNAPSHOTCHUNK, - output_type=_RESPONSEAPPLYSNAPSHOTCHUNK, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - ], -) -_sym_db.RegisterServiceDescriptor(_ABCIAPPLICATION) - -DESCRIPTOR.services_by_name["ABCIApplication"] = _ABCIAPPLICATION - +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x1btendermint/abci/types.proto\x12\x0ftendermint.abci\x1a\x1dtendermint/crypto/proof.proto\x1a\x1ctendermint/types/types.proto\x1a\x1ctendermint/crypto/keys.proto\x1a\x1dtendermint/types/params.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x14gogoproto/gogo.proto"\xea\x06\n\x07Request\x12,\n\x04\x65\x63ho\x18\x01 \x01(\x0b\x32\x1c.tendermint.abci.RequestEchoH\x00\x12.\n\x05\x66lush\x18\x02 \x01(\x0b\x32\x1d.tendermint.abci.RequestFlushH\x00\x12,\n\x04info\x18\x03 \x01(\x0b\x32\x1c.tendermint.abci.RequestInfoH\x00\x12\x37\n\nset_option\x18\x04 \x01(\x0b\x32!.tendermint.abci.RequestSetOptionH\x00\x12\x37\n\ninit_chain\x18\x05 \x01(\x0b\x32!.tendermint.abci.RequestInitChainH\x00\x12.\n\x05query\x18\x06 \x01(\x0b\x32\x1d.tendermint.abci.RequestQueryH\x00\x12\x39\n\x0b\x62\x65gin_block\x18\x07 \x01(\x0b\x32".tendermint.abci.RequestBeginBlockH\x00\x12\x33\n\x08\x63heck_tx\x18\x08 \x01(\x0b\x32\x1f.tendermint.abci.RequestCheckTxH\x00\x12\x37\n\ndeliver_tx\x18\t \x01(\x0b\x32!.tendermint.abci.RequestDeliverTxH\x00\x12\x35\n\tend_block\x18\n \x01(\x0b\x32 .tendermint.abci.RequestEndBlockH\x00\x12\x30\n\x06\x63ommit\x18\x0b \x01(\x0b\x32\x1e.tendermint.abci.RequestCommitH\x00\x12?\n\x0elist_snapshots\x18\x0c \x01(\x0b\x32%.tendermint.abci.RequestListSnapshotsH\x00\x12?\n\x0eoffer_snapshot\x18\r \x01(\x0b\x32%.tendermint.abci.RequestOfferSnapshotH\x00\x12H\n\x13load_snapshot_chunk\x18\x0e \x01(\x0b\x32).tendermint.abci.RequestLoadSnapshotChunkH\x00\x12J\n\x14\x61pply_snapshot_chunk\x18\x0f \x01(\x0b\x32*.tendermint.abci.RequestApplySnapshotChunkH\x00\x42\x07\n\x05value"\x1e\n\x0bRequestEcho\x12\x0f\n\x07message\x18\x01 \x01(\t"\x0e\n\x0cRequestFlush"J\n\x0bRequestInfo\x12\x0f\n\x07version\x18\x01 \x01(\t\x12\x15\n\rblock_version\x18\x02 \x01(\x04\x12\x13\n\x0bp2p_version\x18\x03 \x01(\x04".\n\x10RequestSetOption\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t"\x81\x02\n\x10RequestInitChain\x12\x32\n\x04time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x10\n\x08\x63hain_id\x18\x02 \x01(\t\x12:\n\x10\x63onsensus_params\x18\x03 \x01(\x0b\x32 .tendermint.abci.ConsensusParams\x12:\n\nvalidators\x18\x04 \x03(\x0b\x32 .tendermint.abci.ValidatorUpdateB\x04\xc8\xde\x1f\x00\x12\x17\n\x0f\x61pp_state_bytes\x18\x05 \x01(\x0c\x12\x16\n\x0einitial_height\x18\x06 \x01(\x03"I\n\x0cRequestQuery\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x0e\n\x06height\x18\x03 \x01(\x03\x12\r\n\x05prove\x18\x04 \x01(\x08"\xd1\x01\n\x11RequestBeginBlock\x12\x0c\n\x04hash\x18\x01 \x01(\x0c\x12.\n\x06header\x18\x02 \x01(\x0b\x32\x18.tendermint.types.HeaderB\x04\xc8\xde\x1f\x00\x12?\n\x10last_commit_info\x18\x03 \x01(\x0b\x32\x1f.tendermint.abci.LastCommitInfoB\x04\xc8\xde\x1f\x00\x12=\n\x14\x62yzantine_validators\x18\x04 \x03(\x0b\x32\x19.tendermint.abci.EvidenceB\x04\xc8\xde\x1f\x00"H\n\x0eRequestCheckTx\x12\n\n\x02tx\x18\x01 \x01(\x0c\x12*\n\x04type\x18\x02 \x01(\x0e\x32\x1c.tendermint.abci.CheckTxType"\x1e\n\x10RequestDeliverTx\x12\n\n\x02tx\x18\x01 \x01(\x0c"!\n\x0fRequestEndBlock\x12\x0e\n\x06height\x18\x01 \x01(\x03"\x0f\n\rRequestCommit"\x16\n\x14RequestListSnapshots"U\n\x14RequestOfferSnapshot\x12+\n\x08snapshot\x18\x01 \x01(\x0b\x32\x19.tendermint.abci.Snapshot\x12\x10\n\x08\x61pp_hash\x18\x02 \x01(\x0c"I\n\x18RequestLoadSnapshotChunk\x12\x0e\n\x06height\x18\x01 \x01(\x04\x12\x0e\n\x06\x66ormat\x18\x02 \x01(\r\x12\r\n\x05\x63hunk\x18\x03 \x01(\r"I\n\x19RequestApplySnapshotChunk\x12\r\n\x05index\x18\x01 \x01(\r\x12\r\n\x05\x63hunk\x18\x02 \x01(\x0c\x12\x0e\n\x06sender\x18\x03 \x01(\t"\xb3\x07\n\x08Response\x12\x37\n\texception\x18\x01 \x01(\x0b\x32".tendermint.abci.ResponseExceptionH\x00\x12-\n\x04\x65\x63ho\x18\x02 \x01(\x0b\x32\x1d.tendermint.abci.ResponseEchoH\x00\x12/\n\x05\x66lush\x18\x03 \x01(\x0b\x32\x1e.tendermint.abci.ResponseFlushH\x00\x12-\n\x04info\x18\x04 \x01(\x0b\x32\x1d.tendermint.abci.ResponseInfoH\x00\x12\x38\n\nset_option\x18\x05 \x01(\x0b\x32".tendermint.abci.ResponseSetOptionH\x00\x12\x38\n\ninit_chain\x18\x06 \x01(\x0b\x32".tendermint.abci.ResponseInitChainH\x00\x12/\n\x05query\x18\x07 \x01(\x0b\x32\x1e.tendermint.abci.ResponseQueryH\x00\x12:\n\x0b\x62\x65gin_block\x18\x08 \x01(\x0b\x32#.tendermint.abci.ResponseBeginBlockH\x00\x12\x34\n\x08\x63heck_tx\x18\t \x01(\x0b\x32 .tendermint.abci.ResponseCheckTxH\x00\x12\x38\n\ndeliver_tx\x18\n \x01(\x0b\x32".tendermint.abci.ResponseDeliverTxH\x00\x12\x36\n\tend_block\x18\x0b \x01(\x0b\x32!.tendermint.abci.ResponseEndBlockH\x00\x12\x31\n\x06\x63ommit\x18\x0c \x01(\x0b\x32\x1f.tendermint.abci.ResponseCommitH\x00\x12@\n\x0elist_snapshots\x18\r \x01(\x0b\x32&.tendermint.abci.ResponseListSnapshotsH\x00\x12@\n\x0eoffer_snapshot\x18\x0e \x01(\x0b\x32&.tendermint.abci.ResponseOfferSnapshotH\x00\x12I\n\x13load_snapshot_chunk\x18\x0f \x01(\x0b\x32*.tendermint.abci.ResponseLoadSnapshotChunkH\x00\x12K\n\x14\x61pply_snapshot_chunk\x18\x10 \x01(\x0b\x32+.tendermint.abci.ResponseApplySnapshotChunkH\x00\x42\x07\n\x05value""\n\x11ResponseException\x12\r\n\x05\x65rror\x18\x01 \x01(\t"\x1f\n\x0cResponseEcho\x12\x0f\n\x07message\x18\x01 \x01(\t"\x0f\n\rResponseFlush"z\n\x0cResponseInfo\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t\x12\x13\n\x0b\x61pp_version\x18\x03 \x01(\x04\x12\x19\n\x11last_block_height\x18\x04 \x01(\x03\x12\x1b\n\x13last_block_app_hash\x18\x05 \x01(\x0c"<\n\x11ResponseSetOption\x12\x0c\n\x04\x63ode\x18\x01 \x01(\r\x12\x0b\n\x03log\x18\x03 \x01(\t\x12\x0c\n\x04info\x18\x04 \x01(\t"\x9d\x01\n\x11ResponseInitChain\x12:\n\x10\x63onsensus_params\x18\x01 \x01(\x0b\x32 .tendermint.abci.ConsensusParams\x12:\n\nvalidators\x18\x02 \x03(\x0b\x32 .tendermint.abci.ValidatorUpdateB\x04\xc8\xde\x1f\x00\x12\x10\n\x08\x61pp_hash\x18\x03 \x01(\x0c"\xb6\x01\n\rResponseQuery\x12\x0c\n\x04\x63ode\x18\x01 \x01(\r\x12\x0b\n\x03log\x18\x03 \x01(\t\x12\x0c\n\x04info\x18\x04 \x01(\t\x12\r\n\x05index\x18\x05 \x01(\x03\x12\x0b\n\x03key\x18\x06 \x01(\x0c\x12\r\n\x05value\x18\x07 \x01(\x0c\x12.\n\tproof_ops\x18\x08 \x01(\x0b\x32\x1b.tendermint.crypto.ProofOps\x12\x0e\n\x06height\x18\t \x01(\x03\x12\x11\n\tcodespace\x18\n \x01(\t"V\n\x12ResponseBeginBlock\x12@\n\x06\x65vents\x18\x01 \x03(\x0b\x32\x16.tendermint.abci.EventB\x18\xc8\xde\x1f\x00\xea\xde\x1f\x10\x65vents,omitempty"\xd9\x01\n\x0fResponseCheckTx\x12\x0c\n\x04\x63ode\x18\x01 \x01(\r\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x12\x0b\n\x03log\x18\x03 \x01(\t\x12\x0c\n\x04info\x18\x04 \x01(\t\x12\x1e\n\ngas_wanted\x18\x05 \x01(\x03R\ngas_wanted\x12\x1a\n\x08gas_used\x18\x06 \x01(\x03R\x08gas_used\x12@\n\x06\x65vents\x18\x07 \x03(\x0b\x32\x16.tendermint.abci.EventB\x18\xc8\xde\x1f\x00\xea\xde\x1f\x10\x65vents,omitempty\x12\x11\n\tcodespace\x18\x08 \x01(\t"\xdb\x01\n\x11ResponseDeliverTx\x12\x0c\n\x04\x63ode\x18\x01 \x01(\r\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x12\x0b\n\x03log\x18\x03 \x01(\t\x12\x0c\n\x04info\x18\x04 \x01(\t\x12\x1e\n\ngas_wanted\x18\x05 \x01(\x03R\ngas_wanted\x12\x1a\n\x08gas_used\x18\x06 \x01(\x03R\x08gas_used\x12@\n\x06\x65vents\x18\x07 \x03(\x0b\x32\x16.tendermint.abci.EventB\x18\xc8\xde\x1f\x00\xea\xde\x1f\x10\x65vents,omitempty\x12\x11\n\tcodespace\x18\x08 \x01(\t"\xda\x01\n\x10ResponseEndBlock\x12\x41\n\x11validator_updates\x18\x01 \x03(\x0b\x32 .tendermint.abci.ValidatorUpdateB\x04\xc8\xde\x1f\x00\x12\x41\n\x17\x63onsensus_param_updates\x18\x02 \x01(\x0b\x32 .tendermint.abci.ConsensusParams\x12@\n\x06\x65vents\x18\x03 \x03(\x0b\x32\x16.tendermint.abci.EventB\x18\xc8\xde\x1f\x00\xea\xde\x1f\x10\x65vents,omitempty"5\n\x0eResponseCommit\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x12\x15\n\rretain_height\x18\x03 \x01(\x03"E\n\x15ResponseListSnapshots\x12,\n\tsnapshots\x18\x01 \x03(\x0b\x32\x19.tendermint.abci.Snapshot"\xb6\x01\n\x15ResponseOfferSnapshot\x12=\n\x06result\x18\x01 \x01(\x0e\x32-.tendermint.abci.ResponseOfferSnapshot.Result"^\n\x06Result\x12\x0b\n\x07UNKNOWN\x10\x00\x12\n\n\x06\x41\x43\x43\x45PT\x10\x01\x12\t\n\x05\x41\x42ORT\x10\x02\x12\n\n\x06REJECT\x10\x03\x12\x11\n\rREJECT_FORMAT\x10\x04\x12\x11\n\rREJECT_SENDER\x10\x05"*\n\x19ResponseLoadSnapshotChunk\x12\r\n\x05\x63hunk\x18\x01 \x01(\x0c"\xf2\x01\n\x1aResponseApplySnapshotChunk\x12\x42\n\x06result\x18\x01 \x01(\x0e\x32\x32.tendermint.abci.ResponseApplySnapshotChunk.Result\x12\x16\n\x0erefetch_chunks\x18\x02 \x03(\r\x12\x16\n\x0ereject_senders\x18\x03 \x03(\t"`\n\x06Result\x12\x0b\n\x07UNKNOWN\x10\x00\x12\n\n\x06\x41\x43\x43\x45PT\x10\x01\x12\t\n\x05\x41\x42ORT\x10\x02\x12\t\n\x05RETRY\x10\x03\x12\x12\n\x0eRETRY_SNAPSHOT\x10\x04\x12\x13\n\x0fREJECT_SNAPSHOT\x10\x05"\xda\x01\n\x0f\x43onsensusParams\x12+\n\x05\x62lock\x18\x01 \x01(\x0b\x32\x1c.tendermint.abci.BlockParams\x12\x32\n\x08\x65vidence\x18\x02 \x01(\x0b\x32 .tendermint.types.EvidenceParams\x12\x34\n\tvalidator\x18\x03 \x01(\x0b\x32!.tendermint.types.ValidatorParams\x12\x30\n\x07version\x18\x04 \x01(\x0b\x32\x1f.tendermint.types.VersionParams"1\n\x0b\x42lockParams\x12\x11\n\tmax_bytes\x18\x01 \x01(\x03\x12\x0f\n\x07max_gas\x18\x02 \x01(\x03"O\n\x0eLastCommitInfo\x12\r\n\x05round\x18\x01 \x01(\x05\x12.\n\x05votes\x18\x02 \x03(\x0b\x32\x19.tendermint.abci.VoteInfoB\x04\xc8\xde\x1f\x00"h\n\x05\x45vent\x12\x0c\n\x04type\x18\x01 \x01(\t\x12Q\n\nattributes\x18\x02 \x03(\x0b\x32\x1f.tendermint.abci.EventAttributeB\x1c\xc8\xde\x1f\x00\xea\xde\x1f\x14\x61ttributes,omitempty";\n\x0e\x45ventAttribute\x12\x0b\n\x03key\x18\x01 \x01(\x0c\x12\r\n\x05value\x18\x02 \x01(\x0c\x12\r\n\x05index\x18\x03 \x01(\x08"o\n\x08TxResult\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\r\n\x05index\x18\x02 \x01(\r\x12\n\n\x02tx\x18\x03 \x01(\x0c\x12\x38\n\x06result\x18\x04 \x01(\x0b\x32".tendermint.abci.ResponseDeliverTxB\x04\xc8\xde\x1f\x00"+\n\tValidator\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\x0c\x12\r\n\x05power\x18\x03 \x01(\x03"U\n\x0fValidatorUpdate\x12\x33\n\x07pub_key\x18\x01 \x01(\x0b\x32\x1c.tendermint.crypto.PublicKeyB\x04\xc8\xde\x1f\x00\x12\r\n\x05power\x18\x02 \x01(\x03"Z\n\x08VoteInfo\x12\x33\n\tvalidator\x18\x01 \x01(\x0b\x32\x1a.tendermint.abci.ValidatorB\x04\xc8\xde\x1f\x00\x12\x19\n\x11signed_last_block\x18\x02 \x01(\x08"\xcc\x01\n\x08\x45vidence\x12+\n\x04type\x18\x01 \x01(\x0e\x32\x1d.tendermint.abci.EvidenceType\x12\x33\n\tvalidator\x18\x02 \x01(\x0b\x32\x1a.tendermint.abci.ValidatorB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06height\x18\x03 \x01(\x03\x12\x32\n\x04time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x1a\n\x12total_voting_power\x18\x05 \x01(\x03"Z\n\x08Snapshot\x12\x0e\n\x06height\x18\x01 \x01(\x04\x12\x0e\n\x06\x66ormat\x18\x02 \x01(\r\x12\x0e\n\x06\x63hunks\x18\x03 \x01(\r\x12\x0c\n\x04hash\x18\x04 \x01(\x0c\x12\x10\n\x08metadata\x18\x05 \x01(\x0c*9\n\x0b\x43heckTxType\x12\x10\n\x03NEW\x10\x00\x1a\x07\x8a\x9d \x03New\x12\x18\n\x07RECHECK\x10\x01\x1a\x0b\x8a\x9d \x07Recheck*H\n\x0c\x45videnceType\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x12\n\x0e\x44UPLICATE_VOTE\x10\x01\x12\x17\n\x13LIGHT_CLIENT_ATTACK\x10\x02\x32\x83\n\n\x0f\x41\x42\x43IApplication\x12\x43\n\x04\x45\x63ho\x12\x1c.tendermint.abci.RequestEcho\x1a\x1d.tendermint.abci.ResponseEcho\x12\x46\n\x05\x46lush\x12\x1d.tendermint.abci.RequestFlush\x1a\x1e.tendermint.abci.ResponseFlush\x12\x43\n\x04Info\x12\x1c.tendermint.abci.RequestInfo\x1a\x1d.tendermint.abci.ResponseInfo\x12R\n\tSetOption\x12!.tendermint.abci.RequestSetOption\x1a".tendermint.abci.ResponseSetOption\x12R\n\tDeliverTx\x12!.tendermint.abci.RequestDeliverTx\x1a".tendermint.abci.ResponseDeliverTx\x12L\n\x07\x43heckTx\x12\x1f.tendermint.abci.RequestCheckTx\x1a .tendermint.abci.ResponseCheckTx\x12\x46\n\x05Query\x12\x1d.tendermint.abci.RequestQuery\x1a\x1e.tendermint.abci.ResponseQuery\x12I\n\x06\x43ommit\x12\x1e.tendermint.abci.RequestCommit\x1a\x1f.tendermint.abci.ResponseCommit\x12R\n\tInitChain\x12!.tendermint.abci.RequestInitChain\x1a".tendermint.abci.ResponseInitChain\x12U\n\nBeginBlock\x12".tendermint.abci.RequestBeginBlock\x1a#.tendermint.abci.ResponseBeginBlock\x12O\n\x08\x45ndBlock\x12 .tendermint.abci.RequestEndBlock\x1a!.tendermint.abci.ResponseEndBlock\x12^\n\rListSnapshots\x12%.tendermint.abci.RequestListSnapshots\x1a&.tendermint.abci.ResponseListSnapshots\x12^\n\rOfferSnapshot\x12%.tendermint.abci.RequestOfferSnapshot\x1a&.tendermint.abci.ResponseOfferSnapshot\x12j\n\x11LoadSnapshotChunk\x12).tendermint.abci.RequestLoadSnapshotChunk\x1a*.tendermint.abci.ResponseLoadSnapshotChunk\x12m\n\x12\x41pplySnapshotChunk\x12*.tendermint.abci.RequestApplySnapshotChunk\x1a+.tendermint.abci.ResponseApplySnapshotChunkB-Z+github.com/tendermint/tendermint/abci/typesb\x06proto3' +) + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "tendermint.abci.types_pb2", _globals +) +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"Z+github.com/tendermint/tendermint/abci/types" + _CHECKTXTYPE.values_by_name["NEW"]._options = None + _CHECKTXTYPE.values_by_name["NEW"]._serialized_options = b"\212\235 \003New" + _CHECKTXTYPE.values_by_name["RECHECK"]._options = None + _CHECKTXTYPE.values_by_name["RECHECK"]._serialized_options = b"\212\235 \007Recheck" + _REQUESTINITCHAIN.fields_by_name["time"]._options = None + _REQUESTINITCHAIN.fields_by_name[ + "time" + ]._serialized_options = b"\310\336\037\000\220\337\037\001" + _REQUESTINITCHAIN.fields_by_name["validators"]._options = None + _REQUESTINITCHAIN.fields_by_name[ + "validators" + ]._serialized_options = b"\310\336\037\000" + _REQUESTBEGINBLOCK.fields_by_name["header"]._options = None + _REQUESTBEGINBLOCK.fields_by_name[ + "header" + ]._serialized_options = b"\310\336\037\000" + _REQUESTBEGINBLOCK.fields_by_name["last_commit_info"]._options = None + _REQUESTBEGINBLOCK.fields_by_name[ + "last_commit_info" + ]._serialized_options = b"\310\336\037\000" + _REQUESTBEGINBLOCK.fields_by_name["byzantine_validators"]._options = None + _REQUESTBEGINBLOCK.fields_by_name[ + "byzantine_validators" + ]._serialized_options = b"\310\336\037\000" + _RESPONSEINITCHAIN.fields_by_name["validators"]._options = None + _RESPONSEINITCHAIN.fields_by_name[ + "validators" + ]._serialized_options = b"\310\336\037\000" + _RESPONSEBEGINBLOCK.fields_by_name["events"]._options = None + _RESPONSEBEGINBLOCK.fields_by_name[ + "events" + ]._serialized_options = b"\310\336\037\000\352\336\037\020events,omitempty" + _RESPONSECHECKTX.fields_by_name["events"]._options = None + _RESPONSECHECKTX.fields_by_name[ + "events" + ]._serialized_options = b"\310\336\037\000\352\336\037\020events,omitempty" + _RESPONSEDELIVERTX.fields_by_name["events"]._options = None + _RESPONSEDELIVERTX.fields_by_name[ + "events" + ]._serialized_options = b"\310\336\037\000\352\336\037\020events,omitempty" + _RESPONSEENDBLOCK.fields_by_name["validator_updates"]._options = None + _RESPONSEENDBLOCK.fields_by_name[ + "validator_updates" + ]._serialized_options = b"\310\336\037\000" + _RESPONSEENDBLOCK.fields_by_name["events"]._options = None + _RESPONSEENDBLOCK.fields_by_name[ + "events" + ]._serialized_options = b"\310\336\037\000\352\336\037\020events,omitempty" + _LASTCOMMITINFO.fields_by_name["votes"]._options = None + _LASTCOMMITINFO.fields_by_name["votes"]._serialized_options = b"\310\336\037\000" + _EVENT.fields_by_name["attributes"]._options = None + _EVENT.fields_by_name[ + "attributes" + ]._serialized_options = b"\310\336\037\000\352\336\037\024attributes,omitempty" + _TXRESULT.fields_by_name["result"]._options = None + _TXRESULT.fields_by_name["result"]._serialized_options = b"\310\336\037\000" + _VALIDATORUPDATE.fields_by_name["pub_key"]._options = None + _VALIDATORUPDATE.fields_by_name["pub_key"]._serialized_options = b"\310\336\037\000" + _VOTEINFO.fields_by_name["validator"]._options = None + _VOTEINFO.fields_by_name["validator"]._serialized_options = b"\310\336\037\000" + _EVIDENCE.fields_by_name["validator"]._options = None + _EVIDENCE.fields_by_name["validator"]._serialized_options = b"\310\336\037\000" + _EVIDENCE.fields_by_name["time"]._options = None + _EVIDENCE.fields_by_name[ + "time" + ]._serialized_options = b"\310\336\037\000\220\337\037\001" + _globals["_CHECKTXTYPE"]._serialized_start = 6314 + _globals["_CHECKTXTYPE"]._serialized_end = 6371 + _globals["_EVIDENCETYPE"]._serialized_start = 6373 + _globals["_EVIDENCETYPE"]._serialized_end = 6445 + _globals["_REQUEST"]._serialized_start = 226 + _globals["_REQUEST"]._serialized_end = 1100 + _globals["_REQUESTECHO"]._serialized_start = 1102 + _globals["_REQUESTECHO"]._serialized_end = 1132 + _globals["_REQUESTFLUSH"]._serialized_start = 1134 + _globals["_REQUESTFLUSH"]._serialized_end = 1148 + _globals["_REQUESTINFO"]._serialized_start = 1150 + _globals["_REQUESTINFO"]._serialized_end = 1224 + _globals["_REQUESTSETOPTION"]._serialized_start = 1226 + _globals["_REQUESTSETOPTION"]._serialized_end = 1272 + _globals["_REQUESTINITCHAIN"]._serialized_start = 1275 + _globals["_REQUESTINITCHAIN"]._serialized_end = 1532 + _globals["_REQUESTQUERY"]._serialized_start = 1534 + _globals["_REQUESTQUERY"]._serialized_end = 1607 + _globals["_REQUESTBEGINBLOCK"]._serialized_start = 1610 + _globals["_REQUESTBEGINBLOCK"]._serialized_end = 1819 + _globals["_REQUESTCHECKTX"]._serialized_start = 1821 + _globals["_REQUESTCHECKTX"]._serialized_end = 1893 + _globals["_REQUESTDELIVERTX"]._serialized_start = 1895 + _globals["_REQUESTDELIVERTX"]._serialized_end = 1925 + _globals["_REQUESTENDBLOCK"]._serialized_start = 1927 + _globals["_REQUESTENDBLOCK"]._serialized_end = 1960 + _globals["_REQUESTCOMMIT"]._serialized_start = 1962 + _globals["_REQUESTCOMMIT"]._serialized_end = 1977 + _globals["_REQUESTLISTSNAPSHOTS"]._serialized_start = 1979 + _globals["_REQUESTLISTSNAPSHOTS"]._serialized_end = 2001 + _globals["_REQUESTOFFERSNAPSHOT"]._serialized_start = 2003 + _globals["_REQUESTOFFERSNAPSHOT"]._serialized_end = 2088 + _globals["_REQUESTLOADSNAPSHOTCHUNK"]._serialized_start = 2090 + _globals["_REQUESTLOADSNAPSHOTCHUNK"]._serialized_end = 2163 + _globals["_REQUESTAPPLYSNAPSHOTCHUNK"]._serialized_start = 2165 + _globals["_REQUESTAPPLYSNAPSHOTCHUNK"]._serialized_end = 2238 + _globals["_RESPONSE"]._serialized_start = 2241 + _globals["_RESPONSE"]._serialized_end = 3188 + _globals["_RESPONSEEXCEPTION"]._serialized_start = 3190 + _globals["_RESPONSEEXCEPTION"]._serialized_end = 3224 + _globals["_RESPONSEECHO"]._serialized_start = 3226 + _globals["_RESPONSEECHO"]._serialized_end = 3257 + _globals["_RESPONSEFLUSH"]._serialized_start = 3259 + _globals["_RESPONSEFLUSH"]._serialized_end = 3274 + _globals["_RESPONSEINFO"]._serialized_start = 3276 + _globals["_RESPONSEINFO"]._serialized_end = 3398 + _globals["_RESPONSESETOPTION"]._serialized_start = 3400 + _globals["_RESPONSESETOPTION"]._serialized_end = 3460 + _globals["_RESPONSEINITCHAIN"]._serialized_start = 3463 + _globals["_RESPONSEINITCHAIN"]._serialized_end = 3620 + _globals["_RESPONSEQUERY"]._serialized_start = 3623 + _globals["_RESPONSEQUERY"]._serialized_end = 3805 + _globals["_RESPONSEBEGINBLOCK"]._serialized_start = 3807 + _globals["_RESPONSEBEGINBLOCK"]._serialized_end = 3893 + _globals["_RESPONSECHECKTX"]._serialized_start = 3896 + _globals["_RESPONSECHECKTX"]._serialized_end = 4113 + _globals["_RESPONSEDELIVERTX"]._serialized_start = 4116 + _globals["_RESPONSEDELIVERTX"]._serialized_end = 4335 + _globals["_RESPONSEENDBLOCK"]._serialized_start = 4338 + _globals["_RESPONSEENDBLOCK"]._serialized_end = 4556 + _globals["_RESPONSECOMMIT"]._serialized_start = 4558 + _globals["_RESPONSECOMMIT"]._serialized_end = 4611 + _globals["_RESPONSELISTSNAPSHOTS"]._serialized_start = 4613 + _globals["_RESPONSELISTSNAPSHOTS"]._serialized_end = 4682 + _globals["_RESPONSEOFFERSNAPSHOT"]._serialized_start = 4685 + _globals["_RESPONSEOFFERSNAPSHOT"]._serialized_end = 4867 + _globals["_RESPONSEOFFERSNAPSHOT_RESULT"]._serialized_start = 4773 + _globals["_RESPONSEOFFERSNAPSHOT_RESULT"]._serialized_end = 4867 + _globals["_RESPONSELOADSNAPSHOTCHUNK"]._serialized_start = 4869 + _globals["_RESPONSELOADSNAPSHOTCHUNK"]._serialized_end = 4911 + _globals["_RESPONSEAPPLYSNAPSHOTCHUNK"]._serialized_start = 4914 + _globals["_RESPONSEAPPLYSNAPSHOTCHUNK"]._serialized_end = 5156 + _globals["_RESPONSEAPPLYSNAPSHOTCHUNK_RESULT"]._serialized_start = 5060 + _globals["_RESPONSEAPPLYSNAPSHOTCHUNK_RESULT"]._serialized_end = 5156 + _globals["_CONSENSUSPARAMS"]._serialized_start = 5159 + _globals["_CONSENSUSPARAMS"]._serialized_end = 5377 + _globals["_BLOCKPARAMS"]._serialized_start = 5379 + _globals["_BLOCKPARAMS"]._serialized_end = 5428 + _globals["_LASTCOMMITINFO"]._serialized_start = 5430 + _globals["_LASTCOMMITINFO"]._serialized_end = 5509 + _globals["_EVENT"]._serialized_start = 5511 + _globals["_EVENT"]._serialized_end = 5615 + _globals["_EVENTATTRIBUTE"]._serialized_start = 5617 + _globals["_EVENTATTRIBUTE"]._serialized_end = 5676 + _globals["_TXRESULT"]._serialized_start = 5678 + _globals["_TXRESULT"]._serialized_end = 5789 + _globals["_VALIDATOR"]._serialized_start = 5791 + _globals["_VALIDATOR"]._serialized_end = 5834 + _globals["_VALIDATORUPDATE"]._serialized_start = 5836 + _globals["_VALIDATORUPDATE"]._serialized_end = 5921 + _globals["_VOTEINFO"]._serialized_start = 5923 + _globals["_VOTEINFO"]._serialized_end = 6013 + _globals["_EVIDENCE"]._serialized_start = 6016 + _globals["_EVIDENCE"]._serialized_end = 6220 + _globals["_SNAPSHOT"]._serialized_start = 6222 + _globals["_SNAPSHOT"]._serialized_end = 6312 + _globals["_ABCIAPPLICATION"]._serialized_start = 6448 + _globals["_ABCIAPPLICATION"]._serialized_end = 7731 # @@protoc_insertion_point(module_scope) diff --git a/packages/valory/connections/abci/tendermint/crypto/keys_pb2.py b/packages/valory/connections/abci/tendermint/crypto/keys_pb2.py index caa4261a3a..dc00b90088 100644 --- a/packages/valory/connections/abci/tendermint/crypto/keys_pb2.py +++ b/packages/valory/connections/abci/tendermint/crypto/keys_pb2.py @@ -3,9 +3,9 @@ # source: tendermint/crypto/keys.proto """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder # @@protoc_insertion_point(imports) @@ -18,108 +18,22 @@ ) -DESCRIPTOR = _descriptor.FileDescriptor( - name="tendermint/crypto/keys.proto", - package="tendermint.crypto", - syntax="proto3", - serialized_options=b"Z8github.com/tendermint/tendermint/proto/tendermint/crypto", - create_key=_descriptor._internal_create_key, - serialized_pb=b'\n\x1ctendermint/crypto/keys.proto\x12\x11tendermint.crypto\x1a\x14gogoproto/gogo.proto"D\n\tPublicKey\x12\x11\n\x07\x65\x64\x32\x35\x35\x31\x39\x18\x01 \x01(\x0cH\x00\x12\x13\n\tsecp256k1\x18\x02 \x01(\x0cH\x00:\x08\xe8\xa1\x1f\x01\xe8\xa0\x1f\x01\x42\x05\n\x03sumB:Z8github.com/tendermint/tendermint/proto/tendermint/cryptob\x06proto3', - dependencies=[ - gogoproto_dot_gogo__pb2.DESCRIPTOR, - ], +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x1ctendermint/crypto/keys.proto\x12\x11tendermint.crypto\x1a\x14gogoproto/gogo.proto"D\n\tPublicKey\x12\x11\n\x07\x65\x64\x32\x35\x35\x31\x39\x18\x01 \x01(\x0cH\x00\x12\x13\n\tsecp256k1\x18\x02 \x01(\x0cH\x00:\x08\xe8\xa0\x1f\x01\xe8\xa1\x1f\x01\x42\x05\n\x03sumB:Z8github.com/tendermint/tendermint/proto/tendermint/cryptob\x06proto3' ) - -_PUBLICKEY = _descriptor.Descriptor( - name="PublicKey", - full_name="tendermint.crypto.PublicKey", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="ed25519", - full_name="tendermint.crypto.PublicKey.ed25519", - index=0, - number=1, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="secp256k1", - full_name="tendermint.crypto.PublicKey.secp256k1", - index=1, - number=2, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=b"\350\241\037\001\350\240\037\001", - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name="sum", - full_name="tendermint.crypto.PublicKey.sum", - index=0, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - ], - serialized_start=73, - serialized_end=141, -) - -_PUBLICKEY.oneofs_by_name["sum"].fields.append(_PUBLICKEY.fields_by_name["ed25519"]) -_PUBLICKEY.fields_by_name["ed25519"].containing_oneof = _PUBLICKEY.oneofs_by_name["sum"] -_PUBLICKEY.oneofs_by_name["sum"].fields.append(_PUBLICKEY.fields_by_name["secp256k1"]) -_PUBLICKEY.fields_by_name["secp256k1"].containing_oneof = _PUBLICKEY.oneofs_by_name[ - "sum" -] -DESCRIPTOR.message_types_by_name["PublicKey"] = _PUBLICKEY -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -PublicKey = _reflection.GeneratedProtocolMessageType( - "PublicKey", - (_message.Message,), - { - "DESCRIPTOR": _PUBLICKEY, - "__module__": "tendermint.crypto.keys_pb2" - # @@protoc_insertion_point(class_scope:tendermint.crypto.PublicKey) - }, +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "tendermint.crypto.keys_pb2", _globals ) -_sym_db.RegisterMessage(PublicKey) - - -DESCRIPTOR._options = None -_PUBLICKEY._options = None +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = ( + b"Z8github.com/tendermint/tendermint/proto/tendermint/crypto" + ) + _PUBLICKEY._options = None + _PUBLICKEY._serialized_options = b"\350\240\037\001\350\241\037\001" + _globals["_PUBLICKEY"]._serialized_start = 73 + _globals["_PUBLICKEY"]._serialized_end = 141 # @@protoc_insertion_point(module_scope) diff --git a/packages/valory/connections/abci/tendermint/crypto/proof_pb2.py b/packages/valory/connections/abci/tendermint/crypto/proof_pb2.py index 75050371a3..adf30b16e7 100644 --- a/packages/valory/connections/abci/tendermint/crypto/proof_pb2.py +++ b/packages/valory/connections/abci/tendermint/crypto/proof_pb2.py @@ -3,9 +3,9 @@ # source: tendermint/crypto/proof.proto """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder # @@protoc_insertion_point(imports) @@ -18,440 +18,30 @@ ) -DESCRIPTOR = _descriptor.FileDescriptor( - name="tendermint/crypto/proof.proto", - package="tendermint.crypto", - syntax="proto3", - serialized_options=b"Z8github.com/tendermint/tendermint/proto/tendermint/crypto", - create_key=_descriptor._internal_create_key, - serialized_pb=b'\n\x1dtendermint/crypto/proof.proto\x12\x11tendermint.crypto\x1a\x14gogoproto/gogo.proto"G\n\x05Proof\x12\r\n\x05total\x18\x01 \x01(\x03\x12\r\n\x05index\x18\x02 \x01(\x03\x12\x11\n\tleaf_hash\x18\x03 \x01(\x0c\x12\r\n\x05\x61unts\x18\x04 \x03(\x0c"?\n\x07ValueOp\x12\x0b\n\x03key\x18\x01 \x01(\x0c\x12\'\n\x05proof\x18\x02 \x01(\x0b\x32\x18.tendermint.crypto.Proof"6\n\x08\x44ominoOp\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05input\x18\x02 \x01(\t\x12\x0e\n\x06output\x18\x03 \x01(\t"2\n\x07ProofOp\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x0b\n\x03key\x18\x02 \x01(\x0c\x12\x0c\n\x04\x64\x61ta\x18\x03 \x01(\x0c"9\n\x08ProofOps\x12-\n\x03ops\x18\x01 \x03(\x0b\x32\x1a.tendermint.crypto.ProofOpB\x04\xc8\xde\x1f\x00\x42:Z8github.com/tendermint/tendermint/proto/tendermint/cryptob\x06proto3', - dependencies=[ - gogoproto_dot_gogo__pb2.DESCRIPTOR, - ], -) - - -_PROOF = _descriptor.Descriptor( - name="Proof", - full_name="tendermint.crypto.Proof", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="total", - full_name="tendermint.crypto.Proof.total", - index=0, - number=1, - type=3, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="index", - full_name="tendermint.crypto.Proof.index", - index=1, - number=2, - type=3, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="leaf_hash", - full_name="tendermint.crypto.Proof.leaf_hash", - index=2, - number=3, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="aunts", - full_name="tendermint.crypto.Proof.aunts", - index=3, - number=4, - type=12, - cpp_type=9, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=74, - serialized_end=145, -) - - -_VALUEOP = _descriptor.Descriptor( - name="ValueOp", - full_name="tendermint.crypto.ValueOp", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="key", - full_name="tendermint.crypto.ValueOp.key", - index=0, - number=1, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="proof", - full_name="tendermint.crypto.ValueOp.proof", - index=1, - number=2, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=147, - serialized_end=210, -) - - -_DOMINOOP = _descriptor.Descriptor( - name="DominoOp", - full_name="tendermint.crypto.DominoOp", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="key", - full_name="tendermint.crypto.DominoOp.key", - index=0, - number=1, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="input", - full_name="tendermint.crypto.DominoOp.input", - index=1, - number=2, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="output", - full_name="tendermint.crypto.DominoOp.output", - index=2, - number=3, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=212, - serialized_end=266, -) - - -_PROOFOP = _descriptor.Descriptor( - name="ProofOp", - full_name="tendermint.crypto.ProofOp", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="type", - full_name="tendermint.crypto.ProofOp.type", - index=0, - number=1, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="key", - full_name="tendermint.crypto.ProofOp.key", - index=1, - number=2, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="data", - full_name="tendermint.crypto.ProofOp.data", - index=2, - number=3, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=268, - serialized_end=318, -) - - -_PROOFOPS = _descriptor.Descriptor( - name="ProofOps", - full_name="tendermint.crypto.ProofOps", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="ops", - full_name="tendermint.crypto.ProofOps.ops", - index=0, - number=1, - type=11, - cpp_type=10, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\310\336\037\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=320, - serialized_end=377, -) - -_VALUEOP.fields_by_name["proof"].message_type = _PROOF -_PROOFOPS.fields_by_name["ops"].message_type = _PROOFOP -DESCRIPTOR.message_types_by_name["Proof"] = _PROOF -DESCRIPTOR.message_types_by_name["ValueOp"] = _VALUEOP -DESCRIPTOR.message_types_by_name["DominoOp"] = _DOMINOOP -DESCRIPTOR.message_types_by_name["ProofOp"] = _PROOFOP -DESCRIPTOR.message_types_by_name["ProofOps"] = _PROOFOPS -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -Proof = _reflection.GeneratedProtocolMessageType( - "Proof", - (_message.Message,), - { - "DESCRIPTOR": _PROOF, - "__module__": "tendermint.crypto.proof_pb2" - # @@protoc_insertion_point(class_scope:tendermint.crypto.Proof) - }, -) -_sym_db.RegisterMessage(Proof) - -ValueOp = _reflection.GeneratedProtocolMessageType( - "ValueOp", - (_message.Message,), - { - "DESCRIPTOR": _VALUEOP, - "__module__": "tendermint.crypto.proof_pb2" - # @@protoc_insertion_point(class_scope:tendermint.crypto.ValueOp) - }, -) -_sym_db.RegisterMessage(ValueOp) - -DominoOp = _reflection.GeneratedProtocolMessageType( - "DominoOp", - (_message.Message,), - { - "DESCRIPTOR": _DOMINOOP, - "__module__": "tendermint.crypto.proof_pb2" - # @@protoc_insertion_point(class_scope:tendermint.crypto.DominoOp) - }, -) -_sym_db.RegisterMessage(DominoOp) - -ProofOp = _reflection.GeneratedProtocolMessageType( - "ProofOp", - (_message.Message,), - { - "DESCRIPTOR": _PROOFOP, - "__module__": "tendermint.crypto.proof_pb2" - # @@protoc_insertion_point(class_scope:tendermint.crypto.ProofOp) - }, -) -_sym_db.RegisterMessage(ProofOp) - -ProofOps = _reflection.GeneratedProtocolMessageType( - "ProofOps", - (_message.Message,), - { - "DESCRIPTOR": _PROOFOPS, - "__module__": "tendermint.crypto.proof_pb2" - # @@protoc_insertion_point(class_scope:tendermint.crypto.ProofOps) - }, -) -_sym_db.RegisterMessage(ProofOps) - - -DESCRIPTOR._options = None -_PROOFOPS.fields_by_name["ops"]._options = None +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x1dtendermint/crypto/proof.proto\x12\x11tendermint.crypto\x1a\x14gogoproto/gogo.proto"G\n\x05Proof\x12\r\n\x05total\x18\x01 \x01(\x03\x12\r\n\x05index\x18\x02 \x01(\x03\x12\x11\n\tleaf_hash\x18\x03 \x01(\x0c\x12\r\n\x05\x61unts\x18\x04 \x03(\x0c"?\n\x07ValueOp\x12\x0b\n\x03key\x18\x01 \x01(\x0c\x12\'\n\x05proof\x18\x02 \x01(\x0b\x32\x18.tendermint.crypto.Proof"6\n\x08\x44ominoOp\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05input\x18\x02 \x01(\t\x12\x0e\n\x06output\x18\x03 \x01(\t"2\n\x07ProofOp\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x0b\n\x03key\x18\x02 \x01(\x0c\x12\x0c\n\x04\x64\x61ta\x18\x03 \x01(\x0c"9\n\x08ProofOps\x12-\n\x03ops\x18\x01 \x03(\x0b\x32\x1a.tendermint.crypto.ProofOpB\x04\xc8\xde\x1f\x00\x42:Z8github.com/tendermint/tendermint/proto/tendermint/cryptob\x06proto3' +) + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "tendermint.crypto.proof_pb2", _globals +) +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = ( + b"Z8github.com/tendermint/tendermint/proto/tendermint/crypto" + ) + _PROOFOPS.fields_by_name["ops"]._options = None + _PROOFOPS.fields_by_name["ops"]._serialized_options = b"\310\336\037\000" + _globals["_PROOF"]._serialized_start = 74 + _globals["_PROOF"]._serialized_end = 145 + _globals["_VALUEOP"]._serialized_start = 147 + _globals["_VALUEOP"]._serialized_end = 210 + _globals["_DOMINOOP"]._serialized_start = 212 + _globals["_DOMINOOP"]._serialized_end = 266 + _globals["_PROOFOP"]._serialized_start = 268 + _globals["_PROOFOP"]._serialized_end = 318 + _globals["_PROOFOPS"]._serialized_start = 320 + _globals["_PROOFOPS"]._serialized_end = 377 # @@protoc_insertion_point(module_scope) diff --git a/packages/valory/connections/abci/tendermint/types/params_pb2.py b/packages/valory/connections/abci/tendermint/types/params_pb2.py index 6a9d1df49c..c94e411446 100644 --- a/packages/valory/connections/abci/tendermint/types/params_pb2.py +++ b/packages/valory/connections/abci/tendermint/types/params_pb2.py @@ -3,9 +3,9 @@ # source: tendermint/types/params.proto """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder # @@protoc_insertion_point(imports) @@ -20,505 +20,50 @@ ) -DESCRIPTOR = _descriptor.FileDescriptor( - name="tendermint/types/params.proto", - package="tendermint.types", - syntax="proto3", - serialized_options=b"Z7github.com/tendermint/tendermint/proto/tendermint/types\250\342\036\001", - create_key=_descriptor._internal_create_key, - serialized_pb=b'\n\x1dtendermint/types/params.proto\x12\x10tendermint.types\x1a\x14gogoproto/gogo.proto\x1a\x1egoogle/protobuf/duration.proto"\xf3\x01\n\x0f\x43onsensusParams\x12\x32\n\x05\x62lock\x18\x01 \x01(\x0b\x32\x1d.tendermint.types.BlockParamsB\x04\xc8\xde\x1f\x00\x12\x38\n\x08\x65vidence\x18\x02 \x01(\x0b\x32 .tendermint.types.EvidenceParamsB\x04\xc8\xde\x1f\x00\x12:\n\tvalidator\x18\x03 \x01(\x0b\x32!.tendermint.types.ValidatorParamsB\x04\xc8\xde\x1f\x00\x12\x36\n\x07version\x18\x04 \x01(\x0b\x32\x1f.tendermint.types.VersionParamsB\x04\xc8\xde\x1f\x00"G\n\x0b\x42lockParams\x12\x11\n\tmax_bytes\x18\x01 \x01(\x03\x12\x0f\n\x07max_gas\x18\x02 \x01(\x03\x12\x14\n\x0ctime_iota_ms\x18\x03 \x01(\x03"~\n\x0e\x45videnceParams\x12\x1a\n\x12max_age_num_blocks\x18\x01 \x01(\x03\x12=\n\x10max_age_duration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x08\xc8\xde\x1f\x00\x98\xdf\x1f\x01\x12\x11\n\tmax_bytes\x18\x03 \x01(\x03"2\n\x0fValidatorParams\x12\x15\n\rpub_key_types\x18\x01 \x03(\t:\x08\xb8\xa0\x1f\x01\xe8\xa0\x1f\x01".\n\rVersionParams\x12\x13\n\x0b\x61pp_version\x18\x01 \x01(\x04:\x08\xb8\xa0\x1f\x01\xe8\xa0\x1f\x01">\n\x0cHashedParams\x12\x17\n\x0f\x62lock_max_bytes\x18\x01 \x01(\x03\x12\x15\n\rblock_max_gas\x18\x02 \x01(\x03\x42=Z7github.com/tendermint/tendermint/proto/tendermint/types\xa8\xe2\x1e\x01\x62\x06proto3', - dependencies=[ - gogoproto_dot_gogo__pb2.DESCRIPTOR, - google_dot_protobuf_dot_duration__pb2.DESCRIPTOR, - ], +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x1dtendermint/types/params.proto\x12\x10tendermint.types\x1a\x14gogoproto/gogo.proto\x1a\x1egoogle/protobuf/duration.proto"\xf3\x01\n\x0f\x43onsensusParams\x12\x32\n\x05\x62lock\x18\x01 \x01(\x0b\x32\x1d.tendermint.types.BlockParamsB\x04\xc8\xde\x1f\x00\x12\x38\n\x08\x65vidence\x18\x02 \x01(\x0b\x32 .tendermint.types.EvidenceParamsB\x04\xc8\xde\x1f\x00\x12:\n\tvalidator\x18\x03 \x01(\x0b\x32!.tendermint.types.ValidatorParamsB\x04\xc8\xde\x1f\x00\x12\x36\n\x07version\x18\x04 \x01(\x0b\x32\x1f.tendermint.types.VersionParamsB\x04\xc8\xde\x1f\x00"G\n\x0b\x42lockParams\x12\x11\n\tmax_bytes\x18\x01 \x01(\x03\x12\x0f\n\x07max_gas\x18\x02 \x01(\x03\x12\x14\n\x0ctime_iota_ms\x18\x03 \x01(\x03"~\n\x0e\x45videnceParams\x12\x1a\n\x12max_age_num_blocks\x18\x01 \x01(\x03\x12=\n\x10max_age_duration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x08\xc8\xde\x1f\x00\x98\xdf\x1f\x01\x12\x11\n\tmax_bytes\x18\x03 \x01(\x03"2\n\x0fValidatorParams\x12\x15\n\rpub_key_types\x18\x01 \x03(\t:\x08\xb8\xa0\x1f\x01\xe8\xa0\x1f\x01".\n\rVersionParams\x12\x13\n\x0b\x61pp_version\x18\x01 \x01(\x04:\x08\xb8\xa0\x1f\x01\xe8\xa0\x1f\x01">\n\x0cHashedParams\x12\x17\n\x0f\x62lock_max_bytes\x18\x01 \x01(\x03\x12\x15\n\rblock_max_gas\x18\x02 \x01(\x03\x42=Z7github.com/tendermint/tendermint/proto/tendermint/types\xa8\xe2\x1e\x01\x62\x06proto3' ) - -_CONSENSUSPARAMS = _descriptor.Descriptor( - name="ConsensusParams", - full_name="tendermint.types.ConsensusParams", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="block", - full_name="tendermint.types.ConsensusParams.block", - index=0, - number=1, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\310\336\037\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="evidence", - full_name="tendermint.types.ConsensusParams.evidence", - index=1, - number=2, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\310\336\037\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="validator", - full_name="tendermint.types.ConsensusParams.validator", - index=2, - number=3, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\310\336\037\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="version", - full_name="tendermint.types.ConsensusParams.version", - index=3, - number=4, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\310\336\037\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=106, - serialized_end=349, -) - - -_BLOCKPARAMS = _descriptor.Descriptor( - name="BlockParams", - full_name="tendermint.types.BlockParams", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="max_bytes", - full_name="tendermint.types.BlockParams.max_bytes", - index=0, - number=1, - type=3, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="max_gas", - full_name="tendermint.types.BlockParams.max_gas", - index=1, - number=2, - type=3, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="time_iota_ms", - full_name="tendermint.types.BlockParams.time_iota_ms", - index=2, - number=3, - type=3, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=351, - serialized_end=422, -) - - -_EVIDENCEPARAMS = _descriptor.Descriptor( - name="EvidenceParams", - full_name="tendermint.types.EvidenceParams", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="max_age_num_blocks", - full_name="tendermint.types.EvidenceParams.max_age_num_blocks", - index=0, - number=1, - type=3, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="max_age_duration", - full_name="tendermint.types.EvidenceParams.max_age_duration", - index=1, - number=2, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\310\336\037\000\230\337\037\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="max_bytes", - full_name="tendermint.types.EvidenceParams.max_bytes", - index=2, - number=3, - type=3, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=424, - serialized_end=550, -) - - -_VALIDATORPARAMS = _descriptor.Descriptor( - name="ValidatorParams", - full_name="tendermint.types.ValidatorParams", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="pub_key_types", - full_name="tendermint.types.ValidatorParams.pub_key_types", - index=0, - number=1, - type=9, - cpp_type=9, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=b"\270\240\037\001\350\240\037\001", - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=552, - serialized_end=602, -) - - -_VERSIONPARAMS = _descriptor.Descriptor( - name="VersionParams", - full_name="tendermint.types.VersionParams", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="app_version", - full_name="tendermint.types.VersionParams.app_version", - index=0, - number=1, - type=4, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=b"\270\240\037\001\350\240\037\001", - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=604, - serialized_end=650, -) - - -_HASHEDPARAMS = _descriptor.Descriptor( - name="HashedParams", - full_name="tendermint.types.HashedParams", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="block_max_bytes", - full_name="tendermint.types.HashedParams.block_max_bytes", - index=0, - number=1, - type=3, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="block_max_gas", - full_name="tendermint.types.HashedParams.block_max_gas", - index=1, - number=2, - type=3, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=652, - serialized_end=714, +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "tendermint.types.params_pb2", _globals ) - -_CONSENSUSPARAMS.fields_by_name["block"].message_type = _BLOCKPARAMS -_CONSENSUSPARAMS.fields_by_name["evidence"].message_type = _EVIDENCEPARAMS -_CONSENSUSPARAMS.fields_by_name["validator"].message_type = _VALIDATORPARAMS -_CONSENSUSPARAMS.fields_by_name["version"].message_type = _VERSIONPARAMS -_EVIDENCEPARAMS.fields_by_name[ - "max_age_duration" -].message_type = google_dot_protobuf_dot_duration__pb2._DURATION -DESCRIPTOR.message_types_by_name["ConsensusParams"] = _CONSENSUSPARAMS -DESCRIPTOR.message_types_by_name["BlockParams"] = _BLOCKPARAMS -DESCRIPTOR.message_types_by_name["EvidenceParams"] = _EVIDENCEPARAMS -DESCRIPTOR.message_types_by_name["ValidatorParams"] = _VALIDATORPARAMS -DESCRIPTOR.message_types_by_name["VersionParams"] = _VERSIONPARAMS -DESCRIPTOR.message_types_by_name["HashedParams"] = _HASHEDPARAMS -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -ConsensusParams = _reflection.GeneratedProtocolMessageType( - "ConsensusParams", - (_message.Message,), - { - "DESCRIPTOR": _CONSENSUSPARAMS, - "__module__": "tendermint.types.params_pb2" - # @@protoc_insertion_point(class_scope:tendermint.types.ConsensusParams) - }, -) -_sym_db.RegisterMessage(ConsensusParams) - -BlockParams = _reflection.GeneratedProtocolMessageType( - "BlockParams", - (_message.Message,), - { - "DESCRIPTOR": _BLOCKPARAMS, - "__module__": "tendermint.types.params_pb2" - # @@protoc_insertion_point(class_scope:tendermint.types.BlockParams) - }, -) -_sym_db.RegisterMessage(BlockParams) - -EvidenceParams = _reflection.GeneratedProtocolMessageType( - "EvidenceParams", - (_message.Message,), - { - "DESCRIPTOR": _EVIDENCEPARAMS, - "__module__": "tendermint.types.params_pb2" - # @@protoc_insertion_point(class_scope:tendermint.types.EvidenceParams) - }, -) -_sym_db.RegisterMessage(EvidenceParams) - -ValidatorParams = _reflection.GeneratedProtocolMessageType( - "ValidatorParams", - (_message.Message,), - { - "DESCRIPTOR": _VALIDATORPARAMS, - "__module__": "tendermint.types.params_pb2" - # @@protoc_insertion_point(class_scope:tendermint.types.ValidatorParams) - }, -) -_sym_db.RegisterMessage(ValidatorParams) - -VersionParams = _reflection.GeneratedProtocolMessageType( - "VersionParams", - (_message.Message,), - { - "DESCRIPTOR": _VERSIONPARAMS, - "__module__": "tendermint.types.params_pb2" - # @@protoc_insertion_point(class_scope:tendermint.types.VersionParams) - }, -) -_sym_db.RegisterMessage(VersionParams) - -HashedParams = _reflection.GeneratedProtocolMessageType( - "HashedParams", - (_message.Message,), - { - "DESCRIPTOR": _HASHEDPARAMS, - "__module__": "tendermint.types.params_pb2" - # @@protoc_insertion_point(class_scope:tendermint.types.HashedParams) - }, -) -_sym_db.RegisterMessage(HashedParams) - - -DESCRIPTOR._options = None -_CONSENSUSPARAMS.fields_by_name["block"]._options = None -_CONSENSUSPARAMS.fields_by_name["evidence"]._options = None -_CONSENSUSPARAMS.fields_by_name["validator"]._options = None -_CONSENSUSPARAMS.fields_by_name["version"]._options = None -_EVIDENCEPARAMS.fields_by_name["max_age_duration"]._options = None -_VALIDATORPARAMS._options = None -_VERSIONPARAMS._options = None +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = ( + b"Z7github.com/tendermint/tendermint/proto/tendermint/types\250\342\036\001" + ) + _CONSENSUSPARAMS.fields_by_name["block"]._options = None + _CONSENSUSPARAMS.fields_by_name["block"]._serialized_options = b"\310\336\037\000" + _CONSENSUSPARAMS.fields_by_name["evidence"]._options = None + _CONSENSUSPARAMS.fields_by_name[ + "evidence" + ]._serialized_options = b"\310\336\037\000" + _CONSENSUSPARAMS.fields_by_name["validator"]._options = None + _CONSENSUSPARAMS.fields_by_name[ + "validator" + ]._serialized_options = b"\310\336\037\000" + _CONSENSUSPARAMS.fields_by_name["version"]._options = None + _CONSENSUSPARAMS.fields_by_name["version"]._serialized_options = b"\310\336\037\000" + _EVIDENCEPARAMS.fields_by_name["max_age_duration"]._options = None + _EVIDENCEPARAMS.fields_by_name[ + "max_age_duration" + ]._serialized_options = b"\310\336\037\000\230\337\037\001" + _VALIDATORPARAMS._options = None + _VALIDATORPARAMS._serialized_options = b"\270\240\037\001\350\240\037\001" + _VERSIONPARAMS._options = None + _VERSIONPARAMS._serialized_options = b"\270\240\037\001\350\240\037\001" + _globals["_CONSENSUSPARAMS"]._serialized_start = 106 + _globals["_CONSENSUSPARAMS"]._serialized_end = 349 + _globals["_BLOCKPARAMS"]._serialized_start = 351 + _globals["_BLOCKPARAMS"]._serialized_end = 422 + _globals["_EVIDENCEPARAMS"]._serialized_start = 424 + _globals["_EVIDENCEPARAMS"]._serialized_end = 550 + _globals["_VALIDATORPARAMS"]._serialized_start = 552 + _globals["_VALIDATORPARAMS"]._serialized_end = 602 + _globals["_VERSIONPARAMS"]._serialized_start = 604 + _globals["_VERSIONPARAMS"]._serialized_end = 650 + _globals["_HASHEDPARAMS"]._serialized_start = 652 + _globals["_HASHEDPARAMS"]._serialized_end = 714 # @@protoc_insertion_point(module_scope) diff --git a/packages/valory/connections/abci/tendermint/types/types_pb2.py b/packages/valory/connections/abci/tendermint/types/types_pb2.py index f9a0da590e..1818466ed0 100644 --- a/packages/valory/connections/abci/tendermint/types/types_pb2.py +++ b/packages/valory/connections/abci/tendermint/types/types_pb2.py @@ -3,10 +3,9 @@ # source: tendermint/types/types.proto """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import enum_type_wrapper +from google.protobuf.internal import builder as _builder # @@protoc_insertion_point(imports) @@ -30,1698 +29,130 @@ ) -DESCRIPTOR = _descriptor.FileDescriptor( - name="tendermint/types/types.proto", - package="tendermint.types", - syntax="proto3", - serialized_options=b"Z7github.com/tendermint/tendermint/proto/tendermint/types", - create_key=_descriptor._internal_create_key, - serialized_pb=b'\n\x1ctendermint/types/types.proto\x12\x10tendermint.types\x1a\x14gogoproto/gogo.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1dtendermint/crypto/proof.proto\x1a\x1etendermint/version/types.proto\x1a tendermint/types/validator.proto",\n\rPartSetHeader\x12\r\n\x05total\x18\x01 \x01(\r\x12\x0c\n\x04hash\x18\x02 \x01(\x0c"S\n\x04Part\x12\r\n\x05index\x18\x01 \x01(\r\x12\r\n\x05\x62ytes\x18\x02 \x01(\x0c\x12-\n\x05proof\x18\x03 \x01(\x0b\x32\x18.tendermint.crypto.ProofB\x04\xc8\xde\x1f\x00"W\n\x07\x42lockID\x12\x0c\n\x04hash\x18\x01 \x01(\x0c\x12>\n\x0fpart_set_header\x18\x02 \x01(\x0b\x32\x1f.tendermint.types.PartSetHeaderB\x04\xc8\xde\x1f\x00"\xb3\x03\n\x06Header\x12\x34\n\x07version\x18\x01 \x01(\x0b\x32\x1d.tendermint.version.ConsensusB\x04\xc8\xde\x1f\x00\x12\x1d\n\x08\x63hain_id\x18\x02 \x01(\tB\x0b\xe2\xde\x1f\x07\x43hainID\x12\x0e\n\x06height\x18\x03 \x01(\x03\x12\x32\n\x04time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x36\n\rlast_block_id\x18\x05 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x04\xc8\xde\x1f\x00\x12\x18\n\x10last_commit_hash\x18\x06 \x01(\x0c\x12\x11\n\tdata_hash\x18\x07 \x01(\x0c\x12\x17\n\x0fvalidators_hash\x18\x08 \x01(\x0c\x12\x1c\n\x14next_validators_hash\x18\t \x01(\x0c\x12\x16\n\x0e\x63onsensus_hash\x18\n \x01(\x0c\x12\x10\n\x08\x61pp_hash\x18\x0b \x01(\x0c\x12\x19\n\x11last_results_hash\x18\x0c \x01(\x0c\x12\x15\n\revidence_hash\x18\r \x01(\x0c\x12\x18\n\x10proposer_address\x18\x0e \x01(\x0c"\x13\n\x04\x44\x61ta\x12\x0b\n\x03txs\x18\x01 \x03(\x0c"\x92\x02\n\x04Vote\x12-\n\x04type\x18\x01 \x01(\x0e\x32\x1f.tendermint.types.SignedMsgType\x12\x0e\n\x06height\x18\x02 \x01(\x03\x12\r\n\x05round\x18\x03 \x01(\x05\x12<\n\x08\x62lock_id\x18\x04 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockID\x12\x37\n\ttimestamp\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x19\n\x11validator_address\x18\x06 \x01(\x0c\x12\x17\n\x0fvalidator_index\x18\x07 \x01(\x05\x12\x11\n\tsignature\x18\x08 \x01(\x0c"\x9c\x01\n\x06\x43ommit\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\r\n\x05round\x18\x02 \x01(\x05\x12<\n\x08\x62lock_id\x18\x03 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockID\x12\x35\n\nsignatures\x18\x04 \x03(\x0b\x32\x1b.tendermint.types.CommitSigB\x04\xc8\xde\x1f\x00"\xa8\x01\n\tCommitSig\x12\x34\n\rblock_id_flag\x18\x01 \x01(\x0e\x32\x1d.tendermint.types.BlockIDFlag\x12\x19\n\x11validator_address\x18\x02 \x01(\x0c\x12\x37\n\ttimestamp\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x11\n\tsignature\x18\x04 \x01(\x0c"\xf5\x01\n\x08Proposal\x12-\n\x04type\x18\x01 \x01(\x0e\x32\x1f.tendermint.types.SignedMsgType\x12\x0e\n\x06height\x18\x02 \x01(\x03\x12\r\n\x05round\x18\x03 \x01(\x05\x12\x11\n\tpol_round\x18\x04 \x01(\x05\x12<\n\x08\x62lock_id\x18\x05 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xe2\xde\x1f\x07\x42lockID\xc8\xde\x1f\x00\x12\x37\n\ttimestamp\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x11\n\tsignature\x18\x07 \x01(\x0c"b\n\x0cSignedHeader\x12(\n\x06header\x18\x01 \x01(\x0b\x32\x18.tendermint.types.Header\x12(\n\x06\x63ommit\x18\x02 \x01(\x0b\x32\x18.tendermint.types.Commit"z\n\nLightBlock\x12\x35\n\rsigned_header\x18\x01 \x01(\x0b\x32\x1e.tendermint.types.SignedHeader\x12\x35\n\rvalidator_set\x18\x02 \x01(\x0b\x32\x1e.tendermint.types.ValidatorSet"\x9e\x01\n\tBlockMeta\x12<\n\x08\x62lock_id\x18\x01 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xe2\xde\x1f\x07\x42lockID\xc8\xde\x1f\x00\x12\x12\n\nblock_size\x18\x02 \x01(\x03\x12.\n\x06header\x18\x03 \x01(\x0b\x32\x18.tendermint.types.HeaderB\x04\xc8\xde\x1f\x00\x12\x0f\n\x07num_txs\x18\x04 \x01(\x03"S\n\x07TxProof\x12\x11\n\troot_hash\x18\x01 \x01(\x0c\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x12\'\n\x05proof\x18\x03 \x01(\x0b\x32\x18.tendermint.crypto.Proof*\xd7\x01\n\x0b\x42lockIDFlag\x12\x31\n\x15\x42LOCK_ID_FLAG_UNKNOWN\x10\x00\x1a\x16\x8a\x9d \x12\x42lockIDFlagUnknown\x12/\n\x14\x42LOCK_ID_FLAG_ABSENT\x10\x01\x1a\x15\x8a\x9d \x11\x42lockIDFlagAbsent\x12/\n\x14\x42LOCK_ID_FLAG_COMMIT\x10\x02\x1a\x15\x8a\x9d \x11\x42lockIDFlagCommit\x12)\n\x11\x42LOCK_ID_FLAG_NIL\x10\x03\x1a\x12\x8a\x9d \x0e\x42lockIDFlagNil\x1a\x08\xa8\xa4\x1e\x01\x88\xa3\x1e\x00*\xd7\x01\n\rSignedMsgType\x12,\n\x17SIGNED_MSG_TYPE_UNKNOWN\x10\x00\x1a\x0f\x8a\x9d \x0bUnknownType\x12,\n\x17SIGNED_MSG_TYPE_PREVOTE\x10\x01\x1a\x0f\x8a\x9d \x0bPrevoteType\x12\x30\n\x19SIGNED_MSG_TYPE_PRECOMMIT\x10\x02\x1a\x11\x8a\x9d \rPrecommitType\x12.\n\x18SIGNED_MSG_TYPE_PROPOSAL\x10 \x1a\x10\x8a\x9d \x0cProposalType\x1a\x08\xa8\xa4\x1e\x01\x88\xa3\x1e\x00\x42\x39Z7github.com/tendermint/tendermint/proto/tendermint/typesb\x06proto3', - dependencies=[ - gogoproto_dot_gogo__pb2.DESCRIPTOR, - google_dot_protobuf_dot_timestamp__pb2.DESCRIPTOR, - tendermint_dot_crypto_dot_proof__pb2.DESCRIPTOR, - tendermint_dot_version_dot_types__pb2.DESCRIPTOR, - tendermint_dot_types_dot_validator__pb2.DESCRIPTOR, - ], -) - -_BLOCKIDFLAG = _descriptor.EnumDescriptor( - name="BlockIDFlag", - full_name="tendermint.types.BlockIDFlag", - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name="BLOCK_ID_FLAG_UNKNOWN", - index=0, - number=0, - serialized_options=b"\212\235 \022BlockIDFlagUnknown", - type=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.EnumValueDescriptor( - name="BLOCK_ID_FLAG_ABSENT", - index=1, - number=1, - serialized_options=b"\212\235 \021BlockIDFlagAbsent", - type=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.EnumValueDescriptor( - name="BLOCK_ID_FLAG_COMMIT", - index=2, - number=2, - serialized_options=b"\212\235 \021BlockIDFlagCommit", - type=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.EnumValueDescriptor( - name="BLOCK_ID_FLAG_NIL", - index=3, - number=3, - serialized_options=b"\212\235 \016BlockIDFlagNil", - type=None, - create_key=_descriptor._internal_create_key, - ), - ], - containing_type=None, - serialized_options=b"\250\244\036\001\210\243\036\000", - serialized_start=2207, - serialized_end=2422, -) -_sym_db.RegisterEnumDescriptor(_BLOCKIDFLAG) - -BlockIDFlag = enum_type_wrapper.EnumTypeWrapper(_BLOCKIDFLAG) -_SIGNEDMSGTYPE = _descriptor.EnumDescriptor( - name="SignedMsgType", - full_name="tendermint.types.SignedMsgType", - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name="SIGNED_MSG_TYPE_UNKNOWN", - index=0, - number=0, - serialized_options=b"\212\235 \013UnknownType", - type=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.EnumValueDescriptor( - name="SIGNED_MSG_TYPE_PREVOTE", - index=1, - number=1, - serialized_options=b"\212\235 \013PrevoteType", - type=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.EnumValueDescriptor( - name="SIGNED_MSG_TYPE_PRECOMMIT", - index=2, - number=2, - serialized_options=b"\212\235 \rPrecommitType", - type=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.EnumValueDescriptor( - name="SIGNED_MSG_TYPE_PROPOSAL", - index=3, - number=32, - serialized_options=b"\212\235 \014ProposalType", - type=None, - create_key=_descriptor._internal_create_key, - ), - ], - containing_type=None, - serialized_options=b"\250\244\036\001\210\243\036\000", - serialized_start=2425, - serialized_end=2640, -) -_sym_db.RegisterEnumDescriptor(_SIGNEDMSGTYPE) - -SignedMsgType = enum_type_wrapper.EnumTypeWrapper(_SIGNEDMSGTYPE) -BLOCK_ID_FLAG_UNKNOWN = 0 -BLOCK_ID_FLAG_ABSENT = 1 -BLOCK_ID_FLAG_COMMIT = 2 -BLOCK_ID_FLAG_NIL = 3 -SIGNED_MSG_TYPE_UNKNOWN = 0 -SIGNED_MSG_TYPE_PREVOTE = 1 -SIGNED_MSG_TYPE_PRECOMMIT = 2 -SIGNED_MSG_TYPE_PROPOSAL = 32 - - -_PARTSETHEADER = _descriptor.Descriptor( - name="PartSetHeader", - full_name="tendermint.types.PartSetHeader", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="total", - full_name="tendermint.types.PartSetHeader.total", - index=0, - number=1, - type=13, - cpp_type=3, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="hash", - full_name="tendermint.types.PartSetHeader.hash", - index=1, - number=2, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=202, - serialized_end=246, -) - - -_PART = _descriptor.Descriptor( - name="Part", - full_name="tendermint.types.Part", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="index", - full_name="tendermint.types.Part.index", - index=0, - number=1, - type=13, - cpp_type=3, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="bytes", - full_name="tendermint.types.Part.bytes", - index=1, - number=2, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="proof", - full_name="tendermint.types.Part.proof", - index=2, - number=3, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\310\336\037\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=248, - serialized_end=331, -) - - -_BLOCKID = _descriptor.Descriptor( - name="BlockID", - full_name="tendermint.types.BlockID", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="hash", - full_name="tendermint.types.BlockID.hash", - index=0, - number=1, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="part_set_header", - full_name="tendermint.types.BlockID.part_set_header", - index=1, - number=2, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\310\336\037\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=333, - serialized_end=420, -) - - -_HEADER = _descriptor.Descriptor( - name="Header", - full_name="tendermint.types.Header", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="version", - full_name="tendermint.types.Header.version", - index=0, - number=1, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\310\336\037\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="chain_id", - full_name="tendermint.types.Header.chain_id", - index=1, - number=2, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\342\336\037\007ChainID", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="height", - full_name="tendermint.types.Header.height", - index=2, - number=3, - type=3, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="time", - full_name="tendermint.types.Header.time", - index=3, - number=4, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\310\336\037\000\220\337\037\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="last_block_id", - full_name="tendermint.types.Header.last_block_id", - index=4, - number=5, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\310\336\037\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="last_commit_hash", - full_name="tendermint.types.Header.last_commit_hash", - index=5, - number=6, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="data_hash", - full_name="tendermint.types.Header.data_hash", - index=6, - number=7, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="validators_hash", - full_name="tendermint.types.Header.validators_hash", - index=7, - number=8, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="next_validators_hash", - full_name="tendermint.types.Header.next_validators_hash", - index=8, - number=9, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="consensus_hash", - full_name="tendermint.types.Header.consensus_hash", - index=9, - number=10, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="app_hash", - full_name="tendermint.types.Header.app_hash", - index=10, - number=11, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="last_results_hash", - full_name="tendermint.types.Header.last_results_hash", - index=11, - number=12, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="evidence_hash", - full_name="tendermint.types.Header.evidence_hash", - index=12, - number=13, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="proposer_address", - full_name="tendermint.types.Header.proposer_address", - index=13, - number=14, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=423, - serialized_end=858, -) - - -_DATA = _descriptor.Descriptor( - name="Data", - full_name="tendermint.types.Data", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="txs", - full_name="tendermint.types.Data.txs", - index=0, - number=1, - type=12, - cpp_type=9, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=860, - serialized_end=879, -) - - -_VOTE = _descriptor.Descriptor( - name="Vote", - full_name="tendermint.types.Vote", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="type", - full_name="tendermint.types.Vote.type", - index=0, - number=1, - type=14, - cpp_type=8, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="height", - full_name="tendermint.types.Vote.height", - index=1, - number=2, - type=3, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="round", - full_name="tendermint.types.Vote.round", - index=2, - number=3, - type=5, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="block_id", - full_name="tendermint.types.Vote.block_id", - index=3, - number=4, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\310\336\037\000\342\336\037\007BlockID", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="timestamp", - full_name="tendermint.types.Vote.timestamp", - index=4, - number=5, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\310\336\037\000\220\337\037\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="validator_address", - full_name="tendermint.types.Vote.validator_address", - index=5, - number=6, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="validator_index", - full_name="tendermint.types.Vote.validator_index", - index=6, - number=7, - type=5, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="signature", - full_name="tendermint.types.Vote.signature", - index=7, - number=8, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=882, - serialized_end=1156, -) - - -_COMMIT = _descriptor.Descriptor( - name="Commit", - full_name="tendermint.types.Commit", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="height", - full_name="tendermint.types.Commit.height", - index=0, - number=1, - type=3, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="round", - full_name="tendermint.types.Commit.round", - index=1, - number=2, - type=5, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="block_id", - full_name="tendermint.types.Commit.block_id", - index=2, - number=3, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\310\336\037\000\342\336\037\007BlockID", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="signatures", - full_name="tendermint.types.Commit.signatures", - index=3, - number=4, - type=11, - cpp_type=10, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\310\336\037\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=1159, - serialized_end=1315, -) - - -_COMMITSIG = _descriptor.Descriptor( - name="CommitSig", - full_name="tendermint.types.CommitSig", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="block_id_flag", - full_name="tendermint.types.CommitSig.block_id_flag", - index=0, - number=1, - type=14, - cpp_type=8, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="validator_address", - full_name="tendermint.types.CommitSig.validator_address", - index=1, - number=2, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="timestamp", - full_name="tendermint.types.CommitSig.timestamp", - index=2, - number=3, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\310\336\037\000\220\337\037\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="signature", - full_name="tendermint.types.CommitSig.signature", - index=3, - number=4, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=1318, - serialized_end=1486, -) - - -_PROPOSAL = _descriptor.Descriptor( - name="Proposal", - full_name="tendermint.types.Proposal", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="type", - full_name="tendermint.types.Proposal.type", - index=0, - number=1, - type=14, - cpp_type=8, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="height", - full_name="tendermint.types.Proposal.height", - index=1, - number=2, - type=3, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="round", - full_name="tendermint.types.Proposal.round", - index=2, - number=3, - type=5, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="pol_round", - full_name="tendermint.types.Proposal.pol_round", - index=3, - number=4, - type=5, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="block_id", - full_name="tendermint.types.Proposal.block_id", - index=4, - number=5, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\342\336\037\007BlockID\310\336\037\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="timestamp", - full_name="tendermint.types.Proposal.timestamp", - index=5, - number=6, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\310\336\037\000\220\337\037\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="signature", - full_name="tendermint.types.Proposal.signature", - index=6, - number=7, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=1489, - serialized_end=1734, -) - - -_SIGNEDHEADER = _descriptor.Descriptor( - name="SignedHeader", - full_name="tendermint.types.SignedHeader", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="header", - full_name="tendermint.types.SignedHeader.header", - index=0, - number=1, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="commit", - full_name="tendermint.types.SignedHeader.commit", - index=1, - number=2, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=1736, - serialized_end=1834, -) - - -_LIGHTBLOCK = _descriptor.Descriptor( - name="LightBlock", - full_name="tendermint.types.LightBlock", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="signed_header", - full_name="tendermint.types.LightBlock.signed_header", - index=0, - number=1, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="validator_set", - full_name="tendermint.types.LightBlock.validator_set", - index=1, - number=2, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=1836, - serialized_end=1958, -) - - -_BLOCKMETA = _descriptor.Descriptor( - name="BlockMeta", - full_name="tendermint.types.BlockMeta", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="block_id", - full_name="tendermint.types.BlockMeta.block_id", - index=0, - number=1, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\342\336\037\007BlockID\310\336\037\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="block_size", - full_name="tendermint.types.BlockMeta.block_size", - index=1, - number=2, - type=3, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="header", - full_name="tendermint.types.BlockMeta.header", - index=2, - number=3, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\310\336\037\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="num_txs", - full_name="tendermint.types.BlockMeta.num_txs", - index=3, - number=4, - type=3, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=1961, - serialized_end=2119, -) - - -_TXPROOF = _descriptor.Descriptor( - name="TxProof", - full_name="tendermint.types.TxProof", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="root_hash", - full_name="tendermint.types.TxProof.root_hash", - index=0, - number=1, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="data", - full_name="tendermint.types.TxProof.data", - index=1, - number=2, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="proof", - full_name="tendermint.types.TxProof.proof", - index=2, - number=3, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=2121, - serialized_end=2204, -) - -_PART.fields_by_name["proof"].message_type = tendermint_dot_crypto_dot_proof__pb2._PROOF -_BLOCKID.fields_by_name["part_set_header"].message_type = _PARTSETHEADER -_HEADER.fields_by_name[ - "version" -].message_type = tendermint_dot_version_dot_types__pb2._CONSENSUS -_HEADER.fields_by_name[ - "time" -].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP -_HEADER.fields_by_name["last_block_id"].message_type = _BLOCKID -_VOTE.fields_by_name["type"].enum_type = _SIGNEDMSGTYPE -_VOTE.fields_by_name["block_id"].message_type = _BLOCKID -_VOTE.fields_by_name[ - "timestamp" -].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP -_COMMIT.fields_by_name["block_id"].message_type = _BLOCKID -_COMMIT.fields_by_name["signatures"].message_type = _COMMITSIG -_COMMITSIG.fields_by_name["block_id_flag"].enum_type = _BLOCKIDFLAG -_COMMITSIG.fields_by_name[ - "timestamp" -].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP -_PROPOSAL.fields_by_name["type"].enum_type = _SIGNEDMSGTYPE -_PROPOSAL.fields_by_name["block_id"].message_type = _BLOCKID -_PROPOSAL.fields_by_name[ - "timestamp" -].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP -_SIGNEDHEADER.fields_by_name["header"].message_type = _HEADER -_SIGNEDHEADER.fields_by_name["commit"].message_type = _COMMIT -_LIGHTBLOCK.fields_by_name["signed_header"].message_type = _SIGNEDHEADER -_LIGHTBLOCK.fields_by_name[ - "validator_set" -].message_type = tendermint_dot_types_dot_validator__pb2._VALIDATORSET -_BLOCKMETA.fields_by_name["block_id"].message_type = _BLOCKID -_BLOCKMETA.fields_by_name["header"].message_type = _HEADER -_TXPROOF.fields_by_name[ - "proof" -].message_type = tendermint_dot_crypto_dot_proof__pb2._PROOF -DESCRIPTOR.message_types_by_name["PartSetHeader"] = _PARTSETHEADER -DESCRIPTOR.message_types_by_name["Part"] = _PART -DESCRIPTOR.message_types_by_name["BlockID"] = _BLOCKID -DESCRIPTOR.message_types_by_name["Header"] = _HEADER -DESCRIPTOR.message_types_by_name["Data"] = _DATA -DESCRIPTOR.message_types_by_name["Vote"] = _VOTE -DESCRIPTOR.message_types_by_name["Commit"] = _COMMIT -DESCRIPTOR.message_types_by_name["CommitSig"] = _COMMITSIG -DESCRIPTOR.message_types_by_name["Proposal"] = _PROPOSAL -DESCRIPTOR.message_types_by_name["SignedHeader"] = _SIGNEDHEADER -DESCRIPTOR.message_types_by_name["LightBlock"] = _LIGHTBLOCK -DESCRIPTOR.message_types_by_name["BlockMeta"] = _BLOCKMETA -DESCRIPTOR.message_types_by_name["TxProof"] = _TXPROOF -DESCRIPTOR.enum_types_by_name["BlockIDFlag"] = _BLOCKIDFLAG -DESCRIPTOR.enum_types_by_name["SignedMsgType"] = _SIGNEDMSGTYPE -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -PartSetHeader = _reflection.GeneratedProtocolMessageType( - "PartSetHeader", - (_message.Message,), - { - "DESCRIPTOR": _PARTSETHEADER, - "__module__": "tendermint.types.types_pb2" - # @@protoc_insertion_point(class_scope:tendermint.types.PartSetHeader) - }, -) -_sym_db.RegisterMessage(PartSetHeader) - -Part = _reflection.GeneratedProtocolMessageType( - "Part", - (_message.Message,), - { - "DESCRIPTOR": _PART, - "__module__": "tendermint.types.types_pb2" - # @@protoc_insertion_point(class_scope:tendermint.types.Part) - }, -) -_sym_db.RegisterMessage(Part) - -BlockID = _reflection.GeneratedProtocolMessageType( - "BlockID", - (_message.Message,), - { - "DESCRIPTOR": _BLOCKID, - "__module__": "tendermint.types.types_pb2" - # @@protoc_insertion_point(class_scope:tendermint.types.BlockID) - }, -) -_sym_db.RegisterMessage(BlockID) - -Header = _reflection.GeneratedProtocolMessageType( - "Header", - (_message.Message,), - { - "DESCRIPTOR": _HEADER, - "__module__": "tendermint.types.types_pb2" - # @@protoc_insertion_point(class_scope:tendermint.types.Header) - }, -) -_sym_db.RegisterMessage(Header) - -Data = _reflection.GeneratedProtocolMessageType( - "Data", - (_message.Message,), - { - "DESCRIPTOR": _DATA, - "__module__": "tendermint.types.types_pb2" - # @@protoc_insertion_point(class_scope:tendermint.types.Data) - }, -) -_sym_db.RegisterMessage(Data) - -Vote = _reflection.GeneratedProtocolMessageType( - "Vote", - (_message.Message,), - { - "DESCRIPTOR": _VOTE, - "__module__": "tendermint.types.types_pb2" - # @@protoc_insertion_point(class_scope:tendermint.types.Vote) - }, -) -_sym_db.RegisterMessage(Vote) - -Commit = _reflection.GeneratedProtocolMessageType( - "Commit", - (_message.Message,), - { - "DESCRIPTOR": _COMMIT, - "__module__": "tendermint.types.types_pb2" - # @@protoc_insertion_point(class_scope:tendermint.types.Commit) - }, -) -_sym_db.RegisterMessage(Commit) - -CommitSig = _reflection.GeneratedProtocolMessageType( - "CommitSig", - (_message.Message,), - { - "DESCRIPTOR": _COMMITSIG, - "__module__": "tendermint.types.types_pb2" - # @@protoc_insertion_point(class_scope:tendermint.types.CommitSig) - }, -) -_sym_db.RegisterMessage(CommitSig) - -Proposal = _reflection.GeneratedProtocolMessageType( - "Proposal", - (_message.Message,), - { - "DESCRIPTOR": _PROPOSAL, - "__module__": "tendermint.types.types_pb2" - # @@protoc_insertion_point(class_scope:tendermint.types.Proposal) - }, -) -_sym_db.RegisterMessage(Proposal) - -SignedHeader = _reflection.GeneratedProtocolMessageType( - "SignedHeader", - (_message.Message,), - { - "DESCRIPTOR": _SIGNEDHEADER, - "__module__": "tendermint.types.types_pb2" - # @@protoc_insertion_point(class_scope:tendermint.types.SignedHeader) - }, -) -_sym_db.RegisterMessage(SignedHeader) - -LightBlock = _reflection.GeneratedProtocolMessageType( - "LightBlock", - (_message.Message,), - { - "DESCRIPTOR": _LIGHTBLOCK, - "__module__": "tendermint.types.types_pb2" - # @@protoc_insertion_point(class_scope:tendermint.types.LightBlock) - }, -) -_sym_db.RegisterMessage(LightBlock) - -BlockMeta = _reflection.GeneratedProtocolMessageType( - "BlockMeta", - (_message.Message,), - { - "DESCRIPTOR": _BLOCKMETA, - "__module__": "tendermint.types.types_pb2" - # @@protoc_insertion_point(class_scope:tendermint.types.BlockMeta) - }, -) -_sym_db.RegisterMessage(BlockMeta) - -TxProof = _reflection.GeneratedProtocolMessageType( - "TxProof", - (_message.Message,), - { - "DESCRIPTOR": _TXPROOF, - "__module__": "tendermint.types.types_pb2" - # @@protoc_insertion_point(class_scope:tendermint.types.TxProof) - }, -) -_sym_db.RegisterMessage(TxProof) - - -DESCRIPTOR._options = None -_BLOCKIDFLAG._options = None -_BLOCKIDFLAG.values_by_name["BLOCK_ID_FLAG_UNKNOWN"]._options = None -_BLOCKIDFLAG.values_by_name["BLOCK_ID_FLAG_ABSENT"]._options = None -_BLOCKIDFLAG.values_by_name["BLOCK_ID_FLAG_COMMIT"]._options = None -_BLOCKIDFLAG.values_by_name["BLOCK_ID_FLAG_NIL"]._options = None -_SIGNEDMSGTYPE._options = None -_SIGNEDMSGTYPE.values_by_name["SIGNED_MSG_TYPE_UNKNOWN"]._options = None -_SIGNEDMSGTYPE.values_by_name["SIGNED_MSG_TYPE_PREVOTE"]._options = None -_SIGNEDMSGTYPE.values_by_name["SIGNED_MSG_TYPE_PRECOMMIT"]._options = None -_SIGNEDMSGTYPE.values_by_name["SIGNED_MSG_TYPE_PROPOSAL"]._options = None -_PART.fields_by_name["proof"]._options = None -_BLOCKID.fields_by_name["part_set_header"]._options = None -_HEADER.fields_by_name["version"]._options = None -_HEADER.fields_by_name["chain_id"]._options = None -_HEADER.fields_by_name["time"]._options = None -_HEADER.fields_by_name["last_block_id"]._options = None -_VOTE.fields_by_name["block_id"]._options = None -_VOTE.fields_by_name["timestamp"]._options = None -_COMMIT.fields_by_name["block_id"]._options = None -_COMMIT.fields_by_name["signatures"]._options = None -_COMMITSIG.fields_by_name["timestamp"]._options = None -_PROPOSAL.fields_by_name["block_id"]._options = None -_PROPOSAL.fields_by_name["timestamp"]._options = None -_BLOCKMETA.fields_by_name["block_id"]._options = None -_BLOCKMETA.fields_by_name["header"]._options = None +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x1ctendermint/types/types.proto\x12\x10tendermint.types\x1a\x14gogoproto/gogo.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1dtendermint/crypto/proof.proto\x1a\x1etendermint/version/types.proto\x1a tendermint/types/validator.proto",\n\rPartSetHeader\x12\r\n\x05total\x18\x01 \x01(\r\x12\x0c\n\x04hash\x18\x02 \x01(\x0c"S\n\x04Part\x12\r\n\x05index\x18\x01 \x01(\r\x12\r\n\x05\x62ytes\x18\x02 \x01(\x0c\x12-\n\x05proof\x18\x03 \x01(\x0b\x32\x18.tendermint.crypto.ProofB\x04\xc8\xde\x1f\x00"W\n\x07\x42lockID\x12\x0c\n\x04hash\x18\x01 \x01(\x0c\x12>\n\x0fpart_set_header\x18\x02 \x01(\x0b\x32\x1f.tendermint.types.PartSetHeaderB\x04\xc8\xde\x1f\x00"\xb3\x03\n\x06Header\x12\x34\n\x07version\x18\x01 \x01(\x0b\x32\x1d.tendermint.version.ConsensusB\x04\xc8\xde\x1f\x00\x12\x1d\n\x08\x63hain_id\x18\x02 \x01(\tB\x0b\xe2\xde\x1f\x07\x43hainID\x12\x0e\n\x06height\x18\x03 \x01(\x03\x12\x32\n\x04time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x36\n\rlast_block_id\x18\x05 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x04\xc8\xde\x1f\x00\x12\x18\n\x10last_commit_hash\x18\x06 \x01(\x0c\x12\x11\n\tdata_hash\x18\x07 \x01(\x0c\x12\x17\n\x0fvalidators_hash\x18\x08 \x01(\x0c\x12\x1c\n\x14next_validators_hash\x18\t \x01(\x0c\x12\x16\n\x0e\x63onsensus_hash\x18\n \x01(\x0c\x12\x10\n\x08\x61pp_hash\x18\x0b \x01(\x0c\x12\x19\n\x11last_results_hash\x18\x0c \x01(\x0c\x12\x15\n\revidence_hash\x18\r \x01(\x0c\x12\x18\n\x10proposer_address\x18\x0e \x01(\x0c"\x13\n\x04\x44\x61ta\x12\x0b\n\x03txs\x18\x01 \x03(\x0c"\x92\x02\n\x04Vote\x12-\n\x04type\x18\x01 \x01(\x0e\x32\x1f.tendermint.types.SignedMsgType\x12\x0e\n\x06height\x18\x02 \x01(\x03\x12\r\n\x05round\x18\x03 \x01(\x05\x12<\n\x08\x62lock_id\x18\x04 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockID\x12\x37\n\ttimestamp\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x19\n\x11validator_address\x18\x06 \x01(\x0c\x12\x17\n\x0fvalidator_index\x18\x07 \x01(\x05\x12\x11\n\tsignature\x18\x08 \x01(\x0c"\x9c\x01\n\x06\x43ommit\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\r\n\x05round\x18\x02 \x01(\x05\x12<\n\x08\x62lock_id\x18\x03 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockID\x12\x35\n\nsignatures\x18\x04 \x03(\x0b\x32\x1b.tendermint.types.CommitSigB\x04\xc8\xde\x1f\x00"\xa8\x01\n\tCommitSig\x12\x34\n\rblock_id_flag\x18\x01 \x01(\x0e\x32\x1d.tendermint.types.BlockIDFlag\x12\x19\n\x11validator_address\x18\x02 \x01(\x0c\x12\x37\n\ttimestamp\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x11\n\tsignature\x18\x04 \x01(\x0c"\xf5\x01\n\x08Proposal\x12-\n\x04type\x18\x01 \x01(\x0e\x32\x1f.tendermint.types.SignedMsgType\x12\x0e\n\x06height\x18\x02 \x01(\x03\x12\r\n\x05round\x18\x03 \x01(\x05\x12\x11\n\tpol_round\x18\x04 \x01(\x05\x12<\n\x08\x62lock_id\x18\x05 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockID\x12\x37\n\ttimestamp\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x11\n\tsignature\x18\x07 \x01(\x0c"b\n\x0cSignedHeader\x12(\n\x06header\x18\x01 \x01(\x0b\x32\x18.tendermint.types.Header\x12(\n\x06\x63ommit\x18\x02 \x01(\x0b\x32\x18.tendermint.types.Commit"z\n\nLightBlock\x12\x35\n\rsigned_header\x18\x01 \x01(\x0b\x32\x1e.tendermint.types.SignedHeader\x12\x35\n\rvalidator_set\x18\x02 \x01(\x0b\x32\x1e.tendermint.types.ValidatorSet"\x9e\x01\n\tBlockMeta\x12<\n\x08\x62lock_id\x18\x01 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockID\x12\x12\n\nblock_size\x18\x02 \x01(\x03\x12.\n\x06header\x18\x03 \x01(\x0b\x32\x18.tendermint.types.HeaderB\x04\xc8\xde\x1f\x00\x12\x0f\n\x07num_txs\x18\x04 \x01(\x03"S\n\x07TxProof\x12\x11\n\troot_hash\x18\x01 \x01(\x0c\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x12\'\n\x05proof\x18\x03 \x01(\x0b\x32\x18.tendermint.crypto.Proof*\xd7\x01\n\x0b\x42lockIDFlag\x12\x31\n\x15\x42LOCK_ID_FLAG_UNKNOWN\x10\x00\x1a\x16\x8a\x9d \x12\x42lockIDFlagUnknown\x12/\n\x14\x42LOCK_ID_FLAG_ABSENT\x10\x01\x1a\x15\x8a\x9d \x11\x42lockIDFlagAbsent\x12/\n\x14\x42LOCK_ID_FLAG_COMMIT\x10\x02\x1a\x15\x8a\x9d \x11\x42lockIDFlagCommit\x12)\n\x11\x42LOCK_ID_FLAG_NIL\x10\x03\x1a\x12\x8a\x9d \x0e\x42lockIDFlagNil\x1a\x08\x88\xa3\x1e\x00\xa8\xa4\x1e\x01*\xd7\x01\n\rSignedMsgType\x12,\n\x17SIGNED_MSG_TYPE_UNKNOWN\x10\x00\x1a\x0f\x8a\x9d \x0bUnknownType\x12,\n\x17SIGNED_MSG_TYPE_PREVOTE\x10\x01\x1a\x0f\x8a\x9d \x0bPrevoteType\x12\x30\n\x19SIGNED_MSG_TYPE_PRECOMMIT\x10\x02\x1a\x11\x8a\x9d \rPrecommitType\x12.\n\x18SIGNED_MSG_TYPE_PROPOSAL\x10 \x1a\x10\x8a\x9d \x0cProposalType\x1a\x08\x88\xa3\x1e\x00\xa8\xa4\x1e\x01\x42\x39Z7github.com/tendermint/tendermint/proto/tendermint/typesb\x06proto3' +) + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "tendermint.types.types_pb2", _globals +) +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = ( + b"Z7github.com/tendermint/tendermint/proto/tendermint/types" + ) + _BLOCKIDFLAG._options = None + _BLOCKIDFLAG._serialized_options = b"\210\243\036\000\250\244\036\001" + _BLOCKIDFLAG.values_by_name["BLOCK_ID_FLAG_UNKNOWN"]._options = None + _BLOCKIDFLAG.values_by_name[ + "BLOCK_ID_FLAG_UNKNOWN" + ]._serialized_options = b"\212\235 \022BlockIDFlagUnknown" + _BLOCKIDFLAG.values_by_name["BLOCK_ID_FLAG_ABSENT"]._options = None + _BLOCKIDFLAG.values_by_name[ + "BLOCK_ID_FLAG_ABSENT" + ]._serialized_options = b"\212\235 \021BlockIDFlagAbsent" + _BLOCKIDFLAG.values_by_name["BLOCK_ID_FLAG_COMMIT"]._options = None + _BLOCKIDFLAG.values_by_name[ + "BLOCK_ID_FLAG_COMMIT" + ]._serialized_options = b"\212\235 \021BlockIDFlagCommit" + _BLOCKIDFLAG.values_by_name["BLOCK_ID_FLAG_NIL"]._options = None + _BLOCKIDFLAG.values_by_name[ + "BLOCK_ID_FLAG_NIL" + ]._serialized_options = b"\212\235 \016BlockIDFlagNil" + _SIGNEDMSGTYPE._options = None + _SIGNEDMSGTYPE._serialized_options = b"\210\243\036\000\250\244\036\001" + _SIGNEDMSGTYPE.values_by_name["SIGNED_MSG_TYPE_UNKNOWN"]._options = None + _SIGNEDMSGTYPE.values_by_name[ + "SIGNED_MSG_TYPE_UNKNOWN" + ]._serialized_options = b"\212\235 \013UnknownType" + _SIGNEDMSGTYPE.values_by_name["SIGNED_MSG_TYPE_PREVOTE"]._options = None + _SIGNEDMSGTYPE.values_by_name[ + "SIGNED_MSG_TYPE_PREVOTE" + ]._serialized_options = b"\212\235 \013PrevoteType" + _SIGNEDMSGTYPE.values_by_name["SIGNED_MSG_TYPE_PRECOMMIT"]._options = None + _SIGNEDMSGTYPE.values_by_name[ + "SIGNED_MSG_TYPE_PRECOMMIT" + ]._serialized_options = b"\212\235 \rPrecommitType" + _SIGNEDMSGTYPE.values_by_name["SIGNED_MSG_TYPE_PROPOSAL"]._options = None + _SIGNEDMSGTYPE.values_by_name[ + "SIGNED_MSG_TYPE_PROPOSAL" + ]._serialized_options = b"\212\235 \014ProposalType" + _PART.fields_by_name["proof"]._options = None + _PART.fields_by_name["proof"]._serialized_options = b"\310\336\037\000" + _BLOCKID.fields_by_name["part_set_header"]._options = None + _BLOCKID.fields_by_name["part_set_header"]._serialized_options = b"\310\336\037\000" + _HEADER.fields_by_name["version"]._options = None + _HEADER.fields_by_name["version"]._serialized_options = b"\310\336\037\000" + _HEADER.fields_by_name["chain_id"]._options = None + _HEADER.fields_by_name["chain_id"]._serialized_options = b"\342\336\037\007ChainID" + _HEADER.fields_by_name["time"]._options = None + _HEADER.fields_by_name[ + "time" + ]._serialized_options = b"\310\336\037\000\220\337\037\001" + _HEADER.fields_by_name["last_block_id"]._options = None + _HEADER.fields_by_name["last_block_id"]._serialized_options = b"\310\336\037\000" + _VOTE.fields_by_name["block_id"]._options = None + _VOTE.fields_by_name[ + "block_id" + ]._serialized_options = b"\310\336\037\000\342\336\037\007BlockID" + _VOTE.fields_by_name["timestamp"]._options = None + _VOTE.fields_by_name[ + "timestamp" + ]._serialized_options = b"\310\336\037\000\220\337\037\001" + _COMMIT.fields_by_name["block_id"]._options = None + _COMMIT.fields_by_name[ + "block_id" + ]._serialized_options = b"\310\336\037\000\342\336\037\007BlockID" + _COMMIT.fields_by_name["signatures"]._options = None + _COMMIT.fields_by_name["signatures"]._serialized_options = b"\310\336\037\000" + _COMMITSIG.fields_by_name["timestamp"]._options = None + _COMMITSIG.fields_by_name[ + "timestamp" + ]._serialized_options = b"\310\336\037\000\220\337\037\001" + _PROPOSAL.fields_by_name["block_id"]._options = None + _PROPOSAL.fields_by_name[ + "block_id" + ]._serialized_options = b"\310\336\037\000\342\336\037\007BlockID" + _PROPOSAL.fields_by_name["timestamp"]._options = None + _PROPOSAL.fields_by_name[ + "timestamp" + ]._serialized_options = b"\310\336\037\000\220\337\037\001" + _BLOCKMETA.fields_by_name["block_id"]._options = None + _BLOCKMETA.fields_by_name[ + "block_id" + ]._serialized_options = b"\310\336\037\000\342\336\037\007BlockID" + _BLOCKMETA.fields_by_name["header"]._options = None + _BLOCKMETA.fields_by_name["header"]._serialized_options = b"\310\336\037\000" + _globals["_BLOCKIDFLAG"]._serialized_start = 2207 + _globals["_BLOCKIDFLAG"]._serialized_end = 2422 + _globals["_SIGNEDMSGTYPE"]._serialized_start = 2425 + _globals["_SIGNEDMSGTYPE"]._serialized_end = 2640 + _globals["_PARTSETHEADER"]._serialized_start = 202 + _globals["_PARTSETHEADER"]._serialized_end = 246 + _globals["_PART"]._serialized_start = 248 + _globals["_PART"]._serialized_end = 331 + _globals["_BLOCKID"]._serialized_start = 333 + _globals["_BLOCKID"]._serialized_end = 420 + _globals["_HEADER"]._serialized_start = 423 + _globals["_HEADER"]._serialized_end = 858 + _globals["_DATA"]._serialized_start = 860 + _globals["_DATA"]._serialized_end = 879 + _globals["_VOTE"]._serialized_start = 882 + _globals["_VOTE"]._serialized_end = 1156 + _globals["_COMMIT"]._serialized_start = 1159 + _globals["_COMMIT"]._serialized_end = 1315 + _globals["_COMMITSIG"]._serialized_start = 1318 + _globals["_COMMITSIG"]._serialized_end = 1486 + _globals["_PROPOSAL"]._serialized_start = 1489 + _globals["_PROPOSAL"]._serialized_end = 1734 + _globals["_SIGNEDHEADER"]._serialized_start = 1736 + _globals["_SIGNEDHEADER"]._serialized_end = 1834 + _globals["_LIGHTBLOCK"]._serialized_start = 1836 + _globals["_LIGHTBLOCK"]._serialized_end = 1958 + _globals["_BLOCKMETA"]._serialized_start = 1961 + _globals["_BLOCKMETA"]._serialized_end = 2119 + _globals["_TXPROOF"]._serialized_start = 2121 + _globals["_TXPROOF"]._serialized_end = 2204 # @@protoc_insertion_point(module_scope) diff --git a/packages/valory/connections/abci/tendermint/types/validator_pb2.py b/packages/valory/connections/abci/tendermint/types/validator_pb2.py index 48d58887ff..990e243ee3 100644 --- a/packages/valory/connections/abci/tendermint/types/validator_pb2.py +++ b/packages/valory/connections/abci/tendermint/types/validator_pb2.py @@ -3,9 +3,9 @@ # source: tendermint/types/validator.proto """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder # @@protoc_insertion_point(imports) @@ -21,303 +21,26 @@ ) -DESCRIPTOR = _descriptor.FileDescriptor( - name="tendermint/types/validator.proto", - package="tendermint.types", - syntax="proto3", - serialized_options=b"Z7github.com/tendermint/tendermint/proto/tendermint/types", - create_key=_descriptor._internal_create_key, - serialized_pb=b'\n tendermint/types/validator.proto\x12\x10tendermint.types\x1a\x14gogoproto/gogo.proto\x1a\x1ctendermint/crypto/keys.proto"\x8a\x01\n\x0cValidatorSet\x12/\n\nvalidators\x18\x01 \x03(\x0b\x32\x1b.tendermint.types.Validator\x12-\n\x08proposer\x18\x02 \x01(\x0b\x32\x1b.tendermint.types.Validator\x12\x1a\n\x12total_voting_power\x18\x03 \x01(\x03"\x82\x01\n\tValidator\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\x0c\x12\x33\n\x07pub_key\x18\x02 \x01(\x0b\x32\x1c.tendermint.crypto.PublicKeyB\x04\xc8\xde\x1f\x00\x12\x14\n\x0cvoting_power\x18\x03 \x01(\x03\x12\x19\n\x11proposer_priority\x18\x04 \x01(\x03"V\n\x0fSimpleValidator\x12-\n\x07pub_key\x18\x01 \x01(\x0b\x32\x1c.tendermint.crypto.PublicKey\x12\x14\n\x0cvoting_power\x18\x02 \x01(\x03\x42\x39Z7github.com/tendermint/tendermint/proto/tendermint/typesb\x06proto3', - dependencies=[ - gogoproto_dot_gogo__pb2.DESCRIPTOR, - tendermint_dot_crypto_dot_keys__pb2.DESCRIPTOR, - ], +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n tendermint/types/validator.proto\x12\x10tendermint.types\x1a\x14gogoproto/gogo.proto\x1a\x1ctendermint/crypto/keys.proto"\x8a\x01\n\x0cValidatorSet\x12/\n\nvalidators\x18\x01 \x03(\x0b\x32\x1b.tendermint.types.Validator\x12-\n\x08proposer\x18\x02 \x01(\x0b\x32\x1b.tendermint.types.Validator\x12\x1a\n\x12total_voting_power\x18\x03 \x01(\x03"\x82\x01\n\tValidator\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\x0c\x12\x33\n\x07pub_key\x18\x02 \x01(\x0b\x32\x1c.tendermint.crypto.PublicKeyB\x04\xc8\xde\x1f\x00\x12\x14\n\x0cvoting_power\x18\x03 \x01(\x03\x12\x19\n\x11proposer_priority\x18\x04 \x01(\x03"V\n\x0fSimpleValidator\x12-\n\x07pub_key\x18\x01 \x01(\x0b\x32\x1c.tendermint.crypto.PublicKey\x12\x14\n\x0cvoting_power\x18\x02 \x01(\x03\x42\x39Z7github.com/tendermint/tendermint/proto/tendermint/typesb\x06proto3' ) - -_VALIDATORSET = _descriptor.Descriptor( - name="ValidatorSet", - full_name="tendermint.types.ValidatorSet", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="validators", - full_name="tendermint.types.ValidatorSet.validators", - index=0, - number=1, - type=11, - cpp_type=10, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="proposer", - full_name="tendermint.types.ValidatorSet.proposer", - index=1, - number=2, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="total_voting_power", - full_name="tendermint.types.ValidatorSet.total_voting_power", - index=2, - number=3, - type=3, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=107, - serialized_end=245, -) - - -_VALIDATOR = _descriptor.Descriptor( - name="Validator", - full_name="tendermint.types.Validator", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="address", - full_name="tendermint.types.Validator.address", - index=0, - number=1, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="pub_key", - full_name="tendermint.types.Validator.pub_key", - index=1, - number=2, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\310\336\037\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="voting_power", - full_name="tendermint.types.Validator.voting_power", - index=2, - number=3, - type=3, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="proposer_priority", - full_name="tendermint.types.Validator.proposer_priority", - index=3, - number=4, - type=3, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=248, - serialized_end=378, -) - - -_SIMPLEVALIDATOR = _descriptor.Descriptor( - name="SimpleValidator", - full_name="tendermint.types.SimpleValidator", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="pub_key", - full_name="tendermint.types.SimpleValidator.pub_key", - index=0, - number=1, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="voting_power", - full_name="tendermint.types.SimpleValidator.voting_power", - index=1, - number=2, - type=3, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=380, - serialized_end=466, -) - -_VALIDATORSET.fields_by_name["validators"].message_type = _VALIDATOR -_VALIDATORSET.fields_by_name["proposer"].message_type = _VALIDATOR -_VALIDATOR.fields_by_name[ - "pub_key" -].message_type = tendermint_dot_crypto_dot_keys__pb2._PUBLICKEY -_SIMPLEVALIDATOR.fields_by_name[ - "pub_key" -].message_type = tendermint_dot_crypto_dot_keys__pb2._PUBLICKEY -DESCRIPTOR.message_types_by_name["ValidatorSet"] = _VALIDATORSET -DESCRIPTOR.message_types_by_name["Validator"] = _VALIDATOR -DESCRIPTOR.message_types_by_name["SimpleValidator"] = _SIMPLEVALIDATOR -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -ValidatorSet = _reflection.GeneratedProtocolMessageType( - "ValidatorSet", - (_message.Message,), - { - "DESCRIPTOR": _VALIDATORSET, - "__module__": "tendermint.types.validator_pb2" - # @@protoc_insertion_point(class_scope:tendermint.types.ValidatorSet) - }, -) -_sym_db.RegisterMessage(ValidatorSet) - -Validator = _reflection.GeneratedProtocolMessageType( - "Validator", - (_message.Message,), - { - "DESCRIPTOR": _VALIDATOR, - "__module__": "tendermint.types.validator_pb2" - # @@protoc_insertion_point(class_scope:tendermint.types.Validator) - }, +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "tendermint.types.validator_pb2", _globals ) -_sym_db.RegisterMessage(Validator) - -SimpleValidator = _reflection.GeneratedProtocolMessageType( - "SimpleValidator", - (_message.Message,), - { - "DESCRIPTOR": _SIMPLEVALIDATOR, - "__module__": "tendermint.types.validator_pb2" - # @@protoc_insertion_point(class_scope:tendermint.types.SimpleValidator) - }, -) -_sym_db.RegisterMessage(SimpleValidator) - - -DESCRIPTOR._options = None -_VALIDATOR.fields_by_name["pub_key"]._options = None +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = ( + b"Z7github.com/tendermint/tendermint/proto/tendermint/types" + ) + _VALIDATOR.fields_by_name["pub_key"]._options = None + _VALIDATOR.fields_by_name["pub_key"]._serialized_options = b"\310\336\037\000" + _globals["_VALIDATORSET"]._serialized_start = 107 + _globals["_VALIDATORSET"]._serialized_end = 245 + _globals["_VALIDATOR"]._serialized_start = 248 + _globals["_VALIDATOR"]._serialized_end = 378 + _globals["_SIMPLEVALIDATOR"]._serialized_start = 380 + _globals["_SIMPLEVALIDATOR"]._serialized_end = 466 # @@protoc_insertion_point(module_scope) diff --git a/packages/valory/connections/abci/tendermint/version/types_pb2.py b/packages/valory/connections/abci/tendermint/version/types_pb2.py index a5e2bc1656..46fcbdf527 100644 --- a/packages/valory/connections/abci/tendermint/version/types_pb2.py +++ b/packages/valory/connections/abci/tendermint/version/types_pb2.py @@ -3,9 +3,9 @@ # source: tendermint/version/types.proto """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder # @@protoc_insertion_point(imports) @@ -18,165 +18,24 @@ ) -DESCRIPTOR = _descriptor.FileDescriptor( - name="tendermint/version/types.proto", - package="tendermint.version", - syntax="proto3", - serialized_options=b"Z9github.com/tendermint/tendermint/proto/tendermint/version", - create_key=_descriptor._internal_create_key, - serialized_pb=b'\n\x1etendermint/version/types.proto\x12\x12tendermint.version\x1a\x14gogoproto/gogo.proto")\n\x03\x41pp\x12\x10\n\x08protocol\x18\x01 \x01(\x04\x12\x10\n\x08software\x18\x02 \x01(\t"-\n\tConsensus\x12\r\n\x05\x62lock\x18\x01 \x01(\x04\x12\x0b\n\x03\x61pp\x18\x02 \x01(\x04:\x04\xe8\xa0\x1f\x01\x42;Z9github.com/tendermint/tendermint/proto/tendermint/versionb\x06proto3', - dependencies=[ - gogoproto_dot_gogo__pb2.DESCRIPTOR, - ], +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x1etendermint/version/types.proto\x12\x12tendermint.version\x1a\x14gogoproto/gogo.proto")\n\x03\x41pp\x12\x10\n\x08protocol\x18\x01 \x01(\x04\x12\x10\n\x08software\x18\x02 \x01(\t"-\n\tConsensus\x12\r\n\x05\x62lock\x18\x01 \x01(\x04\x12\x0b\n\x03\x61pp\x18\x02 \x01(\x04:\x04\xe8\xa0\x1f\x01\x42;Z9github.com/tendermint/tendermint/proto/tendermint/versionb\x06proto3' ) - -_APP = _descriptor.Descriptor( - name="App", - full_name="tendermint.version.App", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="protocol", - full_name="tendermint.version.App.protocol", - index=0, - number=1, - type=4, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="software", - full_name="tendermint.version.App.software", - index=1, - number=2, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=76, - serialized_end=117, -) - - -_CONSENSUS = _descriptor.Descriptor( - name="Consensus", - full_name="tendermint.version.Consensus", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="block", - full_name="tendermint.version.Consensus.block", - index=0, - number=1, - type=4, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="app", - full_name="tendermint.version.Consensus.app", - index=1, - number=2, - type=4, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=b"\350\240\037\001", - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=119, - serialized_end=164, +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "tendermint.version.types_pb2", _globals ) - -DESCRIPTOR.message_types_by_name["App"] = _APP -DESCRIPTOR.message_types_by_name["Consensus"] = _CONSENSUS -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -App = _reflection.GeneratedProtocolMessageType( - "App", - (_message.Message,), - { - "DESCRIPTOR": _APP, - "__module__": "tendermint.version.types_pb2" - # @@protoc_insertion_point(class_scope:tendermint.version.App) - }, -) -_sym_db.RegisterMessage(App) - -Consensus = _reflection.GeneratedProtocolMessageType( - "Consensus", - (_message.Message,), - { - "DESCRIPTOR": _CONSENSUS, - "__module__": "tendermint.version.types_pb2" - # @@protoc_insertion_point(class_scope:tendermint.version.Consensus) - }, -) -_sym_db.RegisterMessage(Consensus) - - -DESCRIPTOR._options = None -_CONSENSUS._options = None +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = ( + b"Z9github.com/tendermint/tendermint/proto/tendermint/version" + ) + _CONSENSUS._options = None + _CONSENSUS._serialized_options = b"\350\240\037\001" + _globals["_APP"]._serialized_start = 76 + _globals["_APP"]._serialized_end = 117 + _globals["_CONSENSUS"]._serialized_start = 119 + _globals["_CONSENSUS"]._serialized_end = 164 # @@protoc_insertion_point(module_scope) diff --git a/packages/valory/connections/abci/tendermint_decoder.py b/packages/valory/connections/abci/tendermint_decoder.py index 55003f4ce6..a50a501fac 100644 --- a/packages/valory/connections/abci/tendermint_decoder.py +++ b/packages/valory/connections/abci/tendermint_decoder.py @@ -31,11 +31,11 @@ from packages.valory.connections.abci.tendermint.abci.types_pb2 import ( # type: ignore Evidence as EvidencePb, ) -from packages.valory.connections.abci.tendermint.abci.types_pb2 import ( +from packages.valory.connections.abci.tendermint.abci.types_pb2 import ( # type: ignore LastCommitInfo as LastCommitInfoPb, ) -from packages.valory.connections.abci.tendermint.abci.types_pb2 import Request -from packages.valory.connections.abci.tendermint.abci.types_pb2 import ( +from packages.valory.connections.abci.tendermint.abci.types_pb2 import Request # type: ignore +from packages.valory.connections.abci.tendermint.abci.types_pb2 import ( # type: ignore Validator as ValidatorPb, ) from packages.valory.connections.abci.tendermint.types.types_pb2 import ( # type: ignore @@ -60,10 +60,10 @@ ) -from packages.valory.connections.abci.tendermint.abci.types_pb2 import ( # isort:skip +from packages.valory.connections.abci.tendermint.abci.types_pb2 import ( # type: ignore # isort:skip ConsensusParams as ConsensusParamsPb, ) -from packages.valory.connections.abci.tendermint.abci.types_pb2 import ( # isort:skip +from packages.valory.connections.abci.tendermint.abci.types_pb2 import ( # type: ignore # isort:skip ValidatorUpdate as ValidatorUpdatePb, ) diff --git a/packages/valory/connections/abci/tests/__init__.py b/packages/valory/connections/abci/tests/__init__.py index b4d76edca4..0a13f49637 100644 --- a/packages/valory/connections/abci/tests/__init__.py +++ b/packages/valory/connections/abci/tests/__init__.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # ------------------------------------------------------------------------------ # -# Copyright 2021-2022 Valory AG +# Copyright 2021-2023 Valory AG # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -18,3 +18,10 @@ # ------------------------------------------------------------------------------ """Tests package for valory/abci connection.""" + +from hypothesis import settings + + +CI = "CI" # pragma: nocover + +settings.register_profile(CI, deadline=5000) # pragma: nocover diff --git a/packages/valory/connections/abci/tests/helper.py b/packages/valory/connections/abci/tests/helper.py index d511464523..da6e982df0 100644 --- a/packages/valory/connections/abci/tests/helper.py +++ b/packages/valory/connections/abci/tests/helper.py @@ -356,7 +356,6 @@ def _get_message_content(message: Any) -> Node: # but are retrieved as mapping from Tendermint side assert message.IsInitialized() - assert not message.UnknownFields() assert not message.FindInitializationErrors() # NOTE: ListFields does not retrieve what is empty! @@ -406,7 +405,6 @@ def get_tendermint_content(envelope: Union[Request, Response]) -> Node: assert isinstance(envelope, (Request, Response)) assert envelope.IsInitialized() - assert not envelope.UnknownFields() assert not envelope.FindInitializationErrors() assert len(envelope.ListFields()) == 1 descr, message = envelope.ListFields()[0] diff --git a/packages/valory/connections/abci/tests/test_fuzz/base.py b/packages/valory/connections/abci/tests/test_fuzz/base.py index f0c6f7d077..d054f06949 100644 --- a/packages/valory/connections/abci/tests/test_fuzz/base.py +++ b/packages/valory/connections/abci/tests/test_fuzz/base.py @@ -25,13 +25,12 @@ from pathlib import Path from typing import Any, Dict, List, Tuple, Type -import numpy as np from aea.exceptions import enforce from aea.test_tools.test_cases import AEATestCaseMany from hypothesis import given, settings from hypothesis.strategies import binary, booleans, integers, lists, text, tuples -from packages.valory.connections.abci import CI +from packages.valory.connections.abci.tests import CI from packages.valory.connections.abci.tests.test_fuzz.mock_node.channels.base import ( BaseChannel, ) @@ -50,15 +49,15 @@ class BaseFuzzyTests(AEATestCaseMany): package_registry_src_rel = Path(__file__).parents[5] - UINT_64_MAX_VALUE = np.iinfo(np.uint64).max + UINT_64_MAX_VALUE = 18446744073709551615 UINT_64_MIN_VALUE = 0 - INT_64_MAX_VALUE = np.iinfo(np.int64).max - INT_64_MIN_VALUE = np.iinfo(np.int64).min + INT_64_MAX_VALUE = 9223372036854775807 + INT_64_MIN_VALUE = -9223372036854775808 - UINT_32_MAX_VALUE = np.iinfo(np.uint32).max + UINT_32_MAX_VALUE = 4294967295 UINT_32_MIN_VALUE = 0 - INT_32_MAX_VALUE = np.iinfo(np.int32).max - INT_32_MIN_VALUE = np.iinfo(np.int32).min + INT_32_MAX_VALUE = 2147483647 + INT_32_MIN_VALUE = -2147483648 CHANNEL_TYPE: Type[BaseChannel] = BaseChannel CHANNEL_ARGS: Dict[str, Any] = dict() diff --git a/packages/valory/connections/abci/tests/test_fuzz/mock_node/channels/base.py b/packages/valory/connections/abci/tests/test_fuzz/mock_node/channels/base.py index 695076a4fd..5f790294df 100644 --- a/packages/valory/connections/abci/tests/test_fuzz/mock_node/channels/base.py +++ b/packages/valory/connections/abci/tests/test_fuzz/mock_node/channels/base.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # ------------------------------------------------------------------------------ # -# Copyright 2021-2022 Valory AG +# Copyright 2021-2023 Valory AG # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -16,7 +16,11 @@ # limitations under the License. # # ------------------------------------------------------------------------------ + +# pylint: disable=no-member + """BaseChannel for MockNode""" + from typing import Dict import packages.valory.connections.abci.tendermint.abci.types_pb2 as abci_types # type: ignore @@ -42,7 +46,7 @@ def disconnect(self) -> None: By default, it is a no-op. """ - def send_info(self, request: abci_types.RequestInfo) -> abci_types.ResponseInfo: + def send_info(self, request: abci_types.RequestInfo) -> abci_types.ResponseInfo: # type: ignore """ Sends an info request. @@ -50,7 +54,7 @@ def send_info(self, request: abci_types.RequestInfo) -> abci_types.ResponseInfo: """ raise NotImplementedError - def send_echo(self, request: abci_types.RequestEcho) -> abci_types.ResponseEcho: + def send_echo(self, request: abci_types.RequestEcho) -> abci_types.ResponseEcho: # type: ignore """ Sends an echo request. @@ -58,7 +62,7 @@ def send_echo(self, request: abci_types.RequestEcho) -> abci_types.ResponseEcho: """ raise NotImplementedError - def send_flush(self, request: abci_types.RequestFlush) -> abci_types.ResponseFlush: + def send_flush(self, request: abci_types.RequestFlush) -> abci_types.ResponseFlush: # type: ignore """ Sends an flush request. @@ -67,8 +71,8 @@ def send_flush(self, request: abci_types.RequestFlush) -> abci_types.ResponseFlu raise NotImplementedError def send_set_option( - self, request: abci_types.RequestSetOption - ) -> abci_types.ResponseSetOption: + self, request: abci_types.RequestSetOption # type: ignore + ) -> abci_types.ResponseSetOption: # type: ignore """ Sends an setOption request. @@ -77,8 +81,8 @@ def send_set_option( raise NotImplementedError def send_deliver_tx( - self, request: abci_types.RequestDeliverTx - ) -> abci_types.ResponseDeliverTx: + self, request: abci_types.RequestDeliverTx # type: ignore + ) -> abci_types.ResponseDeliverTx: # type: ignore """ Sends an deliverTx request. @@ -87,8 +91,8 @@ def send_deliver_tx( raise NotImplementedError def send_check_tx( - self, request: abci_types.RequestCheckTx - ) -> abci_types.ResponseCheckTx: + self, request: abci_types.RequestCheckTx # type: ignore + ) -> abci_types.ResponseCheckTx: # type: ignore """ Sends an checkTx request. @@ -96,7 +100,7 @@ def send_check_tx( """ raise NotImplementedError - def send_query(self, request: abci_types.RequestQuery) -> abci_types.ResponseQuery: + def send_query(self, request: abci_types.RequestQuery) -> abci_types.ResponseQuery: # type: ignore """ Sends an query request. @@ -105,8 +109,8 @@ def send_query(self, request: abci_types.RequestQuery) -> abci_types.ResponseQue raise NotImplementedError def send_commit( - self, request: abci_types.RequestCommit - ) -> abci_types.ResponseCommit: + self, request: abci_types.RequestCommit # type: ignore + ) -> abci_types.ResponseCommit: # type: ignore """ Sends an commit request. @@ -115,8 +119,8 @@ def send_commit( raise NotImplementedError def send_init_chain( - self, request: abci_types.RequestInitChain - ) -> abci_types.ResponseInitChain: + self, request: abci_types.RequestInitChain # type: ignore + ) -> abci_types.ResponseInitChain: # type: ignore """ Sends an initChain request. @@ -125,8 +129,8 @@ def send_init_chain( raise NotImplementedError def send_begin_block( - self, request: abci_types.RequestBeginBlock - ) -> abci_types.ResponseBeginBlock: + self, request: abci_types.RequestBeginBlock # type: ignore + ) -> abci_types.ResponseBeginBlock: # type: ignore """ Sends an beginBlock request. @@ -135,8 +139,8 @@ def send_begin_block( raise NotImplementedError def send_end_block( - self, request: abci_types.RequestEndBlock - ) -> abci_types.ResponseEndBlock: + self, request: abci_types.RequestEndBlock # type: ignore + ) -> abci_types.ResponseEndBlock: # type: ignore """ Sends an endBlock request. @@ -145,8 +149,8 @@ def send_end_block( raise NotImplementedError def send_list_snapshots( - self, request: abci_types.RequestListSnapshots - ) -> abci_types.ResponseListSnapshots: + self, request: abci_types.RequestListSnapshots # type: ignore + ) -> abci_types.ResponseListSnapshots: # type: ignore """ Sends an listSnapshots request. @@ -155,8 +159,8 @@ def send_list_snapshots( raise NotImplementedError def send_offer_snapshot( - self, request: abci_types.RequestOfferSnapshot - ) -> abci_types.ResponseOfferSnapshot: + self, request: abci_types.RequestOfferSnapshot # type: ignore + ) -> abci_types.ResponseOfferSnapshot: # type: ignore """ Sends an offerSnapshot request. @@ -165,8 +169,8 @@ def send_offer_snapshot( raise NotImplementedError def send_load_snapshot_chunk( - self, request: abci_types.RequestLoadSnapshotChunk - ) -> abci_types.ResponseLoadSnapshotChunk: + self, request: abci_types.RequestLoadSnapshotChunk # type: ignore + ) -> abci_types.ResponseLoadSnapshotChunk: # type: ignore """ Sends an loadSnapshotChunk request. @@ -175,8 +179,8 @@ def send_load_snapshot_chunk( raise NotImplementedError def send_apply_snapshot_chunk( - self, request: abci_types.RequestApplySnapshotChunk - ) -> abci_types.ResponseApplySnapshotChunk: + self, request: abci_types.RequestApplySnapshotChunk # type: ignore + ) -> abci_types.ResponseApplySnapshotChunk: # type: ignore """ Sends an applySnapshotChunk request. diff --git a/packages/valory/connections/abci/tests/test_fuzz/mock_node/channels/grpc_channel.py b/packages/valory/connections/abci/tests/test_fuzz/mock_node/channels/grpc_channel.py index 8045445380..f247815cd0 100644 --- a/packages/valory/connections/abci/tests/test_fuzz/mock_node/channels/grpc_channel.py +++ b/packages/valory/connections/abci/tests/test_fuzz/mock_node/channels/grpc_channel.py @@ -55,7 +55,7 @@ def __init__(self, **kwargs: Dict) -> None: grpc_channel = grpc.insecure_channel(f"{host}:{port}") self.grpc_client = tendermint_grpc.ABCIApplicationStub(grpc_channel) - def send_info(self, request: abci_types.RequestInfo) -> abci_types.ResponseInfo: + def send_info(self, request: abci_types.RequestInfo) -> abci_types.ResponseInfo: # type: ignore """ Sends an info request. @@ -64,7 +64,7 @@ def send_info(self, request: abci_types.RequestInfo) -> abci_types.ResponseInfo: """ return self.grpc_client.Info(request) - def send_echo(self, request: abci_types.RequestEcho) -> abci_types.ResponseEcho: + def send_echo(self, request: abci_types.RequestEcho) -> abci_types.ResponseEcho: # type: ignore """ Sends an echo request. @@ -73,7 +73,7 @@ def send_echo(self, request: abci_types.RequestEcho) -> abci_types.ResponseEcho: """ return self.grpc_client.Echo(request) - def send_flush(self, request: abci_types.RequestFlush) -> abci_types.ResponseFlush: + def send_flush(self, request: abci_types.RequestFlush) -> abci_types.ResponseFlush: # type: ignore """ Sends an flush request. @@ -83,8 +83,8 @@ def send_flush(self, request: abci_types.RequestFlush) -> abci_types.ResponseFlu return self.grpc_client.Flush(request) def send_set_option( - self, request: abci_types.RequestSetOption - ) -> abci_types.ResponseSetOption: + self, request: abci_types.RequestSetOption # type: ignore + ) -> abci_types.ResponseSetOption: # type: ignore """ Sends an setOption request. @@ -94,8 +94,8 @@ def send_set_option( return self.grpc_client.SetOption(request) def send_deliver_tx( - self, request: abci_types.RequestDeliverTx - ) -> abci_types.ResponseDeliverTx: + self, request: abci_types.RequestDeliverTx # type: ignore + ) -> abci_types.ResponseDeliverTx: # type: ignore """ Sends an deliverTx request. @@ -105,8 +105,8 @@ def send_deliver_tx( return self.grpc_client.DeliverTx(request) def send_check_tx( - self, request: abci_types.RequestCheckTx - ) -> abci_types.ResponseCheckTx: + self, request: abci_types.RequestCheckTx # type: ignore + ) -> abci_types.ResponseCheckTx: # type: ignore """ Sends an checkTx request. @@ -115,7 +115,7 @@ def send_check_tx( """ return self.grpc_client.CheckTx(request) - def send_query(self, request: abci_types.RequestQuery) -> abci_types.ResponseQuery: + def send_query(self, request: abci_types.RequestQuery) -> abci_types.ResponseQuery: # type: ignore """ Sends an query request. @@ -125,8 +125,8 @@ def send_query(self, request: abci_types.RequestQuery) -> abci_types.ResponseQue return self.grpc_client.Query(request) def send_commit( - self, request: abci_types.RequestCommit - ) -> abci_types.ResponseCommit: + self, request: abci_types.RequestCommit # type: ignore + ) -> abci_types.ResponseCommit: # type: ignore """ Sends an commit request. @@ -136,8 +136,8 @@ def send_commit( return self.grpc_client.Commit(request) def send_init_chain( - self, request: abci_types.RequestInitChain - ) -> abci_types.ResponseInitChain: + self, request: abci_types.RequestInitChain # type: ignore + ) -> abci_types.ResponseInitChain: # type: ignore """ Sends an initChain request. @@ -147,8 +147,8 @@ def send_init_chain( return self.grpc_client.InitChain(request) def send_begin_block( - self, request: abci_types.RequestBeginBlock - ) -> abci_types.ResponseBeginBlock: + self, request: abci_types.RequestBeginBlock # type: ignore + ) -> abci_types.ResponseBeginBlock: # type: ignore """ Sends an beginBlock request. @@ -158,8 +158,8 @@ def send_begin_block( return self.grpc_client.BeginBlock(request) def send_end_block( - self, request: abci_types.RequestEndBlock - ) -> abci_types.ResponseEndBlock: + self, request: abci_types.RequestEndBlock # type: ignore + ) -> abci_types.ResponseEndBlock: # type: ignore """ Sends an endBlock request. @@ -169,8 +169,8 @@ def send_end_block( return self.grpc_client.EndBlock(request) def send_list_snapshots( - self, request: abci_types.RequestListSnapshots - ) -> abci_types.ResponseListSnapshots: + self, request: abci_types.RequestListSnapshots # type: ignore + ) -> abci_types.ResponseListSnapshots: # type: ignore """ Sends an listSnapshots request. @@ -180,8 +180,8 @@ def send_list_snapshots( return self.grpc_client.ListSnapshots(request) def send_offer_snapshot( - self, request: abci_types.RequestOfferSnapshot - ) -> abci_types.ResponseOfferSnapshot: + self, request: abci_types.RequestOfferSnapshot # type: ignore + ) -> abci_types.ResponseOfferSnapshot: # type: ignore """ Sends an offerSnapshot request. @@ -191,8 +191,8 @@ def send_offer_snapshot( return self.grpc_client.OfferSnapshot(request) def send_load_snapshot_chunk( - self, request: abci_types.RequestLoadSnapshotChunk - ) -> abci_types.ResponseLoadSnapshotChunk: + self, request: abci_types.RequestLoadSnapshotChunk # type: ignore + ) -> abci_types.ResponseLoadSnapshotChunk: # type: ignore """ Sends an loadSnapshotChunk request. @@ -202,8 +202,8 @@ def send_load_snapshot_chunk( return self.grpc_client.LoadSnapshotChunk(request) def send_apply_snapshot_chunk( - self, request: abci_types.RequestApplySnapshotChunk - ) -> abci_types.ResponseApplySnapshotChunk: + self, request: abci_types.RequestApplySnapshotChunk # type: ignore + ) -> abci_types.ResponseApplySnapshotChunk: # type: ignore """ Sends an applySnapshotChunk request. diff --git a/packages/valory/connections/abci/tests/test_fuzz/mock_node/channels/tcp_channel.py b/packages/valory/connections/abci/tests/test_fuzz/mock_node/channels/tcp_channel.py index 318b486a40..a28cb7ea15 100644 --- a/packages/valory/connections/abci/tests/test_fuzz/mock_node/channels/tcp_channel.py +++ b/packages/valory/connections/abci/tests/test_fuzz/mock_node/channels/tcp_channel.py @@ -122,7 +122,7 @@ def _run_loop_in_thread(loop: AbstractEventLoop) -> None: asyncio.set_event_loop(loop) loop.run_forever() - def _get_response(self) -> abci_types.Response: + def _get_response(self) -> abci_types.Response: # type: ignore """ Gets the response for a request. @@ -138,7 +138,7 @@ def _get_response(self) -> abci_types.Response: cast(AbstractEventLoop, self.loop), ) message_bytes = future.result() - message = abci_types.Response() + message = abci_types.Response() # type: ignore message.ParseFromString(message_bytes) return message @@ -151,7 +151,7 @@ def _send_data(self, data: bytes) -> None: ) future.result() - def send_info(self, request: abci_types.RequestInfo) -> abci_types.ResponseInfo: + def send_info(self, request: abci_types.RequestInfo) -> abci_types.ResponseInfo: # type: ignore """ Sends an info request. @@ -159,7 +159,7 @@ def send_info(self, request: abci_types.RequestInfo) -> abci_types.ResponseInfo: :return: ResponseInfo pb object """ - message = abci_types.Request() + message = abci_types.Request() # type: ignore message.info.CopyFrom(request) data = _TendermintABCISerializer.write_message(message) @@ -176,14 +176,14 @@ def send_info(self, request: abci_types.RequestInfo) -> abci_types.ResponseInfo: return response.info - def send_echo(self, request: abci_types.RequestEcho) -> abci_types.ResponseEcho: + def send_echo(self, request: abci_types.RequestEcho) -> abci_types.ResponseEcho: # type: ignore """ Sends an echo request. :param: request: RequestEcho pb object :return: ResponseEcho pb object """ - message = abci_types.Request() + message = abci_types.Request() # type: ignore message.echo.CopyFrom(request) data = _TendermintABCISerializer.write_message(message) @@ -200,14 +200,14 @@ def send_echo(self, request: abci_types.RequestEcho) -> abci_types.ResponseEcho: return response.echo - def send_flush(self, request: abci_types.RequestFlush) -> abci_types.ResponseFlush: + def send_flush(self, request: abci_types.RequestFlush) -> abci_types.ResponseFlush: # type: ignore """ Sends an flush request. :param: request: RequestFlush pb object :return: ResponseFlush pb object """ - message = abci_types.Request() + message = abci_types.Request() # type: ignore message.flush.CopyFrom(request) data = _TendermintABCISerializer.write_message(message) @@ -225,15 +225,15 @@ def send_flush(self, request: abci_types.RequestFlush) -> abci_types.ResponseFlu return response.flush def send_set_option( - self, request: abci_types.RequestSetOption - ) -> abci_types.ResponseSetOption: + self, request: abci_types.RequestSetOption # type: ignore + ) -> abci_types.ResponseSetOption: # type: ignore """ Sends an setOption request. :param: request: RequestSetOption pb object :return: ResponseSetOption pb object """ - message = abci_types.Request() + message = abci_types.Request() # type: ignore message.set_option.CopyFrom(request) data = _TendermintABCISerializer.write_message(message) @@ -251,15 +251,15 @@ def send_set_option( return response.set_option def send_deliver_tx( - self, request: abci_types.RequestDeliverTx - ) -> abci_types.ResponseDeliverTx: + self, request: abci_types.RequestDeliverTx # type: ignore + ) -> abci_types.ResponseDeliverTx: # type: ignore """ Sends an deliverTx request. :param: request: RequestDeliverTx pb object :return: ResponseDeliverTx pb object """ - message = abci_types.Request() + message = abci_types.Request() # type: ignore message.deliver_tx.CopyFrom(request) data = _TendermintABCISerializer.write_message(message) @@ -277,15 +277,15 @@ def send_deliver_tx( return response.deliver_tx def send_check_tx( - self, request: abci_types.RequestCheckTx - ) -> abci_types.ResponseCheckTx: + self, request: abci_types.RequestCheckTx # type: ignore + ) -> abci_types.ResponseCheckTx: # type: ignore """ Sends an checkTx request. :param: request: RequestCheckTx pb object :return: ResponseCheckTx pb object """ - message = abci_types.Request() + message = abci_types.Request() # type: ignore message.check_tx.CopyFrom(request) data = _TendermintABCISerializer.write_message(message) @@ -302,14 +302,14 @@ def send_check_tx( return response.check_tx - def send_query(self, request: abci_types.RequestQuery) -> abci_types.ResponseQuery: + def send_query(self, request: abci_types.RequestQuery) -> abci_types.ResponseQuery: # type: ignore """ Sends an query request. :param: request: RequestQuery pb object :return: ResponseQuery pb object """ - message = abci_types.Request() + message = abci_types.Request() # type: ignore message.query.CopyFrom(request) data = _TendermintABCISerializer.write_message(message) @@ -327,15 +327,15 @@ def send_query(self, request: abci_types.RequestQuery) -> abci_types.ResponseQue return response.query def send_commit( - self, request: abci_types.RequestCommit - ) -> abci_types.ResponseCommit: + self, request: abci_types.RequestCommit # type: ignore + ) -> abci_types.ResponseCommit: # type: ignore """ Sends an commit request. :param: request: RequestCommit pb object :return: ResponseCommit pb object """ - message = abci_types.Request() + message = abci_types.Request() # type: ignore message.commit.CopyFrom(request) data = _TendermintABCISerializer.write_message(message) @@ -353,15 +353,15 @@ def send_commit( return response.commit def send_init_chain( - self, request: abci_types.RequestInitChain - ) -> abci_types.ResponseInitChain: + self, request: abci_types.RequestInitChain # type: ignore + ) -> abci_types.ResponseInitChain: # type: ignore """ Sends an initChain request. :param: request: RequestInitChain pb object :return: ResponseInitChain pb object """ - message = abci_types.Request() + message = abci_types.Request() # type: ignore message.init_chain.CopyFrom(request) data = _TendermintABCISerializer.write_message(message) @@ -379,15 +379,15 @@ def send_init_chain( return response.init_chain def send_begin_block( - self, request: abci_types.RequestBeginBlock - ) -> abci_types.ResponseBeginBlock: + self, request: abci_types.RequestBeginBlock # type: ignore + ) -> abci_types.ResponseBeginBlock: # type: ignore """ Sends an beginBlock request. :param: request: RequestBeginBlock pb object :return: ResponseBeginBlock pb object """ - message = abci_types.Request() + message = abci_types.Request() # type: ignore message.begin_block.CopyFrom(request) data = _TendermintABCISerializer.write_message(message) @@ -405,15 +405,15 @@ def send_begin_block( return response.begin_block def send_end_block( - self, request: abci_types.RequestEndBlock - ) -> abci_types.ResponseEndBlock: + self, request: abci_types.RequestEndBlock # type: ignore + ) -> abci_types.ResponseEndBlock: # type: ignore """ Sends an endBlock request. :param: request: RequestEndBlock pb object :return: ResponseEndBlock pb object """ - message = abci_types.Request() + message = abci_types.Request() # type: ignore message.end_block.CopyFrom(request) data = _TendermintABCISerializer.write_message(message) @@ -431,15 +431,15 @@ def send_end_block( return response.end_block def send_list_snapshots( - self, request: abci_types.RequestListSnapshots - ) -> abci_types.ResponseListSnapshots: + self, request: abci_types.RequestListSnapshots # type: ignore + ) -> abci_types.ResponseListSnapshots: # type: ignore """ Sends an listSnapshots request. :param: request: RequestListSnapshots pb object :return: ResponseListSnapshots pb object """ - message = abci_types.Request() + message = abci_types.Request() # type: ignore message.list_snapshots.CopyFrom(request) data = _TendermintABCISerializer.write_message(message) @@ -457,15 +457,15 @@ def send_list_snapshots( return response.list_snapshots def send_offer_snapshot( - self, request: abci_types.RequestOfferSnapshot - ) -> abci_types.ResponseOfferSnapshot: + self, request: abci_types.RequestOfferSnapshot # type: ignore + ) -> abci_types.ResponseOfferSnapshot: # type: ignore """ Sends an offerSnapshot request. :param: request: RequestOfferSnapshot pb object :return: ResponseOfferSnapshot pb object """ - message = abci_types.Request() + message = abci_types.Request() # type: ignore message.offer_snapshot.CopyFrom(request) data = _TendermintABCISerializer.write_message(message) @@ -483,15 +483,15 @@ def send_offer_snapshot( return response.offer_snapshot def send_load_snapshot_chunk( - self, request: abci_types.RequestLoadSnapshotChunk - ) -> abci_types.ResponseLoadSnapshotChunk: + self, request: abci_types.RequestLoadSnapshotChunk # type: ignore + ) -> abci_types.ResponseLoadSnapshotChunk: # type: ignore """ Sends an loadSnapshotChunk request. :param: request: RequestLoadSnapshotChunk pb object :return: ResponseLoadSnapshotChunk pb object """ - message = abci_types.Request() + message = abci_types.Request() # type: ignore message.load_snapshot_chunk.CopyFrom(request) data = _TendermintABCISerializer.write_message(message) @@ -509,15 +509,15 @@ def send_load_snapshot_chunk( return response.load_snapshot_chunk def send_apply_snapshot_chunk( - self, request: abci_types.RequestApplySnapshotChunk - ) -> abci_types.ResponseApplySnapshotChunk: + self, request: abci_types.RequestApplySnapshotChunk # type: ignore + ) -> abci_types.ResponseApplySnapshotChunk: # type: ignore """ Sends an applySnapshotChunk request. :param: request: RequestApplySnapshotChunk pb object :return: ResponseApplySnapshotChunk pb object """ - message = abci_types.Request() + message = abci_types.Request() # type: ignore message.apply_snapshot_chunk.CopyFrom(request) data = _TendermintABCISerializer.write_message(message) diff --git a/packages/valory/connections/abci/tests/test_fuzz/mock_node/node.py b/packages/valory/connections/abci/tests/test_fuzz/mock_node/node.py index 6c87b6d6ee..3c5bb3f87c 100644 --- a/packages/valory/connections/abci/tests/test_fuzz/mock_node/node.py +++ b/packages/valory/connections/abci/tests/test_fuzz/mock_node/node.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # ------------------------------------------------------------------------------ # -# Copyright 2021-2022 Valory AG +# Copyright 2021-2023 Valory AG # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -71,7 +71,7 @@ def disconnect(self) -> None: self.channel.disconnect() def info(self, version: str, block_version: int, p2p_version: int) -> bool: - request = abci_types.RequestInfo() + request = abci_types.RequestInfo() # type: ignore request.version = version request.block_version = block_version request.p2p_version = p2p_version @@ -87,7 +87,7 @@ def info(self, version: str, block_version: int, p2p_version: int) -> bool: return True def echo(self, message: str) -> bool: - request = abci_types.RequestEcho() + request = abci_types.RequestEcho() # type: ignore request.message = message self.logger.info(f"Calling echo with message={message}") @@ -98,7 +98,7 @@ def echo(self, message: str) -> bool: return True def flush(self) -> bool: - request = abci_types.RequestFlush() + request = abci_types.RequestFlush() # type: ignore self.logger.info("Sending flush req") @@ -109,7 +109,7 @@ def flush(self) -> bool: return True def set_option(self, key: str, value: str) -> bool: - request = abci_types.RequestSetOption() + request = abci_types.RequestSetOption() # type: ignore request.key = key request.value = value @@ -122,7 +122,7 @@ def set_option(self, key: str, value: str) -> bool: return True def deliver_tx(self, tx: bytes) -> bool: - request = abci_types.RequestDeliverTx() + request = abci_types.RequestDeliverTx() # type: ignore request.tx = tx self.logger.info(f"Calling deliver_tx with tx={tx!r}") @@ -134,7 +134,7 @@ def deliver_tx(self, tx: bytes) -> bool: return True def check_tx(self, tx: bytes, is_new_check: bool) -> bool: - request = abci_types.RequestCheckTx() + request = abci_types.RequestCheckTx() # type: ignore request.tx = tx request.type = 1 if is_new_check else 0 @@ -147,7 +147,7 @@ def check_tx(self, tx: bytes, is_new_check: bool) -> bool: return response def query(self, data: bytes, path: str, height: int, prove: bool) -> bool: - request = abci_types.RequestQuery() + request = abci_types.RequestQuery() # type: ignore request.data = data request.path = path request.height = height @@ -164,7 +164,7 @@ def query(self, data: bytes, path: str, height: int, prove: bool) -> bool: return True def commit(self) -> bool: - request = abci_types.RequestCommit() + request = abci_types.RequestCommit() # type: ignore self.logger.info("Calling commit") @@ -192,7 +192,7 @@ def init_chain( app_state_bytes: bytes, initial_height: int, ) -> bool: - request = abci_types.RequestInitChain() + request = abci_types.RequestInitChain() # type: ignore timestamp = timestamp_pb2.Timestamp() Timestamp.encode(timestamp, Timestamp(time_seconds, time_nanos)) @@ -207,7 +207,7 @@ def init_chain( ) validator_params = ValidatorParams(pub_key_types) version_params = VersionParams(app_version) - consensus_params = abci_types.ConsensusParams() + consensus_params = abci_types.ConsensusParams() # type: ignore ConsensusParams.encode( consensus_params, ConsensusParams( @@ -230,8 +230,8 @@ def init_chain( validator_updates_pb = [] for validator_update_object in validator_updates: - validator_update_protobuf_object = abci_types.ValidatorUpdate() - pub_key = keys_types.PublicKey() + validator_update_protobuf_object = abci_types.ValidatorUpdate() # type: ignore + pub_key = keys_types.PublicKey() # type: ignore PublicKey.encode(pub_key, validator_update_object.pub_key) validator_update_protobuf_object.power = validator_update_object.power @@ -302,15 +302,15 @@ def begin_block( evidence_time_nanos: List[int], evidence_total_voting_power: List[int], ) -> bool: - consensus_version = version_type.Consensus() + consensus_version = version_type.Consensus() # type: ignore consensus_version.block = consen_ver_block consensus_version.app = consen_ver_app - part_set_header = tendermint_types.PartSetHeader() + part_set_header = tendermint_types.PartSetHeader() # type: ignore part_set_header.total = next_validators_part_header_total part_set_header.hash = next_validators_part_header_hash - block_id = tendermint_types.BlockID() + block_id = tendermint_types.BlockID() # type: ignore block_id.hash = last_block_id_hash block_id.part_set_header.CopyFrom(part_set_header) @@ -318,7 +318,7 @@ def begin_block( time.seconds = time_seconds time.nanos = time_nanos - header = tendermint_types.Header() + header = tendermint_types.Header() # type: ignore header.version.CopyFrom(consensus_version) header.chain_id = chain_id header.height = height @@ -342,17 +342,17 @@ def begin_block( vote_infos = [] for i in range(last_commit_info_votes.__len__()): - validator = abci_types.Validator() + validator = abci_types.Validator() # type: ignore validator.address = last_commit_info_votes[i][0] validator.power = last_commit_info_votes[i][1] - vote_info = abci_types.VoteInfo() + vote_info = abci_types.VoteInfo() # type: ignore vote_info.validator.CopyFrom(validator) vote_info.signed_last_block = last_commit_info_signed_last_block[i] vote_infos.append(vote_info) - last_commit_info = abci_types.LastCommitInfo() + last_commit_info = abci_types.LastCommitInfo() # type: ignore last_commit_info.round = last_commit_round last_commit_info.votes.extend(vote_infos) @@ -373,7 +373,7 @@ def begin_block( evidences = [] for i in range(evidence_type.__len__()): - validator = abci_types.Validator() + validator = abci_types.Validator() # type: ignore validator.address = evidence_validator_address[i] validator.power = evidence_validator_power[i] @@ -381,7 +381,7 @@ def begin_block( time.seconds = evidence_time_seconds[i] time.nanos = evidence_time_nanos[i] - evidence = abci_types.Evidence() + evidence = abci_types.Evidence() # type: ignore evidence.type = evidence_type[i] % 3 evidence.height = evidence_height[i] evidence.total_voting_power = evidence_total_voting_power[i] @@ -390,7 +390,7 @@ def begin_block( evidences.append(evidence) - request = abci_types.RequestBeginBlock() + request = abci_types.RequestBeginBlock() # type: ignore request.hash = hash_ request.header.CopyFrom(header) request.last_commit_info.CopyFrom(last_commit_info) @@ -438,7 +438,7 @@ def begin_block( return True def end_block(self, height: int) -> bool: - request = abci_types.RequestEndBlock() + request = abci_types.RequestEndBlock() # type: ignore request.height = height self.logger.info(f"Calling end_block height={height}") @@ -450,7 +450,7 @@ def end_block(self, height: int) -> bool: return response def list_snapshots(self) -> bool: - request = abci_types.RequestListSnapshots() + request = abci_types.RequestListSnapshots() # type: ignore self.logger.info("Calling list snapshots") @@ -469,10 +469,10 @@ def offer_snapshot( metadata: bytes, app_hash: bytes, ) -> bool: - snapshot = abci_types.Snapshot() + snapshot = abci_types.Snapshot() # type: ignore Snapshot.encode(snapshot, Snapshot(height, format_, chunks, hash_, metadata)) - request = abci_types.RequestOfferSnapshot() + request = abci_types.RequestOfferSnapshot() # type: ignore request.snapshot.CopyFrom(snapshot) request.app_hash = app_hash @@ -488,7 +488,7 @@ def offer_snapshot( return response def load_snapshot_chunk(self, height: int, format_: int, chunk: int) -> bool: - request = abci_types.RequestLoadSnapshotChunk() + request = abci_types.RequestLoadSnapshotChunk() # type: ignore request.height = height request.format = format_ request.chunk = chunk @@ -504,7 +504,7 @@ def load_snapshot_chunk(self, height: int, format_: int, chunk: int) -> bool: return response def apply_snapshot_chunk(self, index: int, chunk: bytes, sender: str) -> bool: - request = abci_types.RequestApplySnapshotChunk() + request = abci_types.RequestApplySnapshotChunk() # type: ignore request.index = index request.chunk = chunk request.sender = sender diff --git a/packages/valory/connections/abci/tests/test_fuzz/test_fuzz.py b/packages/valory/connections/abci/tests/test_fuzz/test_fuzz.py index 2bfb95328a..02333a39c3 100644 --- a/packages/valory/connections/abci/tests/test_fuzz/test_fuzz.py +++ b/packages/valory/connections/abci/tests/test_fuzz/test_fuzz.py @@ -22,7 +22,7 @@ from hypothesis import settings -from packages.valory.connections.abci import CI +from packages.valory.connections.abci.tests import CI from packages.valory.connections.abci.tests.test_fuzz.base import BaseFuzzyTests from packages.valory.connections.abci.tests.test_fuzz.mock_node.channels.grpc_channel import ( GrpcChannel, diff --git a/packages/valory/connections/ipfs/connection.yaml b/packages/valory/connections/ipfs/connection.yaml index 2540b821d1..359ef3a4bd 100644 --- a/packages/valory/connections/ipfs/connection.yaml +++ b/packages/valory/connections/ipfs/connection.yaml @@ -14,7 +14,7 @@ fingerprint: fingerprint_ignore_patterns: [] connections: [] protocols: -- valory/ipfs:0.1.0:bafybeibjzhsengtxfofqpxy6syamplevp35obemwfp4c5lhag3v2bvgysa +- valory/ipfs:0.1.0:bafybeiedxeismnx3k5ty4mvvhlqideixlhqmi5mtcki4lxqfa7uqh7p33u class_name: IpfsConnection config: ipfs_domain: null @@ -24,7 +24,7 @@ dependencies: ipfshttpclient: version: ==0.8.0a2 open-aea-cli-ipfs: - version: ==1.39.0 + version: ==1.40.0 requests: version: ==2.28.2 is_abstract: false diff --git a/packages/valory/contracts/gnosis_safe/contract.yaml b/packages/valory/contracts/gnosis_safe/contract.yaml index 6413174393..78268f69dd 100644 --- a/packages/valory/contracts/gnosis_safe/contract.yaml +++ b/packages/valory/contracts/gnosis_safe/contract.yaml @@ -15,26 +15,26 @@ fingerprint: tests/test_contract.py: bafybeiccezfy6uu24owucy3klzddbtinfs6agyarzbekmtnq7dgruimz3y fingerprint_ignore_patterns: [] contracts: -- valory/gnosis_safe_proxy_factory:0.1.0:bafybeihlc3keplnos7vnlibehpt2rvfhlljyshbsvhbkwgyhgdvqublzeq +- valory/gnosis_safe_proxy_factory:0.1.0:bafybeidnptjd2e5azxrunvduwacufrr5pwy4xkhmeoazqq55o2no4m474u class_name: GnosisSafeContract contract_interface_paths: ethereum: build/GnosisSafe_V1_3_0.json dependencies: ecdsa: version: '>=0.15' + eth-abi: + version: ==4.0.0 + eth-utils: + version: ==2.2.0 eth_typing: {} hexbytes: {} open-aea-ledger-ethereum: - version: ==1.39.0 + version: ==1.40.0 open-aea-test-autonomy: - version: ==0.12.1.post1 + version: ==0.13.0 packaging: {} - requests: {} - open-aea-web3: - version: ==6.0.1 - eth-utils: - version: ==2.2.0 - eth-abi: - version: ==4.0.0 pycryptodome: version: ==3.18.0 + requests: {} + web3: + version: <7,>=6.0.0 diff --git a/packages/valory/contracts/gnosis_safe_proxy_factory/contract.yaml b/packages/valory/contracts/gnosis_safe_proxy_factory/contract.yaml index 8a7e91de5a..a2310fa6d4 100644 --- a/packages/valory/contracts/gnosis_safe_proxy_factory/contract.yaml +++ b/packages/valory/contracts/gnosis_safe_proxy_factory/contract.yaml @@ -19,8 +19,8 @@ contract_interface_paths: ethereum: build/ProxyFactory_V1_3_0.json dependencies: open-aea-ledger-ethereum: - version: ==1.39.0 + version: ==1.40.0 open-aea-test-autonomy: - version: ==0.12.1.post1 - open-aea-web3: - version: ==6.0.1 + version: ==0.13.0 + web3: + version: <7,>=6.0.0 diff --git a/packages/valory/contracts/multicall2/contract.yaml b/packages/valory/contracts/multicall2/contract.yaml index 2c40ff27e3..bcbb9f1293 100755 --- a/packages/valory/contracts/multicall2/contract.yaml +++ b/packages/valory/contracts/multicall2/contract.yaml @@ -18,6 +18,6 @@ contract_interface_paths: contracts: [] dependencies: open-aea-ledger-ethereum: - version: ==1.39.0 - open-aea-web3: - version: ==6.0.1 + version: ==1.40.0 + web3: + version: <7,>=6.0.0 diff --git a/packages/valory/contracts/multisend/contract.py b/packages/valory/contracts/multisend/contract.py index 4e4cd12099..0082a6e61b 100644 --- a/packages/valory/contracts/multisend/contract.py +++ b/packages/valory/contracts/multisend/contract.py @@ -163,7 +163,7 @@ def get_multisend_tx( :param ledger_api: ledger API object. :param contract_address: the contract address. - :param multi_send_txs: the multisend transaction list. + :param txs: the multisend transaction list. :return: an optional JSON-like object. """ multisend_contract = cls.get_instance(ledger_api, contract_address) diff --git a/packages/valory/contracts/multisend/contract.yaml b/packages/valory/contracts/multisend/contract.yaml index e3a1fdd021..9128ba6ad9 100644 --- a/packages/valory/contracts/multisend/contract.yaml +++ b/packages/valory/contracts/multisend/contract.yaml @@ -9,7 +9,7 @@ fingerprint: README.md: bafybeidavn55z6uoz3hdjxs4ukvykl2tkvbntnl22uexfyk7unpnfqjflq __init__.py: bafybeigzxw44dlgdb4qxhm6zul426uyxnqtlhe3oajivdyo3ue7kb45pai build/MultiSend.json: bafybeicamzvsaaxtboijwfnv24ctrgv5v7gn5irnydnuf62y57o7fmx2jm - contract.py: bafybeighkiifrdcgeprv2p3pnkwyppo5qz6achdtxmnwpoe2knoywsrqlm + contract.py: bafybeid5h5sro6nt7jmr52ntqdwo4ajhdyxy5estq625gzvo3dbkjuzxia tests/__init__.py: bafybeifd5zc6x3oxef7uy6mhjnt6oybna6ux7ycareqoqo52czkfxaeawm tests/test_contract.py: bafybeid72mml6mvtv6qqr7r6a2nfbgbwpkhyitx5mmdtzcejt5zo7wcmje fingerprint_ignore_patterns: [] @@ -19,5 +19,5 @@ contract_interface_paths: ethereum: build/MultiSend.json dependencies: hexbytes: {} - open-aea-web3: - version: ==6.0.1 + web3: + version: <7,>=6.0.0 diff --git a/packages/valory/contracts/service_registry/contract.yaml b/packages/valory/contracts/service_registry/contract.yaml index 3afcd1d21d..a054218401 100644 --- a/packages/valory/contracts/service_registry/contract.yaml +++ b/packages/valory/contracts/service_registry/contract.yaml @@ -19,8 +19,8 @@ contract_interface_paths: ethereum: build/ServiceRegistry.json dependencies: open-aea-ledger-ethereum: - version: ==1.39.0 + version: ==1.40.0 open-aea-test-autonomy: - version: ==0.12.1.post1 - open-aea-web3: - version: ==6.0.1 + version: ==0.13.0 + web3: + version: <7,>=6.0.0 diff --git a/packages/valory/protocols/abci/__init__.py b/packages/valory/protocols/abci/__init__.py index 8e3ffb4e19..bb475bd7cf 100644 --- a/packages/valory/protocols/abci/__init__.py +++ b/packages/valory/protocols/abci/__init__.py @@ -20,7 +20,7 @@ """ This module contains the support resources for the abci protocol. -It was created with protocol buffer compiler version `libprotoc 3.19.4` and aea protocol generator version `1.0.0`. +It was created with protocol buffer compiler version `libprotoc 24.3` and aea protocol generator version `1.0.0`. """ from packages.valory.protocols.abci.message import AbciMessage diff --git a/packages/valory/protocols/abci/abci_pb2.py b/packages/valory/protocols/abci/abci_pb2.py index 48c93767ee..b1454d4349 100644 --- a/packages/valory/protocols/abci/abci_pb2.py +++ b/packages/valory/protocols/abci/abci_pb2.py @@ -4,9 +4,8 @@ """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder # @@protoc_insertion_point(imports) @@ -18,904 +17,161 @@ b'\n\nabci.proto\x12\x16\x61\x65\x61.valory.abci.v0_1_0"\x86P\n\x0b\x41\x62\x63iMessage\x12G\n\x05\x64ummy\x18\x05 \x01(\x0b\x32\x36.aea.valory.abci.v0_1_0.AbciMessage.Dummy_PerformativeH\x00\x12u\n\x1crequest_apply_snapshot_chunk\x18\x06 \x01(\x0b\x32M.aea.valory.abci.v0_1_0.AbciMessage.Request_Apply_Snapshot_Chunk_PerformativeH\x00\x12\x63\n\x13request_begin_block\x18\x07 \x01(\x0b\x32\x44.aea.valory.abci.v0_1_0.AbciMessage.Request_Begin_Block_PerformativeH\x00\x12]\n\x10request_check_tx\x18\x08 \x01(\x0b\x32\x41.aea.valory.abci.v0_1_0.AbciMessage.Request_Check_Tx_PerformativeH\x00\x12Y\n\x0erequest_commit\x18\t \x01(\x0b\x32?.aea.valory.abci.v0_1_0.AbciMessage.Request_Commit_PerformativeH\x00\x12\x61\n\x12request_deliver_tx\x18\n \x01(\x0b\x32\x43.aea.valory.abci.v0_1_0.AbciMessage.Request_Deliver_Tx_PerformativeH\x00\x12U\n\x0crequest_echo\x18\x0b \x01(\x0b\x32=.aea.valory.abci.v0_1_0.AbciMessage.Request_Echo_PerformativeH\x00\x12_\n\x11request_end_block\x18\x0c \x01(\x0b\x32\x42.aea.valory.abci.v0_1_0.AbciMessage.Request_End_Block_PerformativeH\x00\x12W\n\rrequest_flush\x18\r \x01(\x0b\x32>.aea.valory.abci.v0_1_0.AbciMessage.Request_Flush_PerformativeH\x00\x12U\n\x0crequest_info\x18\x0e \x01(\x0b\x32=.aea.valory.abci.v0_1_0.AbciMessage.Request_Info_PerformativeH\x00\x12\x61\n\x12request_init_chain\x18\x0f \x01(\x0b\x32\x43.aea.valory.abci.v0_1_0.AbciMessage.Request_Init_Chain_PerformativeH\x00\x12i\n\x16request_list_snapshots\x18\x10 \x01(\x0b\x32G.aea.valory.abci.v0_1_0.AbciMessage.Request_List_Snapshots_PerformativeH\x00\x12s\n\x1brequest_load_snapshot_chunk\x18\x11 \x01(\x0b\x32L.aea.valory.abci.v0_1_0.AbciMessage.Request_Load_Snapshot_Chunk_PerformativeH\x00\x12i\n\x16request_offer_snapshot\x18\x12 \x01(\x0b\x32G.aea.valory.abci.v0_1_0.AbciMessage.Request_Offer_Snapshot_PerformativeH\x00\x12W\n\rrequest_query\x18\x13 \x01(\x0b\x32>.aea.valory.abci.v0_1_0.AbciMessage.Request_Query_PerformativeH\x00\x12\x61\n\x12request_set_option\x18\x14 \x01(\x0b\x32\x43.aea.valory.abci.v0_1_0.AbciMessage.Request_Set_Option_PerformativeH\x00\x12w\n\x1dresponse_apply_snapshot_chunk\x18\x15 \x01(\x0b\x32N.aea.valory.abci.v0_1_0.AbciMessage.Response_Apply_Snapshot_Chunk_PerformativeH\x00\x12\x65\n\x14response_begin_block\x18\x16 \x01(\x0b\x32\x45.aea.valory.abci.v0_1_0.AbciMessage.Response_Begin_Block_PerformativeH\x00\x12_\n\x11response_check_tx\x18\x17 \x01(\x0b\x32\x42.aea.valory.abci.v0_1_0.AbciMessage.Response_Check_Tx_PerformativeH\x00\x12[\n\x0fresponse_commit\x18\x18 \x01(\x0b\x32@.aea.valory.abci.v0_1_0.AbciMessage.Response_Commit_PerformativeH\x00\x12\x63\n\x13response_deliver_tx\x18\x19 \x01(\x0b\x32\x44.aea.valory.abci.v0_1_0.AbciMessage.Response_Deliver_Tx_PerformativeH\x00\x12W\n\rresponse_echo\x18\x1a \x01(\x0b\x32>.aea.valory.abci.v0_1_0.AbciMessage.Response_Echo_PerformativeH\x00\x12\x61\n\x12response_end_block\x18\x1b \x01(\x0b\x32\x43.aea.valory.abci.v0_1_0.AbciMessage.Response_End_Block_PerformativeH\x00\x12\x61\n\x12response_exception\x18\x1c \x01(\x0b\x32\x43.aea.valory.abci.v0_1_0.AbciMessage.Response_Exception_PerformativeH\x00\x12Y\n\x0eresponse_flush\x18\x1d \x01(\x0b\x32?.aea.valory.abci.v0_1_0.AbciMessage.Response_Flush_PerformativeH\x00\x12W\n\rresponse_info\x18\x1e \x01(\x0b\x32>.aea.valory.abci.v0_1_0.AbciMessage.Response_Info_PerformativeH\x00\x12\x63\n\x13response_init_chain\x18\x1f \x01(\x0b\x32\x44.aea.valory.abci.v0_1_0.AbciMessage.Response_Init_Chain_PerformativeH\x00\x12k\n\x17response_list_snapshots\x18 \x01(\x0b\x32H.aea.valory.abci.v0_1_0.AbciMessage.Response_List_Snapshots_PerformativeH\x00\x12u\n\x1cresponse_load_snapshot_chunk\x18! \x01(\x0b\x32M.aea.valory.abci.v0_1_0.AbciMessage.Response_Load_Snapshot_Chunk_PerformativeH\x00\x12k\n\x17response_offer_snapshot\x18" \x01(\x0b\x32H.aea.valory.abci.v0_1_0.AbciMessage.Response_Offer_Snapshot_PerformativeH\x00\x12Y\n\x0eresponse_query\x18# \x01(\x0b\x32?.aea.valory.abci.v0_1_0.AbciMessage.Response_Query_PerformativeH\x00\x12\x63\n\x13response_set_option\x18$ \x01(\x0b\x32\x44.aea.valory.abci.v0_1_0.AbciMessage.Response_Set_Option_PerformativeH\x00\x1a\x7f\n\x0b\x43heckTxType\x12J\n\x04type\x18\x01 \x01(\x0e\x32<.aea.valory.abci.v0_1_0.AbciMessage.CheckTxType._CheckTxType"$\n\x0c_CheckTxType\x12\x07\n\x03NEW\x10\x00\x12\x0b\n\x07RECHECK\x10\x01\x1a\xac\x05\n\x0f\x43onsensusParams\x12N\n\x05\x62lock\x18\x01 \x01(\x0b\x32?.aea.valory.abci.v0_1_0.AbciMessage.ConsensusParams.BlockParams\x12T\n\x08\x65vidence\x18\x02 \x01(\x0b\x32\x42.aea.valory.abci.v0_1_0.AbciMessage.ConsensusParams.EvidenceParams\x12V\n\tvalidator\x18\x03 \x01(\x0b\x32\x43.aea.valory.abci.v0_1_0.AbciMessage.ConsensusParams.ValidatorParams\x12R\n\x07version\x18\x04 \x01(\x0b\x32\x41.aea.valory.abci.v0_1_0.AbciMessage.ConsensusParams.VersionParams\x1a*\n\x08\x44uration\x12\x0f\n\x07seconds\x18\x01 \x01(\x03\x12\r\n\x05nanos\x18\x02 \x01(\x05\x1a\x31\n\x0b\x42lockParams\x12\x11\n\tmax_bytes\x18\x01 \x01(\x03\x12\x0f\n\x07max_gas\x18\x02 \x01(\x03\x1a\x97\x01\n\x0e\x45videnceParams\x12\x1a\n\x12max_age_num_blocks\x18\x01 \x01(\x03\x12V\n\x10max_age_duration\x18\x02 \x01(\x0b\x32<.aea.valory.abci.v0_1_0.AbciMessage.ConsensusParams.Duration\x12\x11\n\tmax_bytes\x18\x03 \x01(\x03\x1a(\n\x0fValidatorParams\x12\x15\n\rpub_key_types\x18\x01 \x03(\t\x1a$\n\rVersionParams\x12\x13\n\x0b\x61pp_version\x18\x01 \x01(\x04\x1a\xed\x01\n\x06\x45vents\x12@\n\x06\x65vents\x18\x01 \x03(\x0b\x32\x30.aea.valory.abci.v0_1_0.AbciMessage.Events.Event\x1a;\n\x0e\x45ventAttribute\x12\x0b\n\x03key\x18\x01 \x01(\x0c\x12\r\n\x05value\x18\x02 \x01(\x0c\x12\r\n\x05index\x18\x03 \x01(\x08\x1a\x64\n\x05\x45vent\x12\x0c\n\x04type\x18\x01 \x01(\t\x12M\n\nattributes\x18\x02 \x03(\x0b\x32\x39.aea.valory.abci.v0_1_0.AbciMessage.Events.EventAttribute\x1a\xc5\x03\n\tEvidences\x12T\n\x14\x62yzantine_validators\x18\x01 \x03(\x0b\x32\x36.aea.valory.abci.v0_1_0.AbciMessage.Evidences.Evidence\x1a\xe1\x02\n\x08\x45vidence\x12Q\n\x04type\x18\x01 \x01(\x0e\x32\x43.aea.valory.abci.v0_1_0.AbciMessage.Evidences.Evidence.EvidenceType\x12O\n\tvalidator\x18\x02 \x01(\x0b\x32<.aea.valory.abci.v0_1_0.AbciMessage.LastCommitInfo.Validator\x12\x0e\n\x06height\x18\x03 \x01(\x03\x12;\n\x04time\x18\x04 \x01(\x0b\x32-.aea.valory.abci.v0_1_0.AbciMessage.Timestamp\x12\x1a\n\x12total_voting_power\x18\x05 \x01(\x03"H\n\x0c\x45videnceType\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x12\n\x0e\x44UPLICATE_VOTE\x10\x01\x12\x17\n\x13LIGHT_CLIENT_ATTACK\x10\x02\x1a\xa4\x05\n\x06Header\x12L\n\x07version\x18\x01 \x01(\x0b\x32;.aea.valory.abci.v0_1_0.AbciMessage.Header.ConsensusVersion\x12\x10\n\x08\x63hain_id\x18\x02 \x01(\t\x12\x0e\n\x06height\x18\x03 \x01(\x03\x12;\n\x04time\x18\x04 \x01(\x0b\x32-.aea.valory.abci.v0_1_0.AbciMessage.Timestamp\x12I\n\rlast_block_id\x18\x05 \x01(\x0b\x32\x32.aea.valory.abci.v0_1_0.AbciMessage.Header.BlockID\x12\x18\n\x10last_commit_hash\x18\x06 \x01(\x0c\x12\x11\n\tdata_hash\x18\x07 \x01(\x0c\x12\x17\n\x0fvalidators_hash\x18\x08 \x01(\x0c\x12\x1c\n\x14next_validators_hash\x18\t \x01(\x0c\x12\x16\n\x0e\x63onsensus_hash\x18\n \x01(\x0c\x12\x10\n\x08\x61pp_hash\x18\x0b \x01(\x0c\x12\x19\n\x11last_results_hash\x18\x0c \x01(\x0c\x12\x15\n\revidence_hash\x18\r \x01(\x0c\x12\x18\n\x10proposer_address\x18\x0e \x01(\x0c\x1a.\n\x10\x43onsensusVersion\x12\r\n\x05\x62lock\x18\x01 \x01(\x04\x12\x0b\n\x03\x61pp\x18\x02 \x01(\x04\x1aj\n\x07\x42lockID\x12\x0c\n\x04hash\x18\x01 \x01(\x0c\x12Q\n\x0fpart_set_header\x18\x02 \x01(\x0b\x32\x38.aea.valory.abci.v0_1_0.AbciMessage.Header.PartSetHeader\x1a,\n\rPartSetHeader\x12\r\n\x05total\x18\x01 \x01(\r\x12\x0c\n\x04hash\x18\x02 \x01(\x0c\x1a\x90\x02\n\x0eLastCommitInfo\x12\r\n\x05round\x18\x01 \x01(\x05\x12J\n\x05votes\x18\x02 \x03(\x0b\x32;.aea.valory.abci.v0_1_0.AbciMessage.LastCommitInfo.VoteInfo\x1a+\n\tValidator\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\x0c\x12\r\n\x05power\x18\x03 \x01(\x03\x1av\n\x08VoteInfo\x12O\n\tvalidator\x18\x01 \x01(\x0b\x32<.aea.valory.abci.v0_1_0.AbciMessage.LastCommitInfo.Validator\x12\x19\n\x11signed_last_block\x18\x02 \x01(\x08\x1a\x81\x01\n\x08ProofOps\x12\x41\n\x03ops\x18\x01 \x03(\x0b\x32\x34.aea.valory.abci.v0_1_0.AbciMessage.ProofOps.ProofOp\x1a\x32\n\x07ProofOp\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x0b\n\x03key\x18\x02 \x01(\x0c\x12\x0c\n\x04\x64\x61ta\x18\x03 \x01(\x0c\x1a\xb8\x01\n\x06Result\x12J\n\x0bresult_type\x18\x01 \x01(\x0e\x32\x35.aea.valory.abci.v0_1_0.AbciMessage.Result.ResultType"b\n\nResultType\x12\x0b\n\x07UNKNOWN\x10\x00\x12\n\n\x06\x41\x43\x43\x45PT\x10\x01\x12\t\n\x05\x41\x42ORT\x10\x02\x12\n\n\x06REJECT\x10\x03\x12\x11\n\rREJECT_FORMAT\x10\x04\x12\x11\n\rREJECT_SENDER\x10\x05\x1aL\n\tSnapShots\x12?\n\tsnapshots\x18\x01 \x03(\x0b\x32,.aea.valory.abci.v0_1_0.AbciMessage.Snapshot\x1aZ\n\x08Snapshot\x12\x0e\n\x06height\x18\x01 \x01(\x04\x12\x0e\n\x06\x66ormat\x18\x02 \x01(\r\x12\x0e\n\x06\x63hunks\x18\x03 \x01(\r\x12\x0c\n\x04hash\x18\x04 \x01(\x0c\x12\x10\n\x08metadata\x18\x05 \x01(\x0c\x1a+\n\tTimestamp\x12\x0f\n\x07seconds\x18\x01 \x01(\x03\x12\r\n\x05nanos\x18\x02 \x01(\x05\x1a\x9b\x02\n\x10ValidatorUpdates\x12X\n\nvalidators\x18\x01 \x03(\x0b\x32\x44.aea.valory.abci.v0_1_0.AbciMessage.ValidatorUpdates.ValidatorUpdate\x1a:\n\tPublicKey\x12\x11\n\x07\x65\x64\x32\x35\x35\x31\x39\x18\x01 \x01(\x0cH\x00\x12\x13\n\tsecp256k1\x18\x02 \x01(\x0cH\x00\x42\x05\n\x03sum\x1aq\n\x0fValidatorUpdate\x12O\n\x07pub_key\x18\x01 \x01(\x0b\x32>.aea.valory.abci.v0_1_0.AbciMessage.ValidatorUpdates.PublicKey\x12\r\n\x05power\x18\x02 \x01(\x03\x1a,\n\x19Request_Echo_Performative\x12\x0f\n\x07message\x18\x01 \x01(\t\x1a\x1c\n\x1aRequest_Flush_Performative\x1aX\n\x19Request_Info_Performative\x12\x0f\n\x07version\x18\x01 \x01(\t\x12\x15\n\rblock_version\x18\x02 \x01(\x05\x12\x13\n\x0bp2p_version\x18\x03 \x01(\x05\x1aK\n\x1fRequest_Set_Option_Performative\x12\x12\n\noption_key\x18\x01 \x01(\t\x12\x14\n\x0coption_value\x18\x02 \x01(\t\x1a\xdb\x02\n\x1fRequest_Init_Chain_Performative\x12;\n\x04time\x18\x01 \x01(\x0b\x32-.aea.valory.abci.v0_1_0.AbciMessage.Timestamp\x12\x10\n\x08\x63hain_id\x18\x02 \x01(\t\x12M\n\x10\x63onsensus_params\x18\x03 \x01(\x0b\x32\x33.aea.valory.abci.v0_1_0.AbciMessage.ConsensusParams\x12\x1f\n\x17\x63onsensus_params_is_set\x18\x04 \x01(\x08\x12H\n\nvalidators\x18\x05 \x01(\x0b\x32\x34.aea.valory.abci.v0_1_0.AbciMessage.ValidatorUpdates\x12\x17\n\x0f\x61pp_state_bytes\x18\x06 \x01(\x0c\x12\x16\n\x0einitial_height\x18\x07 \x01(\x05\x1a]\n\x1aRequest_Query_Performative\x12\x12\n\nquery_data\x18\x01 \x01(\x0c\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x0e\n\x06height\x18\x03 \x01(\x05\x12\r\n\x05prove\x18\x04 \x01(\x08\x1a\x87\x02\n Request_Begin_Block_Performative\x12\x0c\n\x04hash\x18\x01 \x01(\x0c\x12:\n\x06header\x18\x02 \x01(\x0b\x32*.aea.valory.abci.v0_1_0.AbciMessage.Header\x12L\n\x10last_commit_info\x18\x03 \x01(\x0b\x32\x32.aea.valory.abci.v0_1_0.AbciMessage.LastCommitInfo\x12K\n\x14\x62yzantine_validators\x18\x04 \x01(\x0b\x32-.aea.valory.abci.v0_1_0.AbciMessage.Evidences\x1aj\n\x1dRequest_Check_Tx_Performative\x12\n\n\x02tx\x18\x01 \x01(\x0c\x12=\n\x04type\x18\x02 \x01(\x0b\x32/.aea.valory.abci.v0_1_0.AbciMessage.CheckTxType\x1a-\n\x1fRequest_Deliver_Tx_Performative\x12\n\n\x02tx\x18\x01 \x01(\x0c\x1a\x30\n\x1eRequest_End_Block_Performative\x12\x0e\n\x06height\x18\x01 \x01(\x05\x1a\x1d\n\x1bRequest_Commit_Performative\x1a%\n#Request_List_Snapshots_Performative\x1aw\n#Request_Offer_Snapshot_Performative\x12>\n\x08snapshot\x18\x01 \x01(\x0b\x32,.aea.valory.abci.v0_1_0.AbciMessage.Snapshot\x12\x10\n\x08\x61pp_hash\x18\x02 \x01(\x0c\x1a_\n(Request_Load_Snapshot_Chunk_Performative\x12\x0e\n\x06height\x18\x01 \x01(\x05\x12\x0e\n\x06\x66ormat\x18\x02 \x01(\x05\x12\x13\n\x0b\x63hunk_index\x18\x03 \x01(\x05\x1a_\n)Request_Apply_Snapshot_Chunk_Performative\x12\r\n\x05index\x18\x01 \x01(\x05\x12\r\n\x05\x63hunk\x18\x02 \x01(\x0c\x12\x14\n\x0c\x63hunk_sender\x18\x03 \x01(\t\x1a\x30\n\x1fResponse_Exception_Performative\x12\r\n\x05\x65rror\x18\x01 \x01(\t\x1a-\n\x1aResponse_Echo_Performative\x12\x0f\n\x07message\x18\x01 \x01(\t\x1a\x1d\n\x1bResponse_Flush_Performative\x1a\x8d\x01\n\x1aResponse_Info_Performative\x12\x11\n\tinfo_data\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t\x12\x13\n\x0b\x61pp_version\x18\x03 \x01(\x05\x12\x19\n\x11last_block_height\x18\x04 \x01(\x05\x12\x1b\n\x13last_block_app_hash\x18\x05 \x01(\x0c\x1aK\n Response_Set_Option_Performative\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x0b\n\x03log\x18\x02 \x01(\t\x12\x0c\n\x04info\x18\x03 \x01(\t\x1a\xee\x01\n Response_Init_Chain_Performative\x12M\n\x10\x63onsensus_params\x18\x01 \x01(\x0b\x32\x33.aea.valory.abci.v0_1_0.AbciMessage.ConsensusParams\x12\x1f\n\x17\x63onsensus_params_is_set\x18\x02 \x01(\x08\x12H\n\nvalidators\x18\x03 \x01(\x0b\x32\x34.aea.valory.abci.v0_1_0.AbciMessage.ValidatorUpdates\x12\x10\n\x08\x61pp_hash\x18\x04 \x01(\x0c\x1a\xd5\x01\n\x1bResponse_Query_Performative\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x0b\n\x03log\x18\x02 \x01(\t\x12\x0c\n\x04info\x18\x03 \x01(\t\x12\r\n\x05index\x18\x04 \x01(\x05\x12\x0b\n\x03key\x18\x05 \x01(\x0c\x12\r\n\x05value\x18\x06 \x01(\x0c\x12?\n\tproof_ops\x18\x07 \x01(\x0b\x32,.aea.valory.abci.v0_1_0.AbciMessage.ProofOps\x12\x0e\n\x06height\x18\x08 \x01(\x05\x12\x11\n\tcodespace\x18\t \x01(\t\x1a_\n!Response_Begin_Block_Performative\x12:\n\x06\x65vents\x18\x01 \x01(\x0b\x32*.aea.valory.abci.v0_1_0.AbciMessage.Events\x1a\xcc\x01\n\x1eResponse_Check_Tx_Performative\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x12\x0b\n\x03log\x18\x03 \x01(\t\x12\x0c\n\x04info\x18\x04 \x01(\t\x12\x12\n\ngas_wanted\x18\x05 \x01(\x05\x12\x10\n\x08gas_used\x18\x06 \x01(\x05\x12:\n\x06\x65vents\x18\x07 \x01(\x0b\x32*.aea.valory.abci.v0_1_0.AbciMessage.Events\x12\x11\n\tcodespace\x18\x08 \x01(\t\x1a\xce\x01\n Response_Deliver_Tx_Performative\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x12\x0b\n\x03log\x18\x03 \x01(\t\x12\x0c\n\x04info\x18\x04 \x01(\t\x12\x12\n\ngas_wanted\x18\x05 \x01(\x05\x12\x10\n\x08gas_used\x18\x06 \x01(\x05\x12:\n\x06\x65vents\x18\x07 \x01(\x0b\x32*.aea.valory.abci.v0_1_0.AbciMessage.Events\x12\x11\n\tcodespace\x18\x08 \x01(\t\x1a\xac\x02\n\x1fResponse_End_Block_Performative\x12O\n\x11validator_updates\x18\x01 \x01(\x0b\x32\x34.aea.valory.abci.v0_1_0.AbciMessage.ValidatorUpdates\x12T\n\x17\x63onsensus_param_updates\x18\x02 \x01(\x0b\x32\x33.aea.valory.abci.v0_1_0.AbciMessage.ConsensusParams\x12&\n\x1e\x63onsensus_param_updates_is_set\x18\x03 \x01(\x08\x12:\n\x06\x65vents\x18\x04 \x01(\x0b\x32*.aea.valory.abci.v0_1_0.AbciMessage.Events\x1a\x43\n\x1cResponse_Commit_Performative\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\x12\x15\n\rretain_height\x18\x02 \x01(\x05\x1ah\n$Response_List_Snapshots_Performative\x12@\n\tsnapshots\x18\x01 \x01(\x0b\x32-.aea.valory.abci.v0_1_0.AbciMessage.SnapShots\x1a\x62\n$Response_Offer_Snapshot_Performative\x12:\n\x06result\x18\x01 \x01(\x0b\x32*.aea.valory.abci.v0_1_0.AbciMessage.Result\x1a:\n)Response_Load_Snapshot_Chunk_Performative\x12\r\n\x05\x63hunk\x18\x01 \x01(\x0c\x1a\x98\x01\n*Response_Apply_Snapshot_Chunk_Performative\x12:\n\x06result\x18\x01 \x01(\x0b\x32*.aea.valory.abci.v0_1_0.AbciMessage.Result\x12\x16\n\x0erefetch_chunks\x18\x02 \x03(\x05\x12\x16\n\x0ereject_senders\x18\x03 \x03(\t\x1ai\n\x12\x44ummy_Performative\x12S\n\x16\x64ummy_consensus_params\x18\x01 \x01(\x0b\x32\x33.aea.valory.abci.v0_1_0.AbciMessage.ConsensusParamsB\x0e\n\x0cperformativeb\x06proto3' ) - -_ABCIMESSAGE = DESCRIPTOR.message_types_by_name["AbciMessage"] -_ABCIMESSAGE_CHECKTXTYPE = _ABCIMESSAGE.nested_types_by_name["CheckTxType"] -_ABCIMESSAGE_CONSENSUSPARAMS = _ABCIMESSAGE.nested_types_by_name["ConsensusParams"] -_ABCIMESSAGE_CONSENSUSPARAMS_DURATION = ( - _ABCIMESSAGE_CONSENSUSPARAMS.nested_types_by_name["Duration"] -) -_ABCIMESSAGE_CONSENSUSPARAMS_BLOCKPARAMS = ( - _ABCIMESSAGE_CONSENSUSPARAMS.nested_types_by_name["BlockParams"] -) -_ABCIMESSAGE_CONSENSUSPARAMS_EVIDENCEPARAMS = ( - _ABCIMESSAGE_CONSENSUSPARAMS.nested_types_by_name["EvidenceParams"] -) -_ABCIMESSAGE_CONSENSUSPARAMS_VALIDATORPARAMS = ( - _ABCIMESSAGE_CONSENSUSPARAMS.nested_types_by_name["ValidatorParams"] -) -_ABCIMESSAGE_CONSENSUSPARAMS_VERSIONPARAMS = ( - _ABCIMESSAGE_CONSENSUSPARAMS.nested_types_by_name["VersionParams"] -) -_ABCIMESSAGE_EVENTS = _ABCIMESSAGE.nested_types_by_name["Events"] -_ABCIMESSAGE_EVENTS_EVENTATTRIBUTE = _ABCIMESSAGE_EVENTS.nested_types_by_name[ - "EventAttribute" -] -_ABCIMESSAGE_EVENTS_EVENT = _ABCIMESSAGE_EVENTS.nested_types_by_name["Event"] -_ABCIMESSAGE_EVIDENCES = _ABCIMESSAGE.nested_types_by_name["Evidences"] -_ABCIMESSAGE_EVIDENCES_EVIDENCE = _ABCIMESSAGE_EVIDENCES.nested_types_by_name[ - "Evidence" -] -_ABCIMESSAGE_HEADER = _ABCIMESSAGE.nested_types_by_name["Header"] -_ABCIMESSAGE_HEADER_CONSENSUSVERSION = _ABCIMESSAGE_HEADER.nested_types_by_name[ - "ConsensusVersion" -] -_ABCIMESSAGE_HEADER_BLOCKID = _ABCIMESSAGE_HEADER.nested_types_by_name["BlockID"] -_ABCIMESSAGE_HEADER_PARTSETHEADER = _ABCIMESSAGE_HEADER.nested_types_by_name[ - "PartSetHeader" -] -_ABCIMESSAGE_LASTCOMMITINFO = _ABCIMESSAGE.nested_types_by_name["LastCommitInfo"] -_ABCIMESSAGE_LASTCOMMITINFO_VALIDATOR = ( - _ABCIMESSAGE_LASTCOMMITINFO.nested_types_by_name["Validator"] -) -_ABCIMESSAGE_LASTCOMMITINFO_VOTEINFO = _ABCIMESSAGE_LASTCOMMITINFO.nested_types_by_name[ - "VoteInfo" -] -_ABCIMESSAGE_PROOFOPS = _ABCIMESSAGE.nested_types_by_name["ProofOps"] -_ABCIMESSAGE_PROOFOPS_PROOFOP = _ABCIMESSAGE_PROOFOPS.nested_types_by_name["ProofOp"] -_ABCIMESSAGE_RESULT = _ABCIMESSAGE.nested_types_by_name["Result"] -_ABCIMESSAGE_SNAPSHOTS = _ABCIMESSAGE.nested_types_by_name["SnapShots"] -_ABCIMESSAGE_SNAPSHOT = _ABCIMESSAGE.nested_types_by_name["Snapshot"] -_ABCIMESSAGE_TIMESTAMP = _ABCIMESSAGE.nested_types_by_name["Timestamp"] -_ABCIMESSAGE_VALIDATORUPDATES = _ABCIMESSAGE.nested_types_by_name["ValidatorUpdates"] -_ABCIMESSAGE_VALIDATORUPDATES_PUBLICKEY = ( - _ABCIMESSAGE_VALIDATORUPDATES.nested_types_by_name["PublicKey"] -) -_ABCIMESSAGE_VALIDATORUPDATES_VALIDATORUPDATE = ( - _ABCIMESSAGE_VALIDATORUPDATES.nested_types_by_name["ValidatorUpdate"] -) -_ABCIMESSAGE_REQUEST_ECHO_PERFORMATIVE = _ABCIMESSAGE.nested_types_by_name[ - "Request_Echo_Performative" -] -_ABCIMESSAGE_REQUEST_FLUSH_PERFORMATIVE = _ABCIMESSAGE.nested_types_by_name[ - "Request_Flush_Performative" -] -_ABCIMESSAGE_REQUEST_INFO_PERFORMATIVE = _ABCIMESSAGE.nested_types_by_name[ - "Request_Info_Performative" -] -_ABCIMESSAGE_REQUEST_SET_OPTION_PERFORMATIVE = _ABCIMESSAGE.nested_types_by_name[ - "Request_Set_Option_Performative" -] -_ABCIMESSAGE_REQUEST_INIT_CHAIN_PERFORMATIVE = _ABCIMESSAGE.nested_types_by_name[ - "Request_Init_Chain_Performative" -] -_ABCIMESSAGE_REQUEST_QUERY_PERFORMATIVE = _ABCIMESSAGE.nested_types_by_name[ - "Request_Query_Performative" -] -_ABCIMESSAGE_REQUEST_BEGIN_BLOCK_PERFORMATIVE = _ABCIMESSAGE.nested_types_by_name[ - "Request_Begin_Block_Performative" -] -_ABCIMESSAGE_REQUEST_CHECK_TX_PERFORMATIVE = _ABCIMESSAGE.nested_types_by_name[ - "Request_Check_Tx_Performative" -] -_ABCIMESSAGE_REQUEST_DELIVER_TX_PERFORMATIVE = _ABCIMESSAGE.nested_types_by_name[ - "Request_Deliver_Tx_Performative" -] -_ABCIMESSAGE_REQUEST_END_BLOCK_PERFORMATIVE = _ABCIMESSAGE.nested_types_by_name[ - "Request_End_Block_Performative" -] -_ABCIMESSAGE_REQUEST_COMMIT_PERFORMATIVE = _ABCIMESSAGE.nested_types_by_name[ - "Request_Commit_Performative" -] -_ABCIMESSAGE_REQUEST_LIST_SNAPSHOTS_PERFORMATIVE = _ABCIMESSAGE.nested_types_by_name[ - "Request_List_Snapshots_Performative" -] -_ABCIMESSAGE_REQUEST_OFFER_SNAPSHOT_PERFORMATIVE = _ABCIMESSAGE.nested_types_by_name[ - "Request_Offer_Snapshot_Performative" -] -_ABCIMESSAGE_REQUEST_LOAD_SNAPSHOT_CHUNK_PERFORMATIVE = ( - _ABCIMESSAGE.nested_types_by_name["Request_Load_Snapshot_Chunk_Performative"] -) -_ABCIMESSAGE_REQUEST_APPLY_SNAPSHOT_CHUNK_PERFORMATIVE = ( - _ABCIMESSAGE.nested_types_by_name["Request_Apply_Snapshot_Chunk_Performative"] -) -_ABCIMESSAGE_RESPONSE_EXCEPTION_PERFORMATIVE = _ABCIMESSAGE.nested_types_by_name[ - "Response_Exception_Performative" -] -_ABCIMESSAGE_RESPONSE_ECHO_PERFORMATIVE = _ABCIMESSAGE.nested_types_by_name[ - "Response_Echo_Performative" -] -_ABCIMESSAGE_RESPONSE_FLUSH_PERFORMATIVE = _ABCIMESSAGE.nested_types_by_name[ - "Response_Flush_Performative" -] -_ABCIMESSAGE_RESPONSE_INFO_PERFORMATIVE = _ABCIMESSAGE.nested_types_by_name[ - "Response_Info_Performative" -] -_ABCIMESSAGE_RESPONSE_SET_OPTION_PERFORMATIVE = _ABCIMESSAGE.nested_types_by_name[ - "Response_Set_Option_Performative" -] -_ABCIMESSAGE_RESPONSE_INIT_CHAIN_PERFORMATIVE = _ABCIMESSAGE.nested_types_by_name[ - "Response_Init_Chain_Performative" -] -_ABCIMESSAGE_RESPONSE_QUERY_PERFORMATIVE = _ABCIMESSAGE.nested_types_by_name[ - "Response_Query_Performative" -] -_ABCIMESSAGE_RESPONSE_BEGIN_BLOCK_PERFORMATIVE = _ABCIMESSAGE.nested_types_by_name[ - "Response_Begin_Block_Performative" -] -_ABCIMESSAGE_RESPONSE_CHECK_TX_PERFORMATIVE = _ABCIMESSAGE.nested_types_by_name[ - "Response_Check_Tx_Performative" -] -_ABCIMESSAGE_RESPONSE_DELIVER_TX_PERFORMATIVE = _ABCIMESSAGE.nested_types_by_name[ - "Response_Deliver_Tx_Performative" -] -_ABCIMESSAGE_RESPONSE_END_BLOCK_PERFORMATIVE = _ABCIMESSAGE.nested_types_by_name[ - "Response_End_Block_Performative" -] -_ABCIMESSAGE_RESPONSE_COMMIT_PERFORMATIVE = _ABCIMESSAGE.nested_types_by_name[ - "Response_Commit_Performative" -] -_ABCIMESSAGE_RESPONSE_LIST_SNAPSHOTS_PERFORMATIVE = _ABCIMESSAGE.nested_types_by_name[ - "Response_List_Snapshots_Performative" -] -_ABCIMESSAGE_RESPONSE_OFFER_SNAPSHOT_PERFORMATIVE = _ABCIMESSAGE.nested_types_by_name[ - "Response_Offer_Snapshot_Performative" -] -_ABCIMESSAGE_RESPONSE_LOAD_SNAPSHOT_CHUNK_PERFORMATIVE = ( - _ABCIMESSAGE.nested_types_by_name["Response_Load_Snapshot_Chunk_Performative"] -) -_ABCIMESSAGE_RESPONSE_APPLY_SNAPSHOT_CHUNK_PERFORMATIVE = ( - _ABCIMESSAGE.nested_types_by_name["Response_Apply_Snapshot_Chunk_Performative"] -) -_ABCIMESSAGE_DUMMY_PERFORMATIVE = _ABCIMESSAGE.nested_types_by_name[ - "Dummy_Performative" -] -_ABCIMESSAGE_CHECKTXTYPE__CHECKTXTYPE = _ABCIMESSAGE_CHECKTXTYPE.enum_types_by_name[ - "_CheckTxType" -] -_ABCIMESSAGE_EVIDENCES_EVIDENCE_EVIDENCETYPE = ( - _ABCIMESSAGE_EVIDENCES_EVIDENCE.enum_types_by_name["EvidenceType"] -) -_ABCIMESSAGE_RESULT_RESULTTYPE = _ABCIMESSAGE_RESULT.enum_types_by_name["ResultType"] -AbciMessage = _reflection.GeneratedProtocolMessageType( - "AbciMessage", - (_message.Message,), - { - "CheckTxType": _reflection.GeneratedProtocolMessageType( - "CheckTxType", - (_message.Message,), - { - "DESCRIPTOR": _ABCIMESSAGE_CHECKTXTYPE, - "__module__": "abci_pb2" - # @@protoc_insertion_point(class_scope:aea.valory.abci.v0_1_0.AbciMessage.CheckTxType) - }, - ), - "ConsensusParams": _reflection.GeneratedProtocolMessageType( - "ConsensusParams", - (_message.Message,), - { - "Duration": _reflection.GeneratedProtocolMessageType( - "Duration", - (_message.Message,), - { - "DESCRIPTOR": _ABCIMESSAGE_CONSENSUSPARAMS_DURATION, - "__module__": "abci_pb2" - # @@protoc_insertion_point(class_scope:aea.valory.abci.v0_1_0.AbciMessage.ConsensusParams.Duration) - }, - ), - "BlockParams": _reflection.GeneratedProtocolMessageType( - "BlockParams", - (_message.Message,), - { - "DESCRIPTOR": _ABCIMESSAGE_CONSENSUSPARAMS_BLOCKPARAMS, - "__module__": "abci_pb2" - # @@protoc_insertion_point(class_scope:aea.valory.abci.v0_1_0.AbciMessage.ConsensusParams.BlockParams) - }, - ), - "EvidenceParams": _reflection.GeneratedProtocolMessageType( - "EvidenceParams", - (_message.Message,), - { - "DESCRIPTOR": _ABCIMESSAGE_CONSENSUSPARAMS_EVIDENCEPARAMS, - "__module__": "abci_pb2" - # @@protoc_insertion_point(class_scope:aea.valory.abci.v0_1_0.AbciMessage.ConsensusParams.EvidenceParams) - }, - ), - "ValidatorParams": _reflection.GeneratedProtocolMessageType( - "ValidatorParams", - (_message.Message,), - { - "DESCRIPTOR": _ABCIMESSAGE_CONSENSUSPARAMS_VALIDATORPARAMS, - "__module__": "abci_pb2" - # @@protoc_insertion_point(class_scope:aea.valory.abci.v0_1_0.AbciMessage.ConsensusParams.ValidatorParams) - }, - ), - "VersionParams": _reflection.GeneratedProtocolMessageType( - "VersionParams", - (_message.Message,), - { - "DESCRIPTOR": _ABCIMESSAGE_CONSENSUSPARAMS_VERSIONPARAMS, - "__module__": "abci_pb2" - # @@protoc_insertion_point(class_scope:aea.valory.abci.v0_1_0.AbciMessage.ConsensusParams.VersionParams) - }, - ), - "DESCRIPTOR": _ABCIMESSAGE_CONSENSUSPARAMS, - "__module__": "abci_pb2" - # @@protoc_insertion_point(class_scope:aea.valory.abci.v0_1_0.AbciMessage.ConsensusParams) - }, - ), - "Events": _reflection.GeneratedProtocolMessageType( - "Events", - (_message.Message,), - { - "EventAttribute": _reflection.GeneratedProtocolMessageType( - "EventAttribute", - (_message.Message,), - { - "DESCRIPTOR": _ABCIMESSAGE_EVENTS_EVENTATTRIBUTE, - "__module__": "abci_pb2" - # @@protoc_insertion_point(class_scope:aea.valory.abci.v0_1_0.AbciMessage.Events.EventAttribute) - }, - ), - "Event": _reflection.GeneratedProtocolMessageType( - "Event", - (_message.Message,), - { - "DESCRIPTOR": _ABCIMESSAGE_EVENTS_EVENT, - "__module__": "abci_pb2" - # @@protoc_insertion_point(class_scope:aea.valory.abci.v0_1_0.AbciMessage.Events.Event) - }, - ), - "DESCRIPTOR": _ABCIMESSAGE_EVENTS, - "__module__": "abci_pb2" - # @@protoc_insertion_point(class_scope:aea.valory.abci.v0_1_0.AbciMessage.Events) - }, - ), - "Evidences": _reflection.GeneratedProtocolMessageType( - "Evidences", - (_message.Message,), - { - "Evidence": _reflection.GeneratedProtocolMessageType( - "Evidence", - (_message.Message,), - { - "DESCRIPTOR": _ABCIMESSAGE_EVIDENCES_EVIDENCE, - "__module__": "abci_pb2" - # @@protoc_insertion_point(class_scope:aea.valory.abci.v0_1_0.AbciMessage.Evidences.Evidence) - }, - ), - "DESCRIPTOR": _ABCIMESSAGE_EVIDENCES, - "__module__": "abci_pb2" - # @@protoc_insertion_point(class_scope:aea.valory.abci.v0_1_0.AbciMessage.Evidences) - }, - ), - "Header": _reflection.GeneratedProtocolMessageType( - "Header", - (_message.Message,), - { - "ConsensusVersion": _reflection.GeneratedProtocolMessageType( - "ConsensusVersion", - (_message.Message,), - { - "DESCRIPTOR": _ABCIMESSAGE_HEADER_CONSENSUSVERSION, - "__module__": "abci_pb2" - # @@protoc_insertion_point(class_scope:aea.valory.abci.v0_1_0.AbciMessage.Header.ConsensusVersion) - }, - ), - "BlockID": _reflection.GeneratedProtocolMessageType( - "BlockID", - (_message.Message,), - { - "DESCRIPTOR": _ABCIMESSAGE_HEADER_BLOCKID, - "__module__": "abci_pb2" - # @@protoc_insertion_point(class_scope:aea.valory.abci.v0_1_0.AbciMessage.Header.BlockID) - }, - ), - "PartSetHeader": _reflection.GeneratedProtocolMessageType( - "PartSetHeader", - (_message.Message,), - { - "DESCRIPTOR": _ABCIMESSAGE_HEADER_PARTSETHEADER, - "__module__": "abci_pb2" - # @@protoc_insertion_point(class_scope:aea.valory.abci.v0_1_0.AbciMessage.Header.PartSetHeader) - }, - ), - "DESCRIPTOR": _ABCIMESSAGE_HEADER, - "__module__": "abci_pb2" - # @@protoc_insertion_point(class_scope:aea.valory.abci.v0_1_0.AbciMessage.Header) - }, - ), - "LastCommitInfo": _reflection.GeneratedProtocolMessageType( - "LastCommitInfo", - (_message.Message,), - { - "Validator": _reflection.GeneratedProtocolMessageType( - "Validator", - (_message.Message,), - { - "DESCRIPTOR": _ABCIMESSAGE_LASTCOMMITINFO_VALIDATOR, - "__module__": "abci_pb2" - # @@protoc_insertion_point(class_scope:aea.valory.abci.v0_1_0.AbciMessage.LastCommitInfo.Validator) - }, - ), - "VoteInfo": _reflection.GeneratedProtocolMessageType( - "VoteInfo", - (_message.Message,), - { - "DESCRIPTOR": _ABCIMESSAGE_LASTCOMMITINFO_VOTEINFO, - "__module__": "abci_pb2" - # @@protoc_insertion_point(class_scope:aea.valory.abci.v0_1_0.AbciMessage.LastCommitInfo.VoteInfo) - }, - ), - "DESCRIPTOR": _ABCIMESSAGE_LASTCOMMITINFO, - "__module__": "abci_pb2" - # @@protoc_insertion_point(class_scope:aea.valory.abci.v0_1_0.AbciMessage.LastCommitInfo) - }, - ), - "ProofOps": _reflection.GeneratedProtocolMessageType( - "ProofOps", - (_message.Message,), - { - "ProofOp": _reflection.GeneratedProtocolMessageType( - "ProofOp", - (_message.Message,), - { - "DESCRIPTOR": _ABCIMESSAGE_PROOFOPS_PROOFOP, - "__module__": "abci_pb2" - # @@protoc_insertion_point(class_scope:aea.valory.abci.v0_1_0.AbciMessage.ProofOps.ProofOp) - }, - ), - "DESCRIPTOR": _ABCIMESSAGE_PROOFOPS, - "__module__": "abci_pb2" - # @@protoc_insertion_point(class_scope:aea.valory.abci.v0_1_0.AbciMessage.ProofOps) - }, - ), - "Result": _reflection.GeneratedProtocolMessageType( - "Result", - (_message.Message,), - { - "DESCRIPTOR": _ABCIMESSAGE_RESULT, - "__module__": "abci_pb2" - # @@protoc_insertion_point(class_scope:aea.valory.abci.v0_1_0.AbciMessage.Result) - }, - ), - "SnapShots": _reflection.GeneratedProtocolMessageType( - "SnapShots", - (_message.Message,), - { - "DESCRIPTOR": _ABCIMESSAGE_SNAPSHOTS, - "__module__": "abci_pb2" - # @@protoc_insertion_point(class_scope:aea.valory.abci.v0_1_0.AbciMessage.SnapShots) - }, - ), - "Snapshot": _reflection.GeneratedProtocolMessageType( - "Snapshot", - (_message.Message,), - { - "DESCRIPTOR": _ABCIMESSAGE_SNAPSHOT, - "__module__": "abci_pb2" - # @@protoc_insertion_point(class_scope:aea.valory.abci.v0_1_0.AbciMessage.Snapshot) - }, - ), - "Timestamp": _reflection.GeneratedProtocolMessageType( - "Timestamp", - (_message.Message,), - { - "DESCRIPTOR": _ABCIMESSAGE_TIMESTAMP, - "__module__": "abci_pb2" - # @@protoc_insertion_point(class_scope:aea.valory.abci.v0_1_0.AbciMessage.Timestamp) - }, - ), - "ValidatorUpdates": _reflection.GeneratedProtocolMessageType( - "ValidatorUpdates", - (_message.Message,), - { - "PublicKey": _reflection.GeneratedProtocolMessageType( - "PublicKey", - (_message.Message,), - { - "DESCRIPTOR": _ABCIMESSAGE_VALIDATORUPDATES_PUBLICKEY, - "__module__": "abci_pb2" - # @@protoc_insertion_point(class_scope:aea.valory.abci.v0_1_0.AbciMessage.ValidatorUpdates.PublicKey) - }, - ), - "ValidatorUpdate": _reflection.GeneratedProtocolMessageType( - "ValidatorUpdate", - (_message.Message,), - { - "DESCRIPTOR": _ABCIMESSAGE_VALIDATORUPDATES_VALIDATORUPDATE, - "__module__": "abci_pb2" - # @@protoc_insertion_point(class_scope:aea.valory.abci.v0_1_0.AbciMessage.ValidatorUpdates.ValidatorUpdate) - }, - ), - "DESCRIPTOR": _ABCIMESSAGE_VALIDATORUPDATES, - "__module__": "abci_pb2" - # @@protoc_insertion_point(class_scope:aea.valory.abci.v0_1_0.AbciMessage.ValidatorUpdates) - }, - ), - "Request_Echo_Performative": _reflection.GeneratedProtocolMessageType( - "Request_Echo_Performative", - (_message.Message,), - { - "DESCRIPTOR": _ABCIMESSAGE_REQUEST_ECHO_PERFORMATIVE, - "__module__": "abci_pb2" - # @@protoc_insertion_point(class_scope:aea.valory.abci.v0_1_0.AbciMessage.Request_Echo_Performative) - }, - ), - "Request_Flush_Performative": _reflection.GeneratedProtocolMessageType( - "Request_Flush_Performative", - (_message.Message,), - { - "DESCRIPTOR": _ABCIMESSAGE_REQUEST_FLUSH_PERFORMATIVE, - "__module__": "abci_pb2" - # @@protoc_insertion_point(class_scope:aea.valory.abci.v0_1_0.AbciMessage.Request_Flush_Performative) - }, - ), - "Request_Info_Performative": _reflection.GeneratedProtocolMessageType( - "Request_Info_Performative", - (_message.Message,), - { - "DESCRIPTOR": _ABCIMESSAGE_REQUEST_INFO_PERFORMATIVE, - "__module__": "abci_pb2" - # @@protoc_insertion_point(class_scope:aea.valory.abci.v0_1_0.AbciMessage.Request_Info_Performative) - }, - ), - "Request_Set_Option_Performative": _reflection.GeneratedProtocolMessageType( - "Request_Set_Option_Performative", - (_message.Message,), - { - "DESCRIPTOR": _ABCIMESSAGE_REQUEST_SET_OPTION_PERFORMATIVE, - "__module__": "abci_pb2" - # @@protoc_insertion_point(class_scope:aea.valory.abci.v0_1_0.AbciMessage.Request_Set_Option_Performative) - }, - ), - "Request_Init_Chain_Performative": _reflection.GeneratedProtocolMessageType( - "Request_Init_Chain_Performative", - (_message.Message,), - { - "DESCRIPTOR": _ABCIMESSAGE_REQUEST_INIT_CHAIN_PERFORMATIVE, - "__module__": "abci_pb2" - # @@protoc_insertion_point(class_scope:aea.valory.abci.v0_1_0.AbciMessage.Request_Init_Chain_Performative) - }, - ), - "Request_Query_Performative": _reflection.GeneratedProtocolMessageType( - "Request_Query_Performative", - (_message.Message,), - { - "DESCRIPTOR": _ABCIMESSAGE_REQUEST_QUERY_PERFORMATIVE, - "__module__": "abci_pb2" - # @@protoc_insertion_point(class_scope:aea.valory.abci.v0_1_0.AbciMessage.Request_Query_Performative) - }, - ), - "Request_Begin_Block_Performative": _reflection.GeneratedProtocolMessageType( - "Request_Begin_Block_Performative", - (_message.Message,), - { - "DESCRIPTOR": _ABCIMESSAGE_REQUEST_BEGIN_BLOCK_PERFORMATIVE, - "__module__": "abci_pb2" - # @@protoc_insertion_point(class_scope:aea.valory.abci.v0_1_0.AbciMessage.Request_Begin_Block_Performative) - }, - ), - "Request_Check_Tx_Performative": _reflection.GeneratedProtocolMessageType( - "Request_Check_Tx_Performative", - (_message.Message,), - { - "DESCRIPTOR": _ABCIMESSAGE_REQUEST_CHECK_TX_PERFORMATIVE, - "__module__": "abci_pb2" - # @@protoc_insertion_point(class_scope:aea.valory.abci.v0_1_0.AbciMessage.Request_Check_Tx_Performative) - }, - ), - "Request_Deliver_Tx_Performative": _reflection.GeneratedProtocolMessageType( - "Request_Deliver_Tx_Performative", - (_message.Message,), - { - "DESCRIPTOR": _ABCIMESSAGE_REQUEST_DELIVER_TX_PERFORMATIVE, - "__module__": "abci_pb2" - # @@protoc_insertion_point(class_scope:aea.valory.abci.v0_1_0.AbciMessage.Request_Deliver_Tx_Performative) - }, - ), - "Request_End_Block_Performative": _reflection.GeneratedProtocolMessageType( - "Request_End_Block_Performative", - (_message.Message,), - { - "DESCRIPTOR": _ABCIMESSAGE_REQUEST_END_BLOCK_PERFORMATIVE, - "__module__": "abci_pb2" - # @@protoc_insertion_point(class_scope:aea.valory.abci.v0_1_0.AbciMessage.Request_End_Block_Performative) - }, - ), - "Request_Commit_Performative": _reflection.GeneratedProtocolMessageType( - "Request_Commit_Performative", - (_message.Message,), - { - "DESCRIPTOR": _ABCIMESSAGE_REQUEST_COMMIT_PERFORMATIVE, - "__module__": "abci_pb2" - # @@protoc_insertion_point(class_scope:aea.valory.abci.v0_1_0.AbciMessage.Request_Commit_Performative) - }, - ), - "Request_List_Snapshots_Performative": _reflection.GeneratedProtocolMessageType( - "Request_List_Snapshots_Performative", - (_message.Message,), - { - "DESCRIPTOR": _ABCIMESSAGE_REQUEST_LIST_SNAPSHOTS_PERFORMATIVE, - "__module__": "abci_pb2" - # @@protoc_insertion_point(class_scope:aea.valory.abci.v0_1_0.AbciMessage.Request_List_Snapshots_Performative) - }, - ), - "Request_Offer_Snapshot_Performative": _reflection.GeneratedProtocolMessageType( - "Request_Offer_Snapshot_Performative", - (_message.Message,), - { - "DESCRIPTOR": _ABCIMESSAGE_REQUEST_OFFER_SNAPSHOT_PERFORMATIVE, - "__module__": "abci_pb2" - # @@protoc_insertion_point(class_scope:aea.valory.abci.v0_1_0.AbciMessage.Request_Offer_Snapshot_Performative) - }, - ), - "Request_Load_Snapshot_Chunk_Performative": _reflection.GeneratedProtocolMessageType( - "Request_Load_Snapshot_Chunk_Performative", - (_message.Message,), - { - "DESCRIPTOR": _ABCIMESSAGE_REQUEST_LOAD_SNAPSHOT_CHUNK_PERFORMATIVE, - "__module__": "abci_pb2" - # @@protoc_insertion_point(class_scope:aea.valory.abci.v0_1_0.AbciMessage.Request_Load_Snapshot_Chunk_Performative) - }, - ), - "Request_Apply_Snapshot_Chunk_Performative": _reflection.GeneratedProtocolMessageType( - "Request_Apply_Snapshot_Chunk_Performative", - (_message.Message,), - { - "DESCRIPTOR": _ABCIMESSAGE_REQUEST_APPLY_SNAPSHOT_CHUNK_PERFORMATIVE, - "__module__": "abci_pb2" - # @@protoc_insertion_point(class_scope:aea.valory.abci.v0_1_0.AbciMessage.Request_Apply_Snapshot_Chunk_Performative) - }, - ), - "Response_Exception_Performative": _reflection.GeneratedProtocolMessageType( - "Response_Exception_Performative", - (_message.Message,), - { - "DESCRIPTOR": _ABCIMESSAGE_RESPONSE_EXCEPTION_PERFORMATIVE, - "__module__": "abci_pb2" - # @@protoc_insertion_point(class_scope:aea.valory.abci.v0_1_0.AbciMessage.Response_Exception_Performative) - }, - ), - "Response_Echo_Performative": _reflection.GeneratedProtocolMessageType( - "Response_Echo_Performative", - (_message.Message,), - { - "DESCRIPTOR": _ABCIMESSAGE_RESPONSE_ECHO_PERFORMATIVE, - "__module__": "abci_pb2" - # @@protoc_insertion_point(class_scope:aea.valory.abci.v0_1_0.AbciMessage.Response_Echo_Performative) - }, - ), - "Response_Flush_Performative": _reflection.GeneratedProtocolMessageType( - "Response_Flush_Performative", - (_message.Message,), - { - "DESCRIPTOR": _ABCIMESSAGE_RESPONSE_FLUSH_PERFORMATIVE, - "__module__": "abci_pb2" - # @@protoc_insertion_point(class_scope:aea.valory.abci.v0_1_0.AbciMessage.Response_Flush_Performative) - }, - ), - "Response_Info_Performative": _reflection.GeneratedProtocolMessageType( - "Response_Info_Performative", - (_message.Message,), - { - "DESCRIPTOR": _ABCIMESSAGE_RESPONSE_INFO_PERFORMATIVE, - "__module__": "abci_pb2" - # @@protoc_insertion_point(class_scope:aea.valory.abci.v0_1_0.AbciMessage.Response_Info_Performative) - }, - ), - "Response_Set_Option_Performative": _reflection.GeneratedProtocolMessageType( - "Response_Set_Option_Performative", - (_message.Message,), - { - "DESCRIPTOR": _ABCIMESSAGE_RESPONSE_SET_OPTION_PERFORMATIVE, - "__module__": "abci_pb2" - # @@protoc_insertion_point(class_scope:aea.valory.abci.v0_1_0.AbciMessage.Response_Set_Option_Performative) - }, - ), - "Response_Init_Chain_Performative": _reflection.GeneratedProtocolMessageType( - "Response_Init_Chain_Performative", - (_message.Message,), - { - "DESCRIPTOR": _ABCIMESSAGE_RESPONSE_INIT_CHAIN_PERFORMATIVE, - "__module__": "abci_pb2" - # @@protoc_insertion_point(class_scope:aea.valory.abci.v0_1_0.AbciMessage.Response_Init_Chain_Performative) - }, - ), - "Response_Query_Performative": _reflection.GeneratedProtocolMessageType( - "Response_Query_Performative", - (_message.Message,), - { - "DESCRIPTOR": _ABCIMESSAGE_RESPONSE_QUERY_PERFORMATIVE, - "__module__": "abci_pb2" - # @@protoc_insertion_point(class_scope:aea.valory.abci.v0_1_0.AbciMessage.Response_Query_Performative) - }, - ), - "Response_Begin_Block_Performative": _reflection.GeneratedProtocolMessageType( - "Response_Begin_Block_Performative", - (_message.Message,), - { - "DESCRIPTOR": _ABCIMESSAGE_RESPONSE_BEGIN_BLOCK_PERFORMATIVE, - "__module__": "abci_pb2" - # @@protoc_insertion_point(class_scope:aea.valory.abci.v0_1_0.AbciMessage.Response_Begin_Block_Performative) - }, - ), - "Response_Check_Tx_Performative": _reflection.GeneratedProtocolMessageType( - "Response_Check_Tx_Performative", - (_message.Message,), - { - "DESCRIPTOR": _ABCIMESSAGE_RESPONSE_CHECK_TX_PERFORMATIVE, - "__module__": "abci_pb2" - # @@protoc_insertion_point(class_scope:aea.valory.abci.v0_1_0.AbciMessage.Response_Check_Tx_Performative) - }, - ), - "Response_Deliver_Tx_Performative": _reflection.GeneratedProtocolMessageType( - "Response_Deliver_Tx_Performative", - (_message.Message,), - { - "DESCRIPTOR": _ABCIMESSAGE_RESPONSE_DELIVER_TX_PERFORMATIVE, - "__module__": "abci_pb2" - # @@protoc_insertion_point(class_scope:aea.valory.abci.v0_1_0.AbciMessage.Response_Deliver_Tx_Performative) - }, - ), - "Response_End_Block_Performative": _reflection.GeneratedProtocolMessageType( - "Response_End_Block_Performative", - (_message.Message,), - { - "DESCRIPTOR": _ABCIMESSAGE_RESPONSE_END_BLOCK_PERFORMATIVE, - "__module__": "abci_pb2" - # @@protoc_insertion_point(class_scope:aea.valory.abci.v0_1_0.AbciMessage.Response_End_Block_Performative) - }, - ), - "Response_Commit_Performative": _reflection.GeneratedProtocolMessageType( - "Response_Commit_Performative", - (_message.Message,), - { - "DESCRIPTOR": _ABCIMESSAGE_RESPONSE_COMMIT_PERFORMATIVE, - "__module__": "abci_pb2" - # @@protoc_insertion_point(class_scope:aea.valory.abci.v0_1_0.AbciMessage.Response_Commit_Performative) - }, - ), - "Response_List_Snapshots_Performative": _reflection.GeneratedProtocolMessageType( - "Response_List_Snapshots_Performative", - (_message.Message,), - { - "DESCRIPTOR": _ABCIMESSAGE_RESPONSE_LIST_SNAPSHOTS_PERFORMATIVE, - "__module__": "abci_pb2" - # @@protoc_insertion_point(class_scope:aea.valory.abci.v0_1_0.AbciMessage.Response_List_Snapshots_Performative) - }, - ), - "Response_Offer_Snapshot_Performative": _reflection.GeneratedProtocolMessageType( - "Response_Offer_Snapshot_Performative", - (_message.Message,), - { - "DESCRIPTOR": _ABCIMESSAGE_RESPONSE_OFFER_SNAPSHOT_PERFORMATIVE, - "__module__": "abci_pb2" - # @@protoc_insertion_point(class_scope:aea.valory.abci.v0_1_0.AbciMessage.Response_Offer_Snapshot_Performative) - }, - ), - "Response_Load_Snapshot_Chunk_Performative": _reflection.GeneratedProtocolMessageType( - "Response_Load_Snapshot_Chunk_Performative", - (_message.Message,), - { - "DESCRIPTOR": _ABCIMESSAGE_RESPONSE_LOAD_SNAPSHOT_CHUNK_PERFORMATIVE, - "__module__": "abci_pb2" - # @@protoc_insertion_point(class_scope:aea.valory.abci.v0_1_0.AbciMessage.Response_Load_Snapshot_Chunk_Performative) - }, - ), - "Response_Apply_Snapshot_Chunk_Performative": _reflection.GeneratedProtocolMessageType( - "Response_Apply_Snapshot_Chunk_Performative", - (_message.Message,), - { - "DESCRIPTOR": _ABCIMESSAGE_RESPONSE_APPLY_SNAPSHOT_CHUNK_PERFORMATIVE, - "__module__": "abci_pb2" - # @@protoc_insertion_point(class_scope:aea.valory.abci.v0_1_0.AbciMessage.Response_Apply_Snapshot_Chunk_Performative) - }, - ), - "Dummy_Performative": _reflection.GeneratedProtocolMessageType( - "Dummy_Performative", - (_message.Message,), - { - "DESCRIPTOR": _ABCIMESSAGE_DUMMY_PERFORMATIVE, - "__module__": "abci_pb2" - # @@protoc_insertion_point(class_scope:aea.valory.abci.v0_1_0.AbciMessage.Dummy_Performative) - }, - ), - "DESCRIPTOR": _ABCIMESSAGE, - "__module__": "abci_pb2" - # @@protoc_insertion_point(class_scope:aea.valory.abci.v0_1_0.AbciMessage) - }, -) -_sym_db.RegisterMessage(AbciMessage) -_sym_db.RegisterMessage(AbciMessage.CheckTxType) -_sym_db.RegisterMessage(AbciMessage.ConsensusParams) -_sym_db.RegisterMessage(AbciMessage.ConsensusParams.Duration) -_sym_db.RegisterMessage(AbciMessage.ConsensusParams.BlockParams) -_sym_db.RegisterMessage(AbciMessage.ConsensusParams.EvidenceParams) -_sym_db.RegisterMessage(AbciMessage.ConsensusParams.ValidatorParams) -_sym_db.RegisterMessage(AbciMessage.ConsensusParams.VersionParams) -_sym_db.RegisterMessage(AbciMessage.Events) -_sym_db.RegisterMessage(AbciMessage.Events.EventAttribute) -_sym_db.RegisterMessage(AbciMessage.Events.Event) -_sym_db.RegisterMessage(AbciMessage.Evidences) -_sym_db.RegisterMessage(AbciMessage.Evidences.Evidence) -_sym_db.RegisterMessage(AbciMessage.Header) -_sym_db.RegisterMessage(AbciMessage.Header.ConsensusVersion) -_sym_db.RegisterMessage(AbciMessage.Header.BlockID) -_sym_db.RegisterMessage(AbciMessage.Header.PartSetHeader) -_sym_db.RegisterMessage(AbciMessage.LastCommitInfo) -_sym_db.RegisterMessage(AbciMessage.LastCommitInfo.Validator) -_sym_db.RegisterMessage(AbciMessage.LastCommitInfo.VoteInfo) -_sym_db.RegisterMessage(AbciMessage.ProofOps) -_sym_db.RegisterMessage(AbciMessage.ProofOps.ProofOp) -_sym_db.RegisterMessage(AbciMessage.Result) -_sym_db.RegisterMessage(AbciMessage.SnapShots) -_sym_db.RegisterMessage(AbciMessage.Snapshot) -_sym_db.RegisterMessage(AbciMessage.Timestamp) -_sym_db.RegisterMessage(AbciMessage.ValidatorUpdates) -_sym_db.RegisterMessage(AbciMessage.ValidatorUpdates.PublicKey) -_sym_db.RegisterMessage(AbciMessage.ValidatorUpdates.ValidatorUpdate) -_sym_db.RegisterMessage(AbciMessage.Request_Echo_Performative) -_sym_db.RegisterMessage(AbciMessage.Request_Flush_Performative) -_sym_db.RegisterMessage(AbciMessage.Request_Info_Performative) -_sym_db.RegisterMessage(AbciMessage.Request_Set_Option_Performative) -_sym_db.RegisterMessage(AbciMessage.Request_Init_Chain_Performative) -_sym_db.RegisterMessage(AbciMessage.Request_Query_Performative) -_sym_db.RegisterMessage(AbciMessage.Request_Begin_Block_Performative) -_sym_db.RegisterMessage(AbciMessage.Request_Check_Tx_Performative) -_sym_db.RegisterMessage(AbciMessage.Request_Deliver_Tx_Performative) -_sym_db.RegisterMessage(AbciMessage.Request_End_Block_Performative) -_sym_db.RegisterMessage(AbciMessage.Request_Commit_Performative) -_sym_db.RegisterMessage(AbciMessage.Request_List_Snapshots_Performative) -_sym_db.RegisterMessage(AbciMessage.Request_Offer_Snapshot_Performative) -_sym_db.RegisterMessage(AbciMessage.Request_Load_Snapshot_Chunk_Performative) -_sym_db.RegisterMessage(AbciMessage.Request_Apply_Snapshot_Chunk_Performative) -_sym_db.RegisterMessage(AbciMessage.Response_Exception_Performative) -_sym_db.RegisterMessage(AbciMessage.Response_Echo_Performative) -_sym_db.RegisterMessage(AbciMessage.Response_Flush_Performative) -_sym_db.RegisterMessage(AbciMessage.Response_Info_Performative) -_sym_db.RegisterMessage(AbciMessage.Response_Set_Option_Performative) -_sym_db.RegisterMessage(AbciMessage.Response_Init_Chain_Performative) -_sym_db.RegisterMessage(AbciMessage.Response_Query_Performative) -_sym_db.RegisterMessage(AbciMessage.Response_Begin_Block_Performative) -_sym_db.RegisterMessage(AbciMessage.Response_Check_Tx_Performative) -_sym_db.RegisterMessage(AbciMessage.Response_Deliver_Tx_Performative) -_sym_db.RegisterMessage(AbciMessage.Response_End_Block_Performative) -_sym_db.RegisterMessage(AbciMessage.Response_Commit_Performative) -_sym_db.RegisterMessage(AbciMessage.Response_List_Snapshots_Performative) -_sym_db.RegisterMessage(AbciMessage.Response_Offer_Snapshot_Performative) -_sym_db.RegisterMessage(AbciMessage.Response_Load_Snapshot_Chunk_Performative) -_sym_db.RegisterMessage(AbciMessage.Response_Apply_Snapshot_Chunk_Performative) -_sym_db.RegisterMessage(AbciMessage.Dummy_Performative) - +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "abci_pb2", _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - _ABCIMESSAGE._serialized_start = 39 - _ABCIMESSAGE._serialized_end = 10285 - _ABCIMESSAGE_CHECKTXTYPE._serialized_start = 3222 - _ABCIMESSAGE_CHECKTXTYPE._serialized_end = 3349 - _ABCIMESSAGE_CHECKTXTYPE__CHECKTXTYPE._serialized_start = 3313 - _ABCIMESSAGE_CHECKTXTYPE__CHECKTXTYPE._serialized_end = 3349 - _ABCIMESSAGE_CONSENSUSPARAMS._serialized_start = 3352 - _ABCIMESSAGE_CONSENSUSPARAMS._serialized_end = 4036 - _ABCIMESSAGE_CONSENSUSPARAMS_DURATION._serialized_start = 3709 - _ABCIMESSAGE_CONSENSUSPARAMS_DURATION._serialized_end = 3751 - _ABCIMESSAGE_CONSENSUSPARAMS_BLOCKPARAMS._serialized_start = 3753 - _ABCIMESSAGE_CONSENSUSPARAMS_BLOCKPARAMS._serialized_end = 3802 - _ABCIMESSAGE_CONSENSUSPARAMS_EVIDENCEPARAMS._serialized_start = 3805 - _ABCIMESSAGE_CONSENSUSPARAMS_EVIDENCEPARAMS._serialized_end = 3956 - _ABCIMESSAGE_CONSENSUSPARAMS_VALIDATORPARAMS._serialized_start = 3958 - _ABCIMESSAGE_CONSENSUSPARAMS_VALIDATORPARAMS._serialized_end = 3998 - _ABCIMESSAGE_CONSENSUSPARAMS_VERSIONPARAMS._serialized_start = 4000 - _ABCIMESSAGE_CONSENSUSPARAMS_VERSIONPARAMS._serialized_end = 4036 - _ABCIMESSAGE_EVENTS._serialized_start = 4039 - _ABCIMESSAGE_EVENTS._serialized_end = 4276 - _ABCIMESSAGE_EVENTS_EVENTATTRIBUTE._serialized_start = 4115 - _ABCIMESSAGE_EVENTS_EVENTATTRIBUTE._serialized_end = 4174 - _ABCIMESSAGE_EVENTS_EVENT._serialized_start = 4176 - _ABCIMESSAGE_EVENTS_EVENT._serialized_end = 4276 - _ABCIMESSAGE_EVIDENCES._serialized_start = 4279 - _ABCIMESSAGE_EVIDENCES._serialized_end = 4732 - _ABCIMESSAGE_EVIDENCES_EVIDENCE._serialized_start = 4379 - _ABCIMESSAGE_EVIDENCES_EVIDENCE._serialized_end = 4732 - _ABCIMESSAGE_EVIDENCES_EVIDENCE_EVIDENCETYPE._serialized_start = 4660 - _ABCIMESSAGE_EVIDENCES_EVIDENCE_EVIDENCETYPE._serialized_end = 4732 - _ABCIMESSAGE_HEADER._serialized_start = 4735 - _ABCIMESSAGE_HEADER._serialized_end = 5411 - _ABCIMESSAGE_HEADER_CONSENSUSVERSION._serialized_start = 5211 - _ABCIMESSAGE_HEADER_CONSENSUSVERSION._serialized_end = 5257 - _ABCIMESSAGE_HEADER_BLOCKID._serialized_start = 5259 - _ABCIMESSAGE_HEADER_BLOCKID._serialized_end = 5365 - _ABCIMESSAGE_HEADER_PARTSETHEADER._serialized_start = 5367 - _ABCIMESSAGE_HEADER_PARTSETHEADER._serialized_end = 5411 - _ABCIMESSAGE_LASTCOMMITINFO._serialized_start = 5414 - _ABCIMESSAGE_LASTCOMMITINFO._serialized_end = 5686 - _ABCIMESSAGE_LASTCOMMITINFO_VALIDATOR._serialized_start = 5523 - _ABCIMESSAGE_LASTCOMMITINFO_VALIDATOR._serialized_end = 5566 - _ABCIMESSAGE_LASTCOMMITINFO_VOTEINFO._serialized_start = 5568 - _ABCIMESSAGE_LASTCOMMITINFO_VOTEINFO._serialized_end = 5686 - _ABCIMESSAGE_PROOFOPS._serialized_start = 5689 - _ABCIMESSAGE_PROOFOPS._serialized_end = 5818 - _ABCIMESSAGE_PROOFOPS_PROOFOP._serialized_start = 5768 - _ABCIMESSAGE_PROOFOPS_PROOFOP._serialized_end = 5818 - _ABCIMESSAGE_RESULT._serialized_start = 5821 - _ABCIMESSAGE_RESULT._serialized_end = 6005 - _ABCIMESSAGE_RESULT_RESULTTYPE._serialized_start = 5907 - _ABCIMESSAGE_RESULT_RESULTTYPE._serialized_end = 6005 - _ABCIMESSAGE_SNAPSHOTS._serialized_start = 6007 - _ABCIMESSAGE_SNAPSHOTS._serialized_end = 6083 - _ABCIMESSAGE_SNAPSHOT._serialized_start = 6085 - _ABCIMESSAGE_SNAPSHOT._serialized_end = 6175 - _ABCIMESSAGE_TIMESTAMP._serialized_start = 6177 - _ABCIMESSAGE_TIMESTAMP._serialized_end = 6220 - _ABCIMESSAGE_VALIDATORUPDATES._serialized_start = 6223 - _ABCIMESSAGE_VALIDATORUPDATES._serialized_end = 6506 - _ABCIMESSAGE_VALIDATORUPDATES_PUBLICKEY._serialized_start = 6333 - _ABCIMESSAGE_VALIDATORUPDATES_PUBLICKEY._serialized_end = 6391 - _ABCIMESSAGE_VALIDATORUPDATES_VALIDATORUPDATE._serialized_start = 6393 - _ABCIMESSAGE_VALIDATORUPDATES_VALIDATORUPDATE._serialized_end = 6506 - _ABCIMESSAGE_REQUEST_ECHO_PERFORMATIVE._serialized_start = 6508 - _ABCIMESSAGE_REQUEST_ECHO_PERFORMATIVE._serialized_end = 6552 - _ABCIMESSAGE_REQUEST_FLUSH_PERFORMATIVE._serialized_start = 6554 - _ABCIMESSAGE_REQUEST_FLUSH_PERFORMATIVE._serialized_end = 6582 - _ABCIMESSAGE_REQUEST_INFO_PERFORMATIVE._serialized_start = 6584 - _ABCIMESSAGE_REQUEST_INFO_PERFORMATIVE._serialized_end = 6672 - _ABCIMESSAGE_REQUEST_SET_OPTION_PERFORMATIVE._serialized_start = 6674 - _ABCIMESSAGE_REQUEST_SET_OPTION_PERFORMATIVE._serialized_end = 6749 - _ABCIMESSAGE_REQUEST_INIT_CHAIN_PERFORMATIVE._serialized_start = 6752 - _ABCIMESSAGE_REQUEST_INIT_CHAIN_PERFORMATIVE._serialized_end = 7099 - _ABCIMESSAGE_REQUEST_QUERY_PERFORMATIVE._serialized_start = 7101 - _ABCIMESSAGE_REQUEST_QUERY_PERFORMATIVE._serialized_end = 7194 - _ABCIMESSAGE_REQUEST_BEGIN_BLOCK_PERFORMATIVE._serialized_start = 7197 - _ABCIMESSAGE_REQUEST_BEGIN_BLOCK_PERFORMATIVE._serialized_end = 7460 - _ABCIMESSAGE_REQUEST_CHECK_TX_PERFORMATIVE._serialized_start = 7462 - _ABCIMESSAGE_REQUEST_CHECK_TX_PERFORMATIVE._serialized_end = 7568 - _ABCIMESSAGE_REQUEST_DELIVER_TX_PERFORMATIVE._serialized_start = 7570 - _ABCIMESSAGE_REQUEST_DELIVER_TX_PERFORMATIVE._serialized_end = 7615 - _ABCIMESSAGE_REQUEST_END_BLOCK_PERFORMATIVE._serialized_start = 7617 - _ABCIMESSAGE_REQUEST_END_BLOCK_PERFORMATIVE._serialized_end = 7665 - _ABCIMESSAGE_REQUEST_COMMIT_PERFORMATIVE._serialized_start = 7667 - _ABCIMESSAGE_REQUEST_COMMIT_PERFORMATIVE._serialized_end = 7696 - _ABCIMESSAGE_REQUEST_LIST_SNAPSHOTS_PERFORMATIVE._serialized_start = 7698 - _ABCIMESSAGE_REQUEST_LIST_SNAPSHOTS_PERFORMATIVE._serialized_end = 7735 - _ABCIMESSAGE_REQUEST_OFFER_SNAPSHOT_PERFORMATIVE._serialized_start = 7737 - _ABCIMESSAGE_REQUEST_OFFER_SNAPSHOT_PERFORMATIVE._serialized_end = 7856 - _ABCIMESSAGE_REQUEST_LOAD_SNAPSHOT_CHUNK_PERFORMATIVE._serialized_start = 7858 - _ABCIMESSAGE_REQUEST_LOAD_SNAPSHOT_CHUNK_PERFORMATIVE._serialized_end = 7953 - _ABCIMESSAGE_REQUEST_APPLY_SNAPSHOT_CHUNK_PERFORMATIVE._serialized_start = 7955 - _ABCIMESSAGE_REQUEST_APPLY_SNAPSHOT_CHUNK_PERFORMATIVE._serialized_end = 8050 - _ABCIMESSAGE_RESPONSE_EXCEPTION_PERFORMATIVE._serialized_start = 8052 - _ABCIMESSAGE_RESPONSE_EXCEPTION_PERFORMATIVE._serialized_end = 8100 - _ABCIMESSAGE_RESPONSE_ECHO_PERFORMATIVE._serialized_start = 8102 - _ABCIMESSAGE_RESPONSE_ECHO_PERFORMATIVE._serialized_end = 8147 - _ABCIMESSAGE_RESPONSE_FLUSH_PERFORMATIVE._serialized_start = 8149 - _ABCIMESSAGE_RESPONSE_FLUSH_PERFORMATIVE._serialized_end = 8178 - _ABCIMESSAGE_RESPONSE_INFO_PERFORMATIVE._serialized_start = 8181 - _ABCIMESSAGE_RESPONSE_INFO_PERFORMATIVE._serialized_end = 8322 - _ABCIMESSAGE_RESPONSE_SET_OPTION_PERFORMATIVE._serialized_start = 8324 - _ABCIMESSAGE_RESPONSE_SET_OPTION_PERFORMATIVE._serialized_end = 8399 - _ABCIMESSAGE_RESPONSE_INIT_CHAIN_PERFORMATIVE._serialized_start = 8402 - _ABCIMESSAGE_RESPONSE_INIT_CHAIN_PERFORMATIVE._serialized_end = 8640 - _ABCIMESSAGE_RESPONSE_QUERY_PERFORMATIVE._serialized_start = 8643 - _ABCIMESSAGE_RESPONSE_QUERY_PERFORMATIVE._serialized_end = 8856 - _ABCIMESSAGE_RESPONSE_BEGIN_BLOCK_PERFORMATIVE._serialized_start = 8858 - _ABCIMESSAGE_RESPONSE_BEGIN_BLOCK_PERFORMATIVE._serialized_end = 8953 - _ABCIMESSAGE_RESPONSE_CHECK_TX_PERFORMATIVE._serialized_start = 8956 - _ABCIMESSAGE_RESPONSE_CHECK_TX_PERFORMATIVE._serialized_end = 9160 - _ABCIMESSAGE_RESPONSE_DELIVER_TX_PERFORMATIVE._serialized_start = 9163 - _ABCIMESSAGE_RESPONSE_DELIVER_TX_PERFORMATIVE._serialized_end = 9369 - _ABCIMESSAGE_RESPONSE_END_BLOCK_PERFORMATIVE._serialized_start = 9372 - _ABCIMESSAGE_RESPONSE_END_BLOCK_PERFORMATIVE._serialized_end = 9672 - _ABCIMESSAGE_RESPONSE_COMMIT_PERFORMATIVE._serialized_start = 9674 - _ABCIMESSAGE_RESPONSE_COMMIT_PERFORMATIVE._serialized_end = 9741 - _ABCIMESSAGE_RESPONSE_LIST_SNAPSHOTS_PERFORMATIVE._serialized_start = 9743 - _ABCIMESSAGE_RESPONSE_LIST_SNAPSHOTS_PERFORMATIVE._serialized_end = 9847 - _ABCIMESSAGE_RESPONSE_OFFER_SNAPSHOT_PERFORMATIVE._serialized_start = 9849 - _ABCIMESSAGE_RESPONSE_OFFER_SNAPSHOT_PERFORMATIVE._serialized_end = 9947 - _ABCIMESSAGE_RESPONSE_LOAD_SNAPSHOT_CHUNK_PERFORMATIVE._serialized_start = 9949 - _ABCIMESSAGE_RESPONSE_LOAD_SNAPSHOT_CHUNK_PERFORMATIVE._serialized_end = 10007 - _ABCIMESSAGE_RESPONSE_APPLY_SNAPSHOT_CHUNK_PERFORMATIVE._serialized_start = 10010 - _ABCIMESSAGE_RESPONSE_APPLY_SNAPSHOT_CHUNK_PERFORMATIVE._serialized_end = 10162 - _ABCIMESSAGE_DUMMY_PERFORMATIVE._serialized_start = 10164 - _ABCIMESSAGE_DUMMY_PERFORMATIVE._serialized_end = 10269 + _globals["_ABCIMESSAGE"]._serialized_start = 39 + _globals["_ABCIMESSAGE"]._serialized_end = 10285 + _globals["_ABCIMESSAGE_CHECKTXTYPE"]._serialized_start = 3222 + _globals["_ABCIMESSAGE_CHECKTXTYPE"]._serialized_end = 3349 + _globals["_ABCIMESSAGE_CHECKTXTYPE__CHECKTXTYPE"]._serialized_start = 3313 + _globals["_ABCIMESSAGE_CHECKTXTYPE__CHECKTXTYPE"]._serialized_end = 3349 + _globals["_ABCIMESSAGE_CONSENSUSPARAMS"]._serialized_start = 3352 + _globals["_ABCIMESSAGE_CONSENSUSPARAMS"]._serialized_end = 4036 + _globals["_ABCIMESSAGE_CONSENSUSPARAMS_DURATION"]._serialized_start = 3709 + _globals["_ABCIMESSAGE_CONSENSUSPARAMS_DURATION"]._serialized_end = 3751 + _globals["_ABCIMESSAGE_CONSENSUSPARAMS_BLOCKPARAMS"]._serialized_start = 3753 + _globals["_ABCIMESSAGE_CONSENSUSPARAMS_BLOCKPARAMS"]._serialized_end = 3802 + _globals["_ABCIMESSAGE_CONSENSUSPARAMS_EVIDENCEPARAMS"]._serialized_start = 3805 + _globals["_ABCIMESSAGE_CONSENSUSPARAMS_EVIDENCEPARAMS"]._serialized_end = 3956 + _globals["_ABCIMESSAGE_CONSENSUSPARAMS_VALIDATORPARAMS"]._serialized_start = 3958 + _globals["_ABCIMESSAGE_CONSENSUSPARAMS_VALIDATORPARAMS"]._serialized_end = 3998 + _globals["_ABCIMESSAGE_CONSENSUSPARAMS_VERSIONPARAMS"]._serialized_start = 4000 + _globals["_ABCIMESSAGE_CONSENSUSPARAMS_VERSIONPARAMS"]._serialized_end = 4036 + _globals["_ABCIMESSAGE_EVENTS"]._serialized_start = 4039 + _globals["_ABCIMESSAGE_EVENTS"]._serialized_end = 4276 + _globals["_ABCIMESSAGE_EVENTS_EVENTATTRIBUTE"]._serialized_start = 4115 + _globals["_ABCIMESSAGE_EVENTS_EVENTATTRIBUTE"]._serialized_end = 4174 + _globals["_ABCIMESSAGE_EVENTS_EVENT"]._serialized_start = 4176 + _globals["_ABCIMESSAGE_EVENTS_EVENT"]._serialized_end = 4276 + _globals["_ABCIMESSAGE_EVIDENCES"]._serialized_start = 4279 + _globals["_ABCIMESSAGE_EVIDENCES"]._serialized_end = 4732 + _globals["_ABCIMESSAGE_EVIDENCES_EVIDENCE"]._serialized_start = 4379 + _globals["_ABCIMESSAGE_EVIDENCES_EVIDENCE"]._serialized_end = 4732 + _globals["_ABCIMESSAGE_EVIDENCES_EVIDENCE_EVIDENCETYPE"]._serialized_start = 4660 + _globals["_ABCIMESSAGE_EVIDENCES_EVIDENCE_EVIDENCETYPE"]._serialized_end = 4732 + _globals["_ABCIMESSAGE_HEADER"]._serialized_start = 4735 + _globals["_ABCIMESSAGE_HEADER"]._serialized_end = 5411 + _globals["_ABCIMESSAGE_HEADER_CONSENSUSVERSION"]._serialized_start = 5211 + _globals["_ABCIMESSAGE_HEADER_CONSENSUSVERSION"]._serialized_end = 5257 + _globals["_ABCIMESSAGE_HEADER_BLOCKID"]._serialized_start = 5259 + _globals["_ABCIMESSAGE_HEADER_BLOCKID"]._serialized_end = 5365 + _globals["_ABCIMESSAGE_HEADER_PARTSETHEADER"]._serialized_start = 5367 + _globals["_ABCIMESSAGE_HEADER_PARTSETHEADER"]._serialized_end = 5411 + _globals["_ABCIMESSAGE_LASTCOMMITINFO"]._serialized_start = 5414 + _globals["_ABCIMESSAGE_LASTCOMMITINFO"]._serialized_end = 5686 + _globals["_ABCIMESSAGE_LASTCOMMITINFO_VALIDATOR"]._serialized_start = 5523 + _globals["_ABCIMESSAGE_LASTCOMMITINFO_VALIDATOR"]._serialized_end = 5566 + _globals["_ABCIMESSAGE_LASTCOMMITINFO_VOTEINFO"]._serialized_start = 5568 + _globals["_ABCIMESSAGE_LASTCOMMITINFO_VOTEINFO"]._serialized_end = 5686 + _globals["_ABCIMESSAGE_PROOFOPS"]._serialized_start = 5689 + _globals["_ABCIMESSAGE_PROOFOPS"]._serialized_end = 5818 + _globals["_ABCIMESSAGE_PROOFOPS_PROOFOP"]._serialized_start = 5768 + _globals["_ABCIMESSAGE_PROOFOPS_PROOFOP"]._serialized_end = 5818 + _globals["_ABCIMESSAGE_RESULT"]._serialized_start = 5821 + _globals["_ABCIMESSAGE_RESULT"]._serialized_end = 6005 + _globals["_ABCIMESSAGE_RESULT_RESULTTYPE"]._serialized_start = 5907 + _globals["_ABCIMESSAGE_RESULT_RESULTTYPE"]._serialized_end = 6005 + _globals["_ABCIMESSAGE_SNAPSHOTS"]._serialized_start = 6007 + _globals["_ABCIMESSAGE_SNAPSHOTS"]._serialized_end = 6083 + _globals["_ABCIMESSAGE_SNAPSHOT"]._serialized_start = 6085 + _globals["_ABCIMESSAGE_SNAPSHOT"]._serialized_end = 6175 + _globals["_ABCIMESSAGE_TIMESTAMP"]._serialized_start = 6177 + _globals["_ABCIMESSAGE_TIMESTAMP"]._serialized_end = 6220 + _globals["_ABCIMESSAGE_VALIDATORUPDATES"]._serialized_start = 6223 + _globals["_ABCIMESSAGE_VALIDATORUPDATES"]._serialized_end = 6506 + _globals["_ABCIMESSAGE_VALIDATORUPDATES_PUBLICKEY"]._serialized_start = 6333 + _globals["_ABCIMESSAGE_VALIDATORUPDATES_PUBLICKEY"]._serialized_end = 6391 + _globals["_ABCIMESSAGE_VALIDATORUPDATES_VALIDATORUPDATE"]._serialized_start = 6393 + _globals["_ABCIMESSAGE_VALIDATORUPDATES_VALIDATORUPDATE"]._serialized_end = 6506 + _globals["_ABCIMESSAGE_REQUEST_ECHO_PERFORMATIVE"]._serialized_start = 6508 + _globals["_ABCIMESSAGE_REQUEST_ECHO_PERFORMATIVE"]._serialized_end = 6552 + _globals["_ABCIMESSAGE_REQUEST_FLUSH_PERFORMATIVE"]._serialized_start = 6554 + _globals["_ABCIMESSAGE_REQUEST_FLUSH_PERFORMATIVE"]._serialized_end = 6582 + _globals["_ABCIMESSAGE_REQUEST_INFO_PERFORMATIVE"]._serialized_start = 6584 + _globals["_ABCIMESSAGE_REQUEST_INFO_PERFORMATIVE"]._serialized_end = 6672 + _globals["_ABCIMESSAGE_REQUEST_SET_OPTION_PERFORMATIVE"]._serialized_start = 6674 + _globals["_ABCIMESSAGE_REQUEST_SET_OPTION_PERFORMATIVE"]._serialized_end = 6749 + _globals["_ABCIMESSAGE_REQUEST_INIT_CHAIN_PERFORMATIVE"]._serialized_start = 6752 + _globals["_ABCIMESSAGE_REQUEST_INIT_CHAIN_PERFORMATIVE"]._serialized_end = 7099 + _globals["_ABCIMESSAGE_REQUEST_QUERY_PERFORMATIVE"]._serialized_start = 7101 + _globals["_ABCIMESSAGE_REQUEST_QUERY_PERFORMATIVE"]._serialized_end = 7194 + _globals["_ABCIMESSAGE_REQUEST_BEGIN_BLOCK_PERFORMATIVE"]._serialized_start = 7197 + _globals["_ABCIMESSAGE_REQUEST_BEGIN_BLOCK_PERFORMATIVE"]._serialized_end = 7460 + _globals["_ABCIMESSAGE_REQUEST_CHECK_TX_PERFORMATIVE"]._serialized_start = 7462 + _globals["_ABCIMESSAGE_REQUEST_CHECK_TX_PERFORMATIVE"]._serialized_end = 7568 + _globals["_ABCIMESSAGE_REQUEST_DELIVER_TX_PERFORMATIVE"]._serialized_start = 7570 + _globals["_ABCIMESSAGE_REQUEST_DELIVER_TX_PERFORMATIVE"]._serialized_end = 7615 + _globals["_ABCIMESSAGE_REQUEST_END_BLOCK_PERFORMATIVE"]._serialized_start = 7617 + _globals["_ABCIMESSAGE_REQUEST_END_BLOCK_PERFORMATIVE"]._serialized_end = 7665 + _globals["_ABCIMESSAGE_REQUEST_COMMIT_PERFORMATIVE"]._serialized_start = 7667 + _globals["_ABCIMESSAGE_REQUEST_COMMIT_PERFORMATIVE"]._serialized_end = 7696 + _globals[ + "_ABCIMESSAGE_REQUEST_LIST_SNAPSHOTS_PERFORMATIVE" + ]._serialized_start = 7698 + _globals["_ABCIMESSAGE_REQUEST_LIST_SNAPSHOTS_PERFORMATIVE"]._serialized_end = 7735 + _globals[ + "_ABCIMESSAGE_REQUEST_OFFER_SNAPSHOT_PERFORMATIVE" + ]._serialized_start = 7737 + _globals["_ABCIMESSAGE_REQUEST_OFFER_SNAPSHOT_PERFORMATIVE"]._serialized_end = 7856 + _globals[ + "_ABCIMESSAGE_REQUEST_LOAD_SNAPSHOT_CHUNK_PERFORMATIVE" + ]._serialized_start = 7858 + _globals[ + "_ABCIMESSAGE_REQUEST_LOAD_SNAPSHOT_CHUNK_PERFORMATIVE" + ]._serialized_end = 7953 + _globals[ + "_ABCIMESSAGE_REQUEST_APPLY_SNAPSHOT_CHUNK_PERFORMATIVE" + ]._serialized_start = 7955 + _globals[ + "_ABCIMESSAGE_REQUEST_APPLY_SNAPSHOT_CHUNK_PERFORMATIVE" + ]._serialized_end = 8050 + _globals["_ABCIMESSAGE_RESPONSE_EXCEPTION_PERFORMATIVE"]._serialized_start = 8052 + _globals["_ABCIMESSAGE_RESPONSE_EXCEPTION_PERFORMATIVE"]._serialized_end = 8100 + _globals["_ABCIMESSAGE_RESPONSE_ECHO_PERFORMATIVE"]._serialized_start = 8102 + _globals["_ABCIMESSAGE_RESPONSE_ECHO_PERFORMATIVE"]._serialized_end = 8147 + _globals["_ABCIMESSAGE_RESPONSE_FLUSH_PERFORMATIVE"]._serialized_start = 8149 + _globals["_ABCIMESSAGE_RESPONSE_FLUSH_PERFORMATIVE"]._serialized_end = 8178 + _globals["_ABCIMESSAGE_RESPONSE_INFO_PERFORMATIVE"]._serialized_start = 8181 + _globals["_ABCIMESSAGE_RESPONSE_INFO_PERFORMATIVE"]._serialized_end = 8322 + _globals["_ABCIMESSAGE_RESPONSE_SET_OPTION_PERFORMATIVE"]._serialized_start = 8324 + _globals["_ABCIMESSAGE_RESPONSE_SET_OPTION_PERFORMATIVE"]._serialized_end = 8399 + _globals["_ABCIMESSAGE_RESPONSE_INIT_CHAIN_PERFORMATIVE"]._serialized_start = 8402 + _globals["_ABCIMESSAGE_RESPONSE_INIT_CHAIN_PERFORMATIVE"]._serialized_end = 8640 + _globals["_ABCIMESSAGE_RESPONSE_QUERY_PERFORMATIVE"]._serialized_start = 8643 + _globals["_ABCIMESSAGE_RESPONSE_QUERY_PERFORMATIVE"]._serialized_end = 8856 + _globals["_ABCIMESSAGE_RESPONSE_BEGIN_BLOCK_PERFORMATIVE"]._serialized_start = 8858 + _globals["_ABCIMESSAGE_RESPONSE_BEGIN_BLOCK_PERFORMATIVE"]._serialized_end = 8953 + _globals["_ABCIMESSAGE_RESPONSE_CHECK_TX_PERFORMATIVE"]._serialized_start = 8956 + _globals["_ABCIMESSAGE_RESPONSE_CHECK_TX_PERFORMATIVE"]._serialized_end = 9160 + _globals["_ABCIMESSAGE_RESPONSE_DELIVER_TX_PERFORMATIVE"]._serialized_start = 9163 + _globals["_ABCIMESSAGE_RESPONSE_DELIVER_TX_PERFORMATIVE"]._serialized_end = 9369 + _globals["_ABCIMESSAGE_RESPONSE_END_BLOCK_PERFORMATIVE"]._serialized_start = 9372 + _globals["_ABCIMESSAGE_RESPONSE_END_BLOCK_PERFORMATIVE"]._serialized_end = 9672 + _globals["_ABCIMESSAGE_RESPONSE_COMMIT_PERFORMATIVE"]._serialized_start = 9674 + _globals["_ABCIMESSAGE_RESPONSE_COMMIT_PERFORMATIVE"]._serialized_end = 9741 + _globals[ + "_ABCIMESSAGE_RESPONSE_LIST_SNAPSHOTS_PERFORMATIVE" + ]._serialized_start = 9743 + _globals["_ABCIMESSAGE_RESPONSE_LIST_SNAPSHOTS_PERFORMATIVE"]._serialized_end = 9847 + _globals[ + "_ABCIMESSAGE_RESPONSE_OFFER_SNAPSHOT_PERFORMATIVE" + ]._serialized_start = 9849 + _globals["_ABCIMESSAGE_RESPONSE_OFFER_SNAPSHOT_PERFORMATIVE"]._serialized_end = 9947 + _globals[ + "_ABCIMESSAGE_RESPONSE_LOAD_SNAPSHOT_CHUNK_PERFORMATIVE" + ]._serialized_start = 9949 + _globals[ + "_ABCIMESSAGE_RESPONSE_LOAD_SNAPSHOT_CHUNK_PERFORMATIVE" + ]._serialized_end = 10007 + _globals[ + "_ABCIMESSAGE_RESPONSE_APPLY_SNAPSHOT_CHUNK_PERFORMATIVE" + ]._serialized_start = 10010 + _globals[ + "_ABCIMESSAGE_RESPONSE_APPLY_SNAPSHOT_CHUNK_PERFORMATIVE" + ]._serialized_end = 10162 + _globals["_ABCIMESSAGE_DUMMY_PERFORMATIVE"]._serialized_start = 10164 + _globals["_ABCIMESSAGE_DUMMY_PERFORMATIVE"]._serialized_end = 10269 # @@protoc_insertion_point(module_scope) diff --git a/packages/valory/protocols/abci/message.py b/packages/valory/protocols/abci/message.py index 46d4634e92..69a18d72b2 100644 --- a/packages/valory/protocols/abci/message.py +++ b/packages/valory/protocols/abci/message.py @@ -25,7 +25,7 @@ from aea.configurations.base import PublicId from aea.exceptions import AEAEnforceError, enforce -from aea.protocols.base import Message +from aea.protocols.base import Message # type: ignore from packages.valory.protocols.abci.custom_types import CheckTxType as CustomCheckTxType from packages.valory.protocols.abci.custom_types import ( diff --git a/packages/valory/protocols/abci/protocol.yaml b/packages/valory/protocols/abci/protocol.yaml index 2c091ed4dc..f9ae7be958 100644 --- a/packages/valory/protocols/abci/protocol.yaml +++ b/packages/valory/protocols/abci/protocol.yaml @@ -8,13 +8,13 @@ license: Apache-2.0 aea_version: '>=1.0.0, <2.0.0' fingerprint: README.md: bafybeia5y34dgznojhabsw7js2auxzmwxoubs2yacvscvoqkmt323d3npq - __init__.py: bafybeidyj3jxy544bgbo45v4tox4rz5msrqmwgnn26hbtoqoiwvvgwzf54 + __init__.py: bafybeiewslofryyx4w25plslmsfh3lhhwaqfr66rvsrerxyzf5nsa5zuqi abci.proto: bafybeid2kv4fy6xx453apqxashnqfjymhbrvtxj3uq2vdtqr45lvlfjzm4 - abci_pb2.py: bafybeiewkqame5ggll3awihbcacqswcjgd6lnml77k62pfaebqxugnqv2m + abci_pb2.py: bafybeiamdsjnddab32gu3xxa2tj4hkuaor2aboqem5dpt4ug25hhejp2li custom_types.py: bafybeihpkluue4c7cunrcaxze3pqexhmwxkybrv4c3bzmkkakze7n6v44a dialogues.py: bafybeiatyk6bgdw36clk5q6pqzoow7owjppwgmjyn7ofamg5urcwdu7mqy - message.py: bafybeib3iyxwrkq3f3qpfhm6bsfhsjdkrnjfvyoeqg35s46h2uafvrlvxq - serialization.py: bafybeifralovb766v2sl5gmxaqr7xz7srbrzsixrr4nzseptkwgddph5e4 + message.py: bafybeihse4kojm26rplaufkswenbjldvchtwcrzvitobqbf3wfyszlp5gu + serialization.py: bafybeicj23iadpep3ewjomegc25rmqphw6v6v7ro3z7pesbojkpk2ohqfe tests/__init__.py: bafybeie4cd5xo7o4teyfjclaju3zoguuahjvkpsbshda3x23jcph53fdpi tests/conftest.py: bafybeidomydt6bdji22rndrdb5w773vvdja55o5m5n4pbfslx7ey5euot4 tests/test_abci.py: bafybeig4gex7e62uxca7riaetmr2pu5xekxg3d7xjvck72zjd3uxny4v64 diff --git a/packages/valory/protocols/abci/serialization.py b/packages/valory/protocols/abci/serialization.py index 6941f6052d..3e74acbef8 100644 --- a/packages/valory/protocols/abci/serialization.py +++ b/packages/valory/protocols/abci/serialization.py @@ -22,12 +22,13 @@ # pylint: disable=too-many-statements,too-many-locals,no-member,too-few-public-methods,redefined-builtin from typing import Any, Dict, cast -from aea.mail.base_pb2 import DialogueMessage -from aea.mail.base_pb2 import Message as ProtobufMessage -from aea.protocols.base import Message, Serializer +from aea.mail.base_pb2 import DialogueMessage # type: ignore +from aea.mail.base_pb2 import Message as ProtobufMessage # type: ignore +from aea.protocols.base import Message # type: ignore +from aea.protocols.base import Serializer # type: ignore -from packages.valory.protocols.abci import abci_pb2 -from packages.valory.protocols.abci.custom_types import ( +from packages.valory.protocols.abci import abci_pb2 # type: ignore +from packages.valory.protocols.abci.custom_types import ( # type: ignore CheckTxType, ConsensusParams, Events, @@ -41,7 +42,7 @@ Timestamp, ValidatorUpdates, ) -from packages.valory.protocols.abci.message import AbciMessage +from packages.valory.protocols.abci.message import AbciMessage # type: ignore class AbciSerializer(Serializer): @@ -58,7 +59,7 @@ def encode(msg: Message) -> bytes: msg = cast(AbciMessage, msg) message_pb = ProtobufMessage() dialogue_message_pb = DialogueMessage() - abci_msg = abci_pb2.AbciMessage() + abci_msg = abci_pb2.AbciMessage() # type: ignore dialogue_message_pb.message_id = msg.message_id dialogue_reference = msg.dialogue_reference @@ -357,7 +358,7 @@ def decode(obj: bytes) -> Message: :return: the 'Abci' message. """ message_pb = ProtobufMessage() - abci_pb = abci_pb2.AbciMessage() + abci_pb = abci_pb2.AbciMessage() # type: ignore message_pb.ParseFromString(obj) message_id = message_pb.dialogue_message.message_id dialogue_reference = ( diff --git a/packages/valory/protocols/ipfs/__init__.py b/packages/valory/protocols/ipfs/__init__.py index 5f60c5089f..4477e88f2d 100644 --- a/packages/valory/protocols/ipfs/__init__.py +++ b/packages/valory/protocols/ipfs/__init__.py @@ -20,7 +20,7 @@ """ This module contains the support resources for the ipfs protocol. -It was created with protocol buffer compiler version `libprotoc 3.19.4` and aea protocol generator version `1.0.0`. +It was created with protocol buffer compiler version `libprotoc 24.3` and aea protocol generator version `1.0.0`. """ from packages.valory.protocols.ipfs.message import IpfsMessage diff --git a/packages/valory/protocols/ipfs/ipfs_pb2.py b/packages/valory/protocols/ipfs/ipfs_pb2.py index 7abcba4053..c69233ef6d 100644 --- a/packages/valory/protocols/ipfs/ipfs_pb2.py +++ b/packages/valory/protocols/ipfs/ipfs_pb2.py @@ -4,9 +4,8 @@ """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder # @@protoc_insertion_point(imports) @@ -18,130 +17,29 @@ b'\n\nipfs.proto\x12\x16\x61\x65\x61.valory.ipfs.v0_1_0"\xb2\x07\n\x0bIpfsMessage\x12G\n\x05\x65rror\x18\x05 \x01(\x0b\x32\x36.aea.valory.ipfs.v0_1_0.IpfsMessage.Error_PerformativeH\x00\x12G\n\x05\x66iles\x18\x06 \x01(\x0b\x32\x36.aea.valory.ipfs.v0_1_0.IpfsMessage.Files_PerformativeH\x00\x12O\n\tget_files\x18\x07 \x01(\x0b\x32:.aea.valory.ipfs.v0_1_0.IpfsMessage.Get_Files_PerformativeH\x00\x12O\n\tipfs_hash\x18\x08 \x01(\x0b\x32:.aea.valory.ipfs.v0_1_0.IpfsMessage.Ipfs_Hash_PerformativeH\x00\x12S\n\x0bstore_files\x18\t \x01(\x0b\x32<.aea.valory.ipfs.v0_1_0.IpfsMessage.Store_Files_PerformativeH\x00\x1a\xc9\x01\n\x18Store_Files_Performative\x12V\n\x05\x66iles\x18\x01 \x03(\x0b\x32G.aea.valory.ipfs.v0_1_0.IpfsMessage.Store_Files_Performative.FilesEntry\x12\x0f\n\x07timeout\x18\x02 \x01(\x01\x12\x16\n\x0etimeout_is_set\x18\x03 \x01(\x08\x1a,\n\nFilesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a+\n\x16Ipfs_Hash_Performative\x12\x11\n\tipfs_hash\x18\x01 \x01(\t\x1aT\n\x16Get_Files_Performative\x12\x11\n\tipfs_hash\x18\x01 \x01(\t\x12\x0f\n\x07timeout\x18\x02 \x01(\x01\x12\x16\n\x0etimeout_is_set\x18\x03 \x01(\x08\x1a\x94\x01\n\x12\x46iles_Performative\x12P\n\x05\x66iles\x18\x01 \x03(\x0b\x32\x41.aea.valory.ipfs.v0_1_0.IpfsMessage.Files_Performative.FilesEntry\x1a,\n\nFilesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a$\n\x12\x45rror_Performative\x12\x0e\n\x06reason\x18\x01 \x01(\tB\x0e\n\x0cperformativeb\x06proto3' ) - -_IPFSMESSAGE = DESCRIPTOR.message_types_by_name["IpfsMessage"] -_IPFSMESSAGE_STORE_FILES_PERFORMATIVE = _IPFSMESSAGE.nested_types_by_name[ - "Store_Files_Performative" -] -_IPFSMESSAGE_STORE_FILES_PERFORMATIVE_FILESENTRY = ( - _IPFSMESSAGE_STORE_FILES_PERFORMATIVE.nested_types_by_name["FilesEntry"] -) -_IPFSMESSAGE_IPFS_HASH_PERFORMATIVE = _IPFSMESSAGE.nested_types_by_name[ - "Ipfs_Hash_Performative" -] -_IPFSMESSAGE_GET_FILES_PERFORMATIVE = _IPFSMESSAGE.nested_types_by_name[ - "Get_Files_Performative" -] -_IPFSMESSAGE_FILES_PERFORMATIVE = _IPFSMESSAGE.nested_types_by_name[ - "Files_Performative" -] -_IPFSMESSAGE_FILES_PERFORMATIVE_FILESENTRY = ( - _IPFSMESSAGE_FILES_PERFORMATIVE.nested_types_by_name["FilesEntry"] -) -_IPFSMESSAGE_ERROR_PERFORMATIVE = _IPFSMESSAGE.nested_types_by_name[ - "Error_Performative" -] -IpfsMessage = _reflection.GeneratedProtocolMessageType( - "IpfsMessage", - (_message.Message,), - { - "Store_Files_Performative": _reflection.GeneratedProtocolMessageType( - "Store_Files_Performative", - (_message.Message,), - { - "FilesEntry": _reflection.GeneratedProtocolMessageType( - "FilesEntry", - (_message.Message,), - { - "DESCRIPTOR": _IPFSMESSAGE_STORE_FILES_PERFORMATIVE_FILESENTRY, - "__module__": "ipfs_pb2" - # @@protoc_insertion_point(class_scope:aea.valory.ipfs.v0_1_0.IpfsMessage.Store_Files_Performative.FilesEntry) - }, - ), - "DESCRIPTOR": _IPFSMESSAGE_STORE_FILES_PERFORMATIVE, - "__module__": "ipfs_pb2" - # @@protoc_insertion_point(class_scope:aea.valory.ipfs.v0_1_0.IpfsMessage.Store_Files_Performative) - }, - ), - "Ipfs_Hash_Performative": _reflection.GeneratedProtocolMessageType( - "Ipfs_Hash_Performative", - (_message.Message,), - { - "DESCRIPTOR": _IPFSMESSAGE_IPFS_HASH_PERFORMATIVE, - "__module__": "ipfs_pb2" - # @@protoc_insertion_point(class_scope:aea.valory.ipfs.v0_1_0.IpfsMessage.Ipfs_Hash_Performative) - }, - ), - "Get_Files_Performative": _reflection.GeneratedProtocolMessageType( - "Get_Files_Performative", - (_message.Message,), - { - "DESCRIPTOR": _IPFSMESSAGE_GET_FILES_PERFORMATIVE, - "__module__": "ipfs_pb2" - # @@protoc_insertion_point(class_scope:aea.valory.ipfs.v0_1_0.IpfsMessage.Get_Files_Performative) - }, - ), - "Files_Performative": _reflection.GeneratedProtocolMessageType( - "Files_Performative", - (_message.Message,), - { - "FilesEntry": _reflection.GeneratedProtocolMessageType( - "FilesEntry", - (_message.Message,), - { - "DESCRIPTOR": _IPFSMESSAGE_FILES_PERFORMATIVE_FILESENTRY, - "__module__": "ipfs_pb2" - # @@protoc_insertion_point(class_scope:aea.valory.ipfs.v0_1_0.IpfsMessage.Files_Performative.FilesEntry) - }, - ), - "DESCRIPTOR": _IPFSMESSAGE_FILES_PERFORMATIVE, - "__module__": "ipfs_pb2" - # @@protoc_insertion_point(class_scope:aea.valory.ipfs.v0_1_0.IpfsMessage.Files_Performative) - }, - ), - "Error_Performative": _reflection.GeneratedProtocolMessageType( - "Error_Performative", - (_message.Message,), - { - "DESCRIPTOR": _IPFSMESSAGE_ERROR_PERFORMATIVE, - "__module__": "ipfs_pb2" - # @@protoc_insertion_point(class_scope:aea.valory.ipfs.v0_1_0.IpfsMessage.Error_Performative) - }, - ), - "DESCRIPTOR": _IPFSMESSAGE, - "__module__": "ipfs_pb2" - # @@protoc_insertion_point(class_scope:aea.valory.ipfs.v0_1_0.IpfsMessage) - }, -) -_sym_db.RegisterMessage(IpfsMessage) -_sym_db.RegisterMessage(IpfsMessage.Store_Files_Performative) -_sym_db.RegisterMessage(IpfsMessage.Store_Files_Performative.FilesEntry) -_sym_db.RegisterMessage(IpfsMessage.Ipfs_Hash_Performative) -_sym_db.RegisterMessage(IpfsMessage.Get_Files_Performative) -_sym_db.RegisterMessage(IpfsMessage.Files_Performative) -_sym_db.RegisterMessage(IpfsMessage.Files_Performative.FilesEntry) -_sym_db.RegisterMessage(IpfsMessage.Error_Performative) - +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "ipfs_pb2", _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None _IPFSMESSAGE_STORE_FILES_PERFORMATIVE_FILESENTRY._options = None _IPFSMESSAGE_STORE_FILES_PERFORMATIVE_FILESENTRY._serialized_options = b"8\001" _IPFSMESSAGE_FILES_PERFORMATIVE_FILESENTRY._options = None _IPFSMESSAGE_FILES_PERFORMATIVE_FILESENTRY._serialized_options = b"8\001" - _IPFSMESSAGE._serialized_start = 39 - _IPFSMESSAGE._serialized_end = 985 - _IPFSMESSAGE_STORE_FILES_PERFORMATIVE._serialized_start = 448 - _IPFSMESSAGE_STORE_FILES_PERFORMATIVE._serialized_end = 649 - _IPFSMESSAGE_STORE_FILES_PERFORMATIVE_FILESENTRY._serialized_start = 605 - _IPFSMESSAGE_STORE_FILES_PERFORMATIVE_FILESENTRY._serialized_end = 649 - _IPFSMESSAGE_IPFS_HASH_PERFORMATIVE._serialized_start = 651 - _IPFSMESSAGE_IPFS_HASH_PERFORMATIVE._serialized_end = 694 - _IPFSMESSAGE_GET_FILES_PERFORMATIVE._serialized_start = 696 - _IPFSMESSAGE_GET_FILES_PERFORMATIVE._serialized_end = 780 - _IPFSMESSAGE_FILES_PERFORMATIVE._serialized_start = 783 - _IPFSMESSAGE_FILES_PERFORMATIVE._serialized_end = 931 - _IPFSMESSAGE_FILES_PERFORMATIVE_FILESENTRY._serialized_start = 605 - _IPFSMESSAGE_FILES_PERFORMATIVE_FILESENTRY._serialized_end = 649 - _IPFSMESSAGE_ERROR_PERFORMATIVE._serialized_start = 933 - _IPFSMESSAGE_ERROR_PERFORMATIVE._serialized_end = 969 + _globals["_IPFSMESSAGE"]._serialized_start = 39 + _globals["_IPFSMESSAGE"]._serialized_end = 985 + _globals["_IPFSMESSAGE_STORE_FILES_PERFORMATIVE"]._serialized_start = 448 + _globals["_IPFSMESSAGE_STORE_FILES_PERFORMATIVE"]._serialized_end = 649 + _globals["_IPFSMESSAGE_STORE_FILES_PERFORMATIVE_FILESENTRY"]._serialized_start = 605 + _globals["_IPFSMESSAGE_STORE_FILES_PERFORMATIVE_FILESENTRY"]._serialized_end = 649 + _globals["_IPFSMESSAGE_IPFS_HASH_PERFORMATIVE"]._serialized_start = 651 + _globals["_IPFSMESSAGE_IPFS_HASH_PERFORMATIVE"]._serialized_end = 694 + _globals["_IPFSMESSAGE_GET_FILES_PERFORMATIVE"]._serialized_start = 696 + _globals["_IPFSMESSAGE_GET_FILES_PERFORMATIVE"]._serialized_end = 780 + _globals["_IPFSMESSAGE_FILES_PERFORMATIVE"]._serialized_start = 783 + _globals["_IPFSMESSAGE_FILES_PERFORMATIVE"]._serialized_end = 931 + _globals["_IPFSMESSAGE_FILES_PERFORMATIVE_FILESENTRY"]._serialized_start = 605 + _globals["_IPFSMESSAGE_FILES_PERFORMATIVE_FILESENTRY"]._serialized_end = 649 + _globals["_IPFSMESSAGE_ERROR_PERFORMATIVE"]._serialized_start = 933 + _globals["_IPFSMESSAGE_ERROR_PERFORMATIVE"]._serialized_end = 969 # @@protoc_insertion_point(module_scope) diff --git a/packages/valory/protocols/ipfs/message.py b/packages/valory/protocols/ipfs/message.py index 9aa3be0de1..3a88fc8bdb 100644 --- a/packages/valory/protocols/ipfs/message.py +++ b/packages/valory/protocols/ipfs/message.py @@ -25,7 +25,7 @@ from aea.configurations.base import PublicId from aea.exceptions import AEAEnforceError, enforce -from aea.protocols.base import Message +from aea.protocols.base import Message # type: ignore _default_logger = logging.getLogger("aea.packages.valory.protocols.ipfs.message") diff --git a/packages/valory/protocols/ipfs/protocol.yaml b/packages/valory/protocols/ipfs/protocol.yaml index 386e2e320e..cae27ded99 100644 --- a/packages/valory/protocols/ipfs/protocol.yaml +++ b/packages/valory/protocols/ipfs/protocol.yaml @@ -8,12 +8,12 @@ license: Apache-2.0 aea_version: '>=1.0.0, <2.0.0' fingerprint: README.md: bafybeidv64ed7ljvsggruwj3onb7dj7b5nyx4ngohacztdreujjztsuns4 - __init__.py: bafybeibxzovsffa3l2ac5h7yrhmbq2oplsteqtlhsgzvu2wvx7qvkyrkle + __init__.py: bafybeigtro2qlct3wc6dhtshv4sbh2myabruyb3mhadbcif46waylhtpga dialogues.py: bafybeihlnjaqvq5765hqttoqe3aeql572veyfbawsrcyko4wvds5wv7gwe ipfs.proto: bafybeifpe6szd3m2zjlvn5zwiy7mbimur7pu46lobxvyyarozabxpmhcs4 - ipfs_pb2.py: bafybeiatedc2qk3p3rwfritjw6uloohsvvao2vnknalwpkluz7owqt6tla - message.py: bafybeihufe4v6jlwrzz5doeesr3tdsjgksi2shymrcdngfhmi3h6rsqoie - serialization.py: bafybeifi5snrp4knrxwftskyjb5zuipjfqeipqw6nxn4mbk42vdwkstxd4 + ipfs_pb2.py: bafybeihzspjtj2zoy3owb5itbz2lrintf7odanhvsi4qooxuqxu3ar6qpu + message.py: bafybeiaxoans2zu6g4zjmkoqmv4vck2t5ftwn74cejuds3ll5z7tno22dm + serialization.py: bafybeib54rauxqkzaaudz22fbiotryc7cg2i3r7x5qtw6eoui6sw26kt7e tests/test_ipfs_dialogues.py: bafybeigqi2cal5m252qf3ry75mldfd5kyqj3bgstvyzpjgpjgxhi2otpoa tests/test_ipfs_messages.py: bafybeiasgajluoijzuln3s4gcbv5xenzazejt5kgbs54momozsntzrudw4 fingerprint_ignore_patterns: [] diff --git a/packages/valory/protocols/ipfs/serialization.py b/packages/valory/protocols/ipfs/serialization.py index f85d753441..6d8dabe94b 100644 --- a/packages/valory/protocols/ipfs/serialization.py +++ b/packages/valory/protocols/ipfs/serialization.py @@ -22,12 +22,13 @@ # pylint: disable=too-many-statements,too-many-locals,no-member,too-few-public-methods,redefined-builtin from typing import Any, Dict, cast -from aea.mail.base_pb2 import DialogueMessage -from aea.mail.base_pb2 import Message as ProtobufMessage -from aea.protocols.base import Message, Serializer +from aea.mail.base_pb2 import DialogueMessage # type: ignore +from aea.mail.base_pb2 import Message as ProtobufMessage # type: ignore +from aea.protocols.base import Message # type: ignore +from aea.protocols.base import Serializer # type: ignore -from packages.valory.protocols.ipfs import ipfs_pb2 -from packages.valory.protocols.ipfs.message import IpfsMessage +from packages.valory.protocols.ipfs import ipfs_pb2 # type: ignore +from packages.valory.protocols.ipfs.message import IpfsMessage # type: ignore class IpfsSerializer(Serializer): @@ -44,7 +45,7 @@ def encode(msg: Message) -> bytes: msg = cast(IpfsMessage, msg) message_pb = ProtobufMessage() dialogue_message_pb = DialogueMessage() - ipfs_msg = ipfs_pb2.IpfsMessage() + ipfs_msg = ipfs_pb2.IpfsMessage() # type: ignore dialogue_message_pb.message_id = msg.message_id dialogue_reference = msg.dialogue_reference @@ -104,7 +105,7 @@ def decode(obj: bytes) -> Message: :return: the 'Ipfs' message. """ message_pb = ProtobufMessage() - ipfs_pb = ipfs_pb2.IpfsMessage() + ipfs_pb = ipfs_pb2.IpfsMessage() # type: ignore message_pb.ParseFromString(obj) message_id = message_pb.dialogue_message.message_id dialogue_reference = ( diff --git a/packages/valory/protocols/tendermint/__init__.py b/packages/valory/protocols/tendermint/__init__.py index 9d03351edc..6d3b64870a 100644 --- a/packages/valory/protocols/tendermint/__init__.py +++ b/packages/valory/protocols/tendermint/__init__.py @@ -20,7 +20,7 @@ """ This module contains the support resources for the tendermint protocol. -It was created with protocol buffer compiler version `libprotoc 3.19.4` and aea protocol generator version `1.0.0`. +It was created with protocol buffer compiler version `libprotoc 24.3` and aea protocol generator version `1.0.0`. """ from packages.valory.protocols.tendermint.message import TendermintMessage diff --git a/packages/valory/protocols/tendermint/message.py b/packages/valory/protocols/tendermint/message.py index cd6f31b927..0cdb5bf7c2 100644 --- a/packages/valory/protocols/tendermint/message.py +++ b/packages/valory/protocols/tendermint/message.py @@ -25,7 +25,7 @@ from aea.configurations.base import PublicId from aea.exceptions import AEAEnforceError, enforce -from aea.protocols.base import Message +from aea.protocols.base import Message # type: ignore from packages.valory.protocols.tendermint.custom_types import ( ErrorCode as CustomErrorCode, diff --git a/packages/valory/protocols/tendermint/protocol.yaml b/packages/valory/protocols/tendermint/protocol.yaml index 1cc5d8fd7f..264e5aedf5 100644 --- a/packages/valory/protocols/tendermint/protocol.yaml +++ b/packages/valory/protocols/tendermint/protocol.yaml @@ -9,13 +9,13 @@ license: Apache-2.0 aea_version: '>=1.0.0, <2.0.0' fingerprint: README.md: bafybeib23wtp5el2lu4vpq3uap7jiyhm5fmoofvv4sz54cvvqq6vsksra4 - __init__.py: bafybeibwqsohi3r243hocfaxlz7wjwk6pk6g5txfbty6jvol6itvnmzrxa + __init__.py: bafybeiboctjqylfltatp4vxvpzstbs6ytf5laadjzl76a2jszo6e4srntm custom_types.py: bafybeidbqm4h4fv24o3w6ueu4o3lyn5yaleyukahq7suvk6m2b6ydw4w3a dialogues.py: bafybeigtyur7v4dits7de37fx3xcgnlqaimbuzt3wehxt4vjmq3kowfnu4 - message.py: bafybeifosu5ckcnivuotfwsumly7mdjanwv7ia3z5rnmee7kqigtd7smo4 - serialization.py: bafybeif6erxpnajwu3mljxfwapdtqv6liknit3ykm5rrbx4uzq3w2cd3su + message.py: bafybeifdxejproeoci3movs3mb5dtnzxrqhqbz5so5buxittjnd5rwqlhi + serialization.py: bafybeifg26azix4i6dkhob3dfkc6rbgsftdt2issa753qdjzvnoqxldb4u tendermint.proto: bafybeiaqoltnijwje7iog7s3r4nbtly6rbfp6zwb2btnrw7xuenoxtobui - tendermint_pb2.py: bafybeiau3fzniclbm4rtziqhcof67b5jgzj4dk6uqniih742ivr6u4otua + tendermint_pb2.py: bafybeiay3q3pcvlitnhifh63vqkzvdyu4ywbbwj6vnoe5omqxmxg6gu25a tests/__init__.py: bafybeiguds53xs5tmygjd26a7xxilzdrgi2x262relfagdlvdzymacumie tests/test_tendermint.py: bafybeihnjxpkvgsclevn4bwi4qepw56vz554wox7gmhnjwobelbee7xpce tests/test_tendermint_dialogues.py: bafybeieoviq62cv62h4nglyr7qflzb32bjcvjbepmytgfpycuypnz3mriy diff --git a/packages/valory/protocols/tendermint/serialization.py b/packages/valory/protocols/tendermint/serialization.py index 3a10618e7c..89f8368edd 100644 --- a/packages/valory/protocols/tendermint/serialization.py +++ b/packages/valory/protocols/tendermint/serialization.py @@ -22,13 +22,16 @@ # pylint: disable=too-many-statements,too-many-locals,no-member,too-few-public-methods,redefined-builtin from typing import Any, Dict, cast -from aea.mail.base_pb2 import DialogueMessage -from aea.mail.base_pb2 import Message as ProtobufMessage -from aea.protocols.base import Message, Serializer +from aea.mail.base_pb2 import DialogueMessage # type: ignore +from aea.mail.base_pb2 import Message as ProtobufMessage # type: ignore +from aea.protocols.base import Message # type: ignore +from aea.protocols.base import Serializer # type: ignore -from packages.valory.protocols.tendermint import tendermint_pb2 -from packages.valory.protocols.tendermint.custom_types import ErrorCode -from packages.valory.protocols.tendermint.message import TendermintMessage +from packages.valory.protocols.tendermint import tendermint_pb2 # type: ignore +from packages.valory.protocols.tendermint.custom_types import ErrorCode # type: ignore +from packages.valory.protocols.tendermint.message import ( # type: ignore + TendermintMessage, +) class TendermintSerializer(Serializer): @@ -45,7 +48,7 @@ def encode(msg: Message) -> bytes: msg = cast(TendermintMessage, msg) message_pb = ProtobufMessage() dialogue_message_pb = DialogueMessage() - tendermint_msg = tendermint_pb2.TendermintMessage() + tendermint_msg = tendermint_pb2.TendermintMessage() # type: ignore dialogue_message_pb.message_id = msg.message_id dialogue_reference = msg.dialogue_reference @@ -105,7 +108,7 @@ def decode(obj: bytes) -> Message: :return: the 'Tendermint' message. """ message_pb = ProtobufMessage() - tendermint_pb = tendermint_pb2.TendermintMessage() + tendermint_pb = tendermint_pb2.TendermintMessage() # type: ignore message_pb.ParseFromString(obj) message_id = message_pb.dialogue_message.message_id dialogue_reference = ( diff --git a/packages/valory/protocols/tendermint/tendermint_pb2.py b/packages/valory/protocols/tendermint/tendermint_pb2.py index 182a7f3ba3..aa4355b03d 100644 --- a/packages/valory/protocols/tendermint/tendermint_pb2.py +++ b/packages/valory/protocols/tendermint/tendermint_pb2.py @@ -4,9 +4,8 @@ """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder # @@protoc_insertion_point(imports) @@ -18,131 +17,37 @@ b'\n\x10tendermint.proto\x12\x1c\x61\x65\x61.valory.tendermint.v0_1_0"\xad\t\n\x11TendermintMessage\x12S\n\x05\x65rror\x18\x05 \x01(\x0b\x32\x42.aea.valory.tendermint.v0_1_0.TendermintMessage.Error_PerformativeH\x00\x12\x61\n\x0cgenesis_info\x18\x06 \x01(\x0b\x32I.aea.valory.tendermint.v0_1_0.TendermintMessage.Genesis_Info_PerformativeH\x00\x12i\n\x10get_genesis_info\x18\x07 \x01(\x0b\x32M.aea.valory.tendermint.v0_1_0.TendermintMessage.Get_Genesis_Info_PerformativeH\x00\x12o\n\x13get_recovery_params\x18\x08 \x01(\x0b\x32P.aea.valory.tendermint.v0_1_0.TendermintMessage.Get_Recovery_Params_PerformativeH\x00\x12g\n\x0frecovery_params\x18\t \x01(\x0b\x32L.aea.valory.tendermint.v0_1_0.TendermintMessage.Recovery_Params_PerformativeH\x00\x1a\x8e\x01\n\tErrorCode\x12[\n\nerror_code\x18\x01 \x01(\x0e\x32G.aea.valory.tendermint.v0_1_0.TendermintMessage.ErrorCode.ErrorCodeEnum"$\n\rErrorCodeEnum\x12\x13\n\x0fINVALID_REQUEST\x10\x00\x1a\x44\n\x1dGet_Genesis_Info_Performative\x12\r\n\x05query\x18\x01 \x01(\t\x12\x14\n\x0cquery_is_set\x18\x02 \x01(\x08\x1aG\n Get_Recovery_Params_Performative\x12\r\n\x05query\x18\x01 \x01(\t\x12\x14\n\x0cquery_is_set\x18\x02 \x01(\x08\x1a)\n\x19Genesis_Info_Performative\x12\x0c\n\x04info\x18\x01 \x01(\t\x1a.\n\x1cRecovery_Params_Performative\x12\x0e\n\x06params\x18\x01 \x01(\t\x1a\x8f\x02\n\x12\x45rror_Performative\x12M\n\nerror_code\x18\x01 \x01(\x0b\x32\x39.aea.valory.tendermint.v0_1_0.TendermintMessage.ErrorCode\x12\x11\n\terror_msg\x18\x02 \x01(\t\x12\x65\n\nerror_data\x18\x03 \x03(\x0b\x32Q.aea.valory.tendermint.v0_1_0.TendermintMessage.Error_Performative.ErrorDataEntry\x1a\x30\n\x0e\x45rrorDataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x0e\n\x0cperformativeb\x06proto3' ) - -_TENDERMINTMESSAGE = DESCRIPTOR.message_types_by_name["TendermintMessage"] -_TENDERMINTMESSAGE_ERRORCODE = _TENDERMINTMESSAGE.nested_types_by_name["ErrorCode"] -_TENDERMINTMESSAGE_GET_GENESIS_INFO_PERFORMATIVE = ( - _TENDERMINTMESSAGE.nested_types_by_name["Get_Genesis_Info_Performative"] -) -_TENDERMINTMESSAGE_GET_RECOVERY_PARAMS_PERFORMATIVE = ( - _TENDERMINTMESSAGE.nested_types_by_name["Get_Recovery_Params_Performative"] -) -_TENDERMINTMESSAGE_GENESIS_INFO_PERFORMATIVE = _TENDERMINTMESSAGE.nested_types_by_name[ - "Genesis_Info_Performative" -] -_TENDERMINTMESSAGE_RECOVERY_PARAMS_PERFORMATIVE = ( - _TENDERMINTMESSAGE.nested_types_by_name["Recovery_Params_Performative"] -) -_TENDERMINTMESSAGE_ERROR_PERFORMATIVE = _TENDERMINTMESSAGE.nested_types_by_name[ - "Error_Performative" -] -_TENDERMINTMESSAGE_ERROR_PERFORMATIVE_ERRORDATAENTRY = ( - _TENDERMINTMESSAGE_ERROR_PERFORMATIVE.nested_types_by_name["ErrorDataEntry"] -) -_TENDERMINTMESSAGE_ERRORCODE_ERRORCODEENUM = ( - _TENDERMINTMESSAGE_ERRORCODE.enum_types_by_name["ErrorCodeEnum"] -) -TendermintMessage = _reflection.GeneratedProtocolMessageType( - "TendermintMessage", - (_message.Message,), - { - "ErrorCode": _reflection.GeneratedProtocolMessageType( - "ErrorCode", - (_message.Message,), - { - "DESCRIPTOR": _TENDERMINTMESSAGE_ERRORCODE, - "__module__": "tendermint_pb2" - # @@protoc_insertion_point(class_scope:aea.valory.tendermint.v0_1_0.TendermintMessage.ErrorCode) - }, - ), - "Get_Genesis_Info_Performative": _reflection.GeneratedProtocolMessageType( - "Get_Genesis_Info_Performative", - (_message.Message,), - { - "DESCRIPTOR": _TENDERMINTMESSAGE_GET_GENESIS_INFO_PERFORMATIVE, - "__module__": "tendermint_pb2" - # @@protoc_insertion_point(class_scope:aea.valory.tendermint.v0_1_0.TendermintMessage.Get_Genesis_Info_Performative) - }, - ), - "Get_Recovery_Params_Performative": _reflection.GeneratedProtocolMessageType( - "Get_Recovery_Params_Performative", - (_message.Message,), - { - "DESCRIPTOR": _TENDERMINTMESSAGE_GET_RECOVERY_PARAMS_PERFORMATIVE, - "__module__": "tendermint_pb2" - # @@protoc_insertion_point(class_scope:aea.valory.tendermint.v0_1_0.TendermintMessage.Get_Recovery_Params_Performative) - }, - ), - "Genesis_Info_Performative": _reflection.GeneratedProtocolMessageType( - "Genesis_Info_Performative", - (_message.Message,), - { - "DESCRIPTOR": _TENDERMINTMESSAGE_GENESIS_INFO_PERFORMATIVE, - "__module__": "tendermint_pb2" - # @@protoc_insertion_point(class_scope:aea.valory.tendermint.v0_1_0.TendermintMessage.Genesis_Info_Performative) - }, - ), - "Recovery_Params_Performative": _reflection.GeneratedProtocolMessageType( - "Recovery_Params_Performative", - (_message.Message,), - { - "DESCRIPTOR": _TENDERMINTMESSAGE_RECOVERY_PARAMS_PERFORMATIVE, - "__module__": "tendermint_pb2" - # @@protoc_insertion_point(class_scope:aea.valory.tendermint.v0_1_0.TendermintMessage.Recovery_Params_Performative) - }, - ), - "Error_Performative": _reflection.GeneratedProtocolMessageType( - "Error_Performative", - (_message.Message,), - { - "ErrorDataEntry": _reflection.GeneratedProtocolMessageType( - "ErrorDataEntry", - (_message.Message,), - { - "DESCRIPTOR": _TENDERMINTMESSAGE_ERROR_PERFORMATIVE_ERRORDATAENTRY, - "__module__": "tendermint_pb2" - # @@protoc_insertion_point(class_scope:aea.valory.tendermint.v0_1_0.TendermintMessage.Error_Performative.ErrorDataEntry) - }, - ), - "DESCRIPTOR": _TENDERMINTMESSAGE_ERROR_PERFORMATIVE, - "__module__": "tendermint_pb2" - # @@protoc_insertion_point(class_scope:aea.valory.tendermint.v0_1_0.TendermintMessage.Error_Performative) - }, - ), - "DESCRIPTOR": _TENDERMINTMESSAGE, - "__module__": "tendermint_pb2" - # @@protoc_insertion_point(class_scope:aea.valory.tendermint.v0_1_0.TendermintMessage) - }, -) -_sym_db.RegisterMessage(TendermintMessage) -_sym_db.RegisterMessage(TendermintMessage.ErrorCode) -_sym_db.RegisterMessage(TendermintMessage.Get_Genesis_Info_Performative) -_sym_db.RegisterMessage(TendermintMessage.Get_Recovery_Params_Performative) -_sym_db.RegisterMessage(TendermintMessage.Genesis_Info_Performative) -_sym_db.RegisterMessage(TendermintMessage.Recovery_Params_Performative) -_sym_db.RegisterMessage(TendermintMessage.Error_Performative) -_sym_db.RegisterMessage(TendermintMessage.Error_Performative.ErrorDataEntry) - +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "tendermint_pb2", _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None _TENDERMINTMESSAGE_ERROR_PERFORMATIVE_ERRORDATAENTRY._options = None _TENDERMINTMESSAGE_ERROR_PERFORMATIVE_ERRORDATAENTRY._serialized_options = b"8\001" - _TENDERMINTMESSAGE._serialized_start = 51 - _TENDERMINTMESSAGE._serialized_end = 1248 - _TENDERMINTMESSAGE_ERRORCODE._serialized_start = 582 - _TENDERMINTMESSAGE_ERRORCODE._serialized_end = 724 - _TENDERMINTMESSAGE_ERRORCODE_ERRORCODEENUM._serialized_start = 688 - _TENDERMINTMESSAGE_ERRORCODE_ERRORCODEENUM._serialized_end = 724 - _TENDERMINTMESSAGE_GET_GENESIS_INFO_PERFORMATIVE._serialized_start = 726 - _TENDERMINTMESSAGE_GET_GENESIS_INFO_PERFORMATIVE._serialized_end = 794 - _TENDERMINTMESSAGE_GET_RECOVERY_PARAMS_PERFORMATIVE._serialized_start = 796 - _TENDERMINTMESSAGE_GET_RECOVERY_PARAMS_PERFORMATIVE._serialized_end = 867 - _TENDERMINTMESSAGE_GENESIS_INFO_PERFORMATIVE._serialized_start = 869 - _TENDERMINTMESSAGE_GENESIS_INFO_PERFORMATIVE._serialized_end = 910 - _TENDERMINTMESSAGE_RECOVERY_PARAMS_PERFORMATIVE._serialized_start = 912 - _TENDERMINTMESSAGE_RECOVERY_PARAMS_PERFORMATIVE._serialized_end = 958 - _TENDERMINTMESSAGE_ERROR_PERFORMATIVE._serialized_start = 961 - _TENDERMINTMESSAGE_ERROR_PERFORMATIVE._serialized_end = 1232 - _TENDERMINTMESSAGE_ERROR_PERFORMATIVE_ERRORDATAENTRY._serialized_start = 1184 - _TENDERMINTMESSAGE_ERROR_PERFORMATIVE_ERRORDATAENTRY._serialized_end = 1232 + _globals["_TENDERMINTMESSAGE"]._serialized_start = 51 + _globals["_TENDERMINTMESSAGE"]._serialized_end = 1248 + _globals["_TENDERMINTMESSAGE_ERRORCODE"]._serialized_start = 582 + _globals["_TENDERMINTMESSAGE_ERRORCODE"]._serialized_end = 724 + _globals["_TENDERMINTMESSAGE_ERRORCODE_ERRORCODEENUM"]._serialized_start = 688 + _globals["_TENDERMINTMESSAGE_ERRORCODE_ERRORCODEENUM"]._serialized_end = 724 + _globals["_TENDERMINTMESSAGE_GET_GENESIS_INFO_PERFORMATIVE"]._serialized_start = 726 + _globals["_TENDERMINTMESSAGE_GET_GENESIS_INFO_PERFORMATIVE"]._serialized_end = 794 + _globals[ + "_TENDERMINTMESSAGE_GET_RECOVERY_PARAMS_PERFORMATIVE" + ]._serialized_start = 796 + _globals[ + "_TENDERMINTMESSAGE_GET_RECOVERY_PARAMS_PERFORMATIVE" + ]._serialized_end = 867 + _globals["_TENDERMINTMESSAGE_GENESIS_INFO_PERFORMATIVE"]._serialized_start = 869 + _globals["_TENDERMINTMESSAGE_GENESIS_INFO_PERFORMATIVE"]._serialized_end = 910 + _globals["_TENDERMINTMESSAGE_RECOVERY_PARAMS_PERFORMATIVE"]._serialized_start = 912 + _globals["_TENDERMINTMESSAGE_RECOVERY_PARAMS_PERFORMATIVE"]._serialized_end = 958 + _globals["_TENDERMINTMESSAGE_ERROR_PERFORMATIVE"]._serialized_start = 961 + _globals["_TENDERMINTMESSAGE_ERROR_PERFORMATIVE"]._serialized_end = 1232 + _globals[ + "_TENDERMINTMESSAGE_ERROR_PERFORMATIVE_ERRORDATAENTRY" + ]._serialized_start = 1184 + _globals[ + "_TENDERMINTMESSAGE_ERROR_PERFORMATIVE_ERRORDATAENTRY" + ]._serialized_end = 1232 # @@protoc_insertion_point(module_scope) diff --git a/packages/valory/services/counter/service.yaml b/packages/valory/services/counter/service.yaml index 06fdae0d11..c49c56e062 100644 --- a/packages/valory/services/counter/service.yaml +++ b/packages/valory/services/counter/service.yaml @@ -8,7 +8,7 @@ fingerprint: README.md: bafybeidoybzzjch4djhhafqm4e4jcrpaqmlthntcnonlsjtowwpykbc5xi fingerprint_ignore_patterns: [] number_of_agents: 1 -agent: valory/counter:0.1.0:bafybeigsajfhcox22vrlqsodmi6y5l2jwx7xnzhhu4wbguqoas22ooqafq +agent: valory/counter:0.1.0:bafybeifyl2rzgetpvlqe663chm4g7fjijg5ptaxcmdg4sy3rtiwmnniye4 deployment: {} --- public_id: valory/ledger:0.19.0 diff --git a/packages/valory/services/register_reset/service.yaml b/packages/valory/services/register_reset/service.yaml index d93315ba8e..bd7c7efcfd 100644 --- a/packages/valory/services/register_reset/service.yaml +++ b/packages/valory/services/register_reset/service.yaml @@ -1,7 +1,7 @@ name: register_reset author: valory version: 0.1.0 -agent: valory/register_reset:0.1.0:bafybeibit5dfccbcxxoexlwb36cro5imywlgm6cwc74jomu52ulrjucbhq +agent: valory/register_reset:0.1.0:bafybeic6anftulx3wjcllsf72eulgonpwux3iopzaiaj5paeju772kuc4e number_of_agents: 4 description: Test and debug tendermint reset mechanism. aea_version: '>=1.0.0, <2.0.0' diff --git a/packages/valory/skills/abstract_abci/skill.yaml b/packages/valory/skills/abstract_abci/skill.yaml index 99a4382910..54cc505d02 100644 --- a/packages/valory/skills/abstract_abci/skill.yaml +++ b/packages/valory/skills/abstract_abci/skill.yaml @@ -15,10 +15,10 @@ fingerprint: tests/test_handlers.py: bafybeieeuwtu35ddaevr2wgnk33l7kdhrx7ruoeb5jiltiyn65ufdcnopu fingerprint_ignore_patterns: [] connections: -- valory/abci:0.1.0:bafybeigqurc4jzjqjs4ptbfz4r4qk6ued2tdw4op3zjnal645fbk4aikya +- valory/abci:0.1.0:bafybeih6ei7q3vdsj57nb3f6dirccorj7izrxccjzys3seirzoalsj2fwq contracts: [] protocols: -- valory/abci:0.1.0:bafybeigootsvqpk6th5xpdtzanxum3earifrrezfyhylfrit7yvqdrtgpe +- valory/abci:0.1.0:bafybeihmzlmmb4pdo3zkhg6ehuyaa4lhw7bfpclln2o2z7v3o6fcep26iu skills: [] behaviours: {} handlers: diff --git a/packages/valory/skills/abstract_round_abci/__init__.py b/packages/valory/skills/abstract_round_abci/__init__.py index 48ce284dd8..aa07a64c8d 100644 --- a/packages/valory/skills/abstract_round_abci/__init__.py +++ b/packages/valory/skills/abstract_round_abci/__init__.py @@ -20,11 +20,6 @@ """This module contains an abstract round ABCI skill template for an AEA.""" # pragma: nocover from aea.configurations.base import PublicId # pragma: nocover -from hypothesis import settings # pragma: nocover PUBLIC_ID = PublicId.from_str("valory/abstract_round_abci:0.1.0") -CI = "CI" # pragma: nocover - - -settings.register_profile(CI, deadline=5000) # pragma: nocover diff --git a/packages/valory/skills/abstract_round_abci/skill.yaml b/packages/valory/skills/abstract_round_abci/skill.yaml index 9b8b9a9674..ffe06f6418 100644 --- a/packages/valory/skills/abstract_round_abci/skill.yaml +++ b/packages/valory/skills/abstract_round_abci/skill.yaml @@ -7,7 +7,7 @@ license: Apache-2.0 aea_version: '>=1.0.0, <2.0.0' fingerprint: README.md: bafybeievb7bhfm46p5adx3x4gvsynjpq35fcrrapzn5m2whcdt4ufxfvfq - __init__.py: bafybeicjyrltgdmwzvctebhfteyyd5mbrjashiji4glwf5vwcijuyzzm24 + __init__.py: bafybeibc6jsxgjjteyocsu45hu754dc2aqf5dc5bj7qyogx64ogg7qz7ni abci_app_chain.py: bafybeiflgwhyzkoqpgrvx3eol6p37l6jymccfqgz4hs35gh7zuptvetmh4 base.py: bafybeicaxcub5pbm24crg7qni4ls3mmtarm567mvxmbgw7ph2mtis6fd2q behaviour_utils.py: bafybeif5inyc6jwse4asqy7n2ulgbuut3a77rfme54b3sltv6a5ybcqjly @@ -27,7 +27,7 @@ fingerprint: test_tools/common.py: bafybeibxlx7es632kdoeivfrjahns3kknkxfmw4rj2dcxjwqm5j6vx25sq test_tools/integration.py: bafybeifqq3bx46hz2deph3usvrt7u45tpsapvocofd2zu3yh7rfl5nlmzq test_tools/rounds.py: bafybeie576yxtiramzt5czpt4hnv76gfetzio2t3k5kprhdhvbpfddbaem - tests/__init__.py: bafybeiebss5rdfh7tdbw2qi3tjpf6cjgwuonowsw6bimyosfie2ngxhhzy + tests/__init__.py: bafybeibrtwn3sbl7ynxjoiax64sh3wqtsjpcgemp5gbrtxpue7h5m3uamu tests/conftest.py: bafybeiauvmnuetxooprdsy3vlys3pha6x2rfg7acr3xrdfffr7onlmnave tests/data/__init__.py: bafybeifmqjnrqgbau4tshhdtrosru7xyjky72ljlrf3ynrk76fxjcsgfpi tests/data/dummy_abci/__init__.py: bafybeiaoqyjlgez5gkvutl22ihebcjk3zskve5gdt5wbap5zkmhehoddca @@ -60,23 +60,23 @@ fingerprint: utils.py: bafybeienx5y7er37rvluz5x5oirsephs6td4werjett5vaavrv6ohymzpm fingerprint_ignore_patterns: [] connections: -- valory/abci:0.1.0:bafybeigqurc4jzjqjs4ptbfz4r4qk6ued2tdw4op3zjnal645fbk4aikya -- valory/http_client:0.23.0:bafybeieoeuy4brzimtnubmokwirhrx27ezls6cdnl5qik4rkykfle3nn2y -- valory/ipfs:0.1.0:bafybeighbvg6if7bwswosgajlzgz36pwuyttu3vyfqgwi3xayvdxtl53lq -- valory/ledger:0.19.0:bafybeigfoz7d7si7s4jehvloq2zmiiocpbxcaathl3bxkyarxoerxq7g3a -- valory/p2p_libp2p_client:0.1.0:bafybeihdnfdth3qgltefgrem7xyi4b3ejzaz67xglm2hbma2rfvpl2annq +- valory/abci:0.1.0:bafybeih6ei7q3vdsj57nb3f6dirccorj7izrxccjzys3seirzoalsj2fwq +- valory/http_client:0.23.0:bafybeifgeqgryx6b3s6eseyzyezygmeitcpt3tkor2eiycozoi6clgdrny +- valory/ipfs:0.1.0:bafybeiaddby5hxegt2fk772fzn34zpwndyfk45rc3jqtblhtr2tbzcicua +- valory/ledger:0.19.0:bafybeiauyqzizmocjldnfuzvnihrqubfqzn5u2hp6ue7v3ka5kj54kd3zm +- valory/p2p_libp2p_client:0.1.0:bafybeihge56dn3xep2dzomu7rtvbgo4uc2qqh7ljl3fubqdi2lq44gs5lq contracts: -- valory/service_registry:0.1.0:bafybeift7qksgjuqh67abas3gfbfwwwvhv6tj3lvgzv5wc2nrlnoe65ba4 +- valory/service_registry:0.1.0:bafybeiamckrtlrydvoyelc6ldu5ke5uwrdxstzaeqstvg5r4uteriwmjka protocols: -- open_aea/signing:1.0.0:bafybeifuxs7gdg2okbn7uofymenjlmnih2wxwkym44lsgwmklgwuckxm2m -- valory/abci:0.1.0:bafybeigootsvqpk6th5xpdtzanxum3earifrrezfyhylfrit7yvqdrtgpe -- valory/contract_api:1.0.0:bafybeiasywsvax45qmugus5kxogejj66c5taen27h4voriodz7rgushtqa -- valory/http:1.0.0:bafybeia5bxdua2i6chw6pg47bvoljzcpuqxzy4rdrorbdmcbnwmnfdobtu -- valory/ipfs:0.1.0:bafybeibjzhsengtxfofqpxy6syamplevp35obemwfp4c5lhag3v2bvgysa -- valory/ledger_api:1.0.0:bafybeigsvceac33asd6ecbqev34meyyjwu3rangenv6xp5rkxyz4krvcby -- valory/tendermint:0.1.0:bafybeidjqmwvgi4rqgp65tbkhmi45fwn2odr5ecezw6q47hwitsgyw4jpa +- open_aea/signing:1.0.0:bafybeie7xyems76v5b4wc2lmaidcujizpxfzjnnwdeokmhje53g7ym25ii +- valory/abci:0.1.0:bafybeihmzlmmb4pdo3zkhg6ehuyaa4lhw7bfpclln2o2z7v3o6fcep26iu +- valory/contract_api:1.0.0:bafybeialhbjvwiwcnqq3ysxcyemobcbie7xza66gaofcvla5njezkvhcka +- valory/http:1.0.0:bafybeiejoqgv7finfxo3rcvvovrlj5ccrbgxodjq43uo26ylpowsa3llfe +- valory/ipfs:0.1.0:bafybeiedxeismnx3k5ty4mvvhlqideixlhqmi5mtcki4lxqfa7uqh7p33u +- valory/ledger_api:1.0.0:bafybeige5agrztgzfevyglf7mb4o7pzfttmq4f6zi765y4g2zvftbyowru +- valory/tendermint:0.1.0:bafybeig6g6twajlwssfbfp5rlnu5mwzuu5kgak5cs4fich7rlkx6whesnu skills: -- valory/abstract_abci:0.1.0:bafybeigopohwdk5m2kuk76dbwlokpdvxtxadgda5vq52i54ofpnndlwwuy +- valory/abstract_abci:0.1.0:bafybeidek3doh6cs3qw3hzgnqw65st2g5vhx5bgkdztyrer45wewttagui behaviours: main: args: {} @@ -145,11 +145,11 @@ dependencies: ipfshttpclient: version: ==0.8.0a2 open-aea-cli-ipfs: - version: ==1.39.0 + version: ==1.40.0 open-aea-test-autonomy: - version: ==0.12.1.post1 + version: ==0.13.0 protobuf: - version: <=3.20.1,>=3.19 + version: <5.0.0,>=4.21.6 py-ecc: version: ==6.0.0 pytest: diff --git a/packages/valory/skills/abstract_round_abci/tests/__init__.py b/packages/valory/skills/abstract_round_abci/tests/__init__.py index 1ede0e87d7..5ea3cb8b48 100644 --- a/packages/valory/skills/abstract_round_abci/tests/__init__.py +++ b/packages/valory/skills/abstract_round_abci/tests/__init__.py @@ -18,3 +18,10 @@ # ------------------------------------------------------------------------------ """Tests for valory/abstract_round_abci skill.""" + +from hypothesis import settings # pragma: nocover + + +CI = "CI" # pragma: nocover + +settings.register_profile(CI, deadline=5000) # pragma: nocover diff --git a/packages/valory/skills/counter/skill.yaml b/packages/valory/skills/counter/skill.yaml index 897f901a32..31b7a1f701 100644 --- a/packages/valory/skills/counter/skill.yaml +++ b/packages/valory/skills/counter/skill.yaml @@ -14,12 +14,12 @@ fingerprint: tests/test_counter.py: bafybeiazi36djqnjzu5t6rn72mngsmntoqz7z7wqa53z3lccgblgsycnbi fingerprint_ignore_patterns: [] connections: -- valory/abci:0.1.0:bafybeigqurc4jzjqjs4ptbfz4r4qk6ued2tdw4op3zjnal645fbk4aikya +- valory/abci:0.1.0:bafybeih6ei7q3vdsj57nb3f6dirccorj7izrxccjzys3seirzoalsj2fwq contracts: [] protocols: -- valory/abci:0.1.0:bafybeigootsvqpk6th5xpdtzanxum3earifrrezfyhylfrit7yvqdrtgpe +- valory/abci:0.1.0:bafybeihmzlmmb4pdo3zkhg6ehuyaa4lhw7bfpclln2o2z7v3o6fcep26iu skills: -- valory/abstract_abci:0.1.0:bafybeigopohwdk5m2kuk76dbwlokpdvxtxadgda5vq52i54ofpnndlwwuy +- valory/abstract_abci:0.1.0:bafybeidek3doh6cs3qw3hzgnqw65st2g5vhx5bgkdztyrer45wewttagui behaviours: {} handlers: abci: diff --git a/packages/valory/skills/counter_client/skill.yaml b/packages/valory/skills/counter_client/skill.yaml index 2455b11708..e9d8268d55 100644 --- a/packages/valory/skills/counter_client/skill.yaml +++ b/packages/valory/skills/counter_client/skill.yaml @@ -18,10 +18,10 @@ fingerprint: utils.py: bafybeihrzltjkh2pfkctsuanhtx234bwcqh6vdabkxzmp7qoyva3om5x7m fingerprint_ignore_patterns: [] connections: -- valory/http_client:0.23.0:bafybeieoeuy4brzimtnubmokwirhrx27ezls6cdnl5qik4rkykfle3nn2y +- valory/http_client:0.23.0:bafybeifgeqgryx6b3s6eseyzyezygmeitcpt3tkor2eiycozoi6clgdrny contracts: [] protocols: -- valory/http:1.0.0:bafybeia5bxdua2i6chw6pg47bvoljzcpuqxzy4rdrorbdmcbnwmnfdobtu +- valory/http:1.0.0:bafybeiejoqgv7finfxo3rcvvovrlj5ccrbgxodjq43uo26ylpowsa3llfe skills: [] behaviours: incrementer: diff --git a/packages/valory/skills/offend_abci/skill.yaml b/packages/valory/skills/offend_abci/skill.yaml index df3f406934..6f7bae80bc 100644 --- a/packages/valory/skills/offend_abci/skill.yaml +++ b/packages/valory/skills/offend_abci/skill.yaml @@ -27,7 +27,7 @@ connections: [] contracts: [] protocols: [] skills: -- valory/abstract_round_abci:0.1.0:bafybeicqwr73cs3vndzafrjrjpw63vvqbbjsur7ptek77hsw3lurnood5y +- valory/abstract_round_abci:0.1.0:bafybeiavfdmszwpotgdw5wd2imxcwsigygczvttxk5onswt72ipbdyjp3q behaviours: main: args: {} @@ -76,6 +76,7 @@ models: class_name: LedgerApiDialogues params: args: + blacklisted: false cleanup_history_depth: 1 cleanup_history_depth_current: null drand_public_key: 868f005eb8e6e4ca0a47c8a77ceaa5309a47978a7c71bc5cce96366b5d7a569937c529eeda66c7293784a9402801af31 @@ -96,9 +97,14 @@ models: - ed25519 version: {} voting_power: '10' + invalid_payload: false keeper_timeout: 30.0 + light_slash_unit_amount: 5000000000000000 max_attempts: 10 max_healthcheck: 120 + num_double_signed: 0 + num_light_client_attack: 0 + num_unknown: 0 on_chain_service_id: null request_retry_delay: 1.0 request_timeout: 10.0 @@ -107,6 +113,7 @@ models: retry_attempts: 400 retry_timeout: 3 round_timeout_seconds: 30.0 + serious_slash_unit_amount: 8000000000000000 service_id: offend_abci service_registry_address: null setup: @@ -115,26 +122,19 @@ models: safe_contract_address: '0x0000000000000000000000000000000000000000' consensus_threshold: null share_tm_config_on_startup: false + slash_cooldown_hours: 3 + slash_threshold_amount: 10000000000000000 sleep_time: 1 + suspected: false tendermint_check_sleep_delay: 3 tendermint_com_url: http://localhost:8080 tendermint_max_retries: 5 tendermint_p2p_url: localhost:26656 tendermint_url: http://localhost:26657 tx_timeout: 10.0 - use_termination: false use_slashing: false - slash_cooldown_hours: 3 - slash_threshold_amount: 10000000000000000 - light_slash_unit_amount: 5000000000000000 - serious_slash_unit_amount: 8000000000000000 + use_termination: false validator_downtime: false - invalid_payload: false - blacklisted: false - suspected: false - num_unknown: 0 - num_double_signed: 0 - num_light_client_attack: 0 class_name: OffendParams requests: args: {} diff --git a/packages/valory/skills/offend_slash_abci/skill.yaml b/packages/valory/skills/offend_slash_abci/skill.yaml index 95f82d2435..c2b63868d5 100644 --- a/packages/valory/skills/offend_slash_abci/skill.yaml +++ b/packages/valory/skills/offend_slash_abci/skill.yaml @@ -23,11 +23,11 @@ connections: [] contracts: [] protocols: [] skills: -- valory/abstract_round_abci:0.1.0:bafybeicqwr73cs3vndzafrjrjpw63vvqbbjsur7ptek77hsw3lurnood5y -- valory/registration_abci:0.1.0:bafybeiggzuqokgt7itc6ekb5ylmdylvfbhxqxylyz4p62qah2lkjstgdwe -- valory/offend_abci:0.1.0:bafybeibmlwjfv4ttq2htq2o2g3pef5t3pawgmdt5td6wt5axjxgowk3ezu -- valory/slashing_abci:0.1.0:bafybeih2q3hatumfrd2me75djo6vm6t5zjpn4pi4sx2dguyrymtg47vjru -- valory/reset_pause_abci:0.1.0:bafybeiblayblhp5wuirfomwcpgydg35ve5tfq3xxetlosjn47wva5ucmzy +- valory/abstract_round_abci:0.1.0:bafybeiavfdmszwpotgdw5wd2imxcwsigygczvttxk5onswt72ipbdyjp3q +- valory/offend_abci:0.1.0:bafybeicawxz5lvz3jjwyv772bwz44dqu333hb24r4e24fophrvq4bj3gw4 +- valory/registration_abci:0.1.0:bafybeifco5irvmx5kf76yiubaa42qkdx5kfph763vszwtwnqq2tqsic6wm +- valory/reset_pause_abci:0.1.0:bafybeiakssljjjlv4767hhsj6jzsy3bjyvp3xkgvugazfytjkygeuoedfi +- valory/slashing_abci:0.1.0:bafybeihpvmyzw2lbifvenn7r3qvh46njokrnji4gck4vfak6s7zhe3scqq behaviours: main: args: {} @@ -73,6 +73,7 @@ models: class_name: LedgerApiDialogues params: args: + blacklisted: false cleanup_history_depth: 1 cleanup_history_depth_current: null drand_public_key: 868f005eb8e6e4ca0a47c8a77ceaa5309a47978a7c71bc5cce96366b5d7a569937c529eeda66c7293784a9402801af31 @@ -96,11 +97,16 @@ models: voting_power: '10' history_check_timeout: 1205 init_fallback_gas: 0 + invalid_payload: false keeper_allowed_retries: 3 keeper_timeout: 30.0 + light_slash_unit_amount: 5000000000000000 max_attempts: 10 max_healthcheck: 120 multisend_address: null + num_double_signed: 0 + num_light_client_attack: 0 + num_unknown: 0 on_chain_service_id: null request_retry_delay: 1.0 request_timeout: 10.0 @@ -109,6 +115,7 @@ models: retry_attempts: 400 retry_timeout: 3 round_timeout_seconds: 15.0 + serious_slash_unit_amount: 8000000000000000 service_id: register_termination_abci service_registry_address: null setup: @@ -117,7 +124,10 @@ models: safe_contract_address: '0x77b783e911F4398D75908Cc60C7138Bd1eFe35Fd' consensus_threshold: null share_tm_config_on_startup: false + slash_cooldown_hours: 3 + slash_threshold_amount: 10000000000000000 sleep_time: 1 + suspected: false tendermint_check_sleep_delay: 3 tendermint_com_url: http://localhost:8080 tendermint_max_retries: 5 @@ -125,20 +135,10 @@ models: tendermint_url: http://localhost:26657 termination_sleep: 900 tx_timeout: 10.0 - use_termination: false use_slashing: true - slash_cooldown_hours: 3 - slash_threshold_amount: 10000000000000000 - light_slash_unit_amount: 5000000000000000 - serious_slash_unit_amount: 8000000000000000 + use_termination: false validate_timeout: 1205 validator_downtime: false - invalid_payload: false - blacklisted: false - suspected: false - num_unknown: 0 - num_double_signed: 0 - num_light_client_attack: 0 class_name: Params randomness_api: args: diff --git a/packages/valory/skills/register_reset_abci/skill.yaml b/packages/valory/skills/register_reset_abci/skill.yaml index d6f7382b5f..ca6d265c0a 100644 --- a/packages/valory/skills/register_reset_abci/skill.yaml +++ b/packages/valory/skills/register_reset_abci/skill.yaml @@ -24,9 +24,9 @@ connections: [] contracts: [] protocols: [] skills: -- valory/abstract_round_abci:0.1.0:bafybeicqwr73cs3vndzafrjrjpw63vvqbbjsur7ptek77hsw3lurnood5y -- valory/registration_abci:0.1.0:bafybeiggzuqokgt7itc6ekb5ylmdylvfbhxqxylyz4p62qah2lkjstgdwe -- valory/reset_pause_abci:0.1.0:bafybeiblayblhp5wuirfomwcpgydg35ve5tfq3xxetlosjn47wva5ucmzy +- valory/abstract_round_abci:0.1.0:bafybeiavfdmszwpotgdw5wd2imxcwsigygczvttxk5onswt72ipbdyjp3q +- valory/registration_abci:0.1.0:bafybeifco5irvmx5kf76yiubaa42qkdx5kfph763vszwtwnqq2tqsic6wm +- valory/reset_pause_abci:0.1.0:bafybeiakssljjjlv4767hhsj6jzsy3bjyvp3xkgvugazfytjkygeuoedfi behaviours: main: args: {} @@ -97,6 +97,7 @@ models: voting_power: '10' ipfs_domain_name: null keeper_timeout: 30.0 + light_slash_unit_amount: 5000000000000000 max_attempts: 10 max_healthcheck: 120 on_chain_service_id: null @@ -107,6 +108,7 @@ models: retry_attempts: 400 retry_timeout: 3 round_timeout_seconds: 15.0 + serious_slash_unit_amount: 8000000000000000 service_id: register_reset_abci service_registry_address: null setup: @@ -115,6 +117,8 @@ models: safe_contract_address: '0x0000000000000000000000000000000000000000' consensus_threshold: null share_tm_config_on_startup: false + slash_cooldown_hours: 3 + slash_threshold_amount: 10000000000000000 sleep_time: 1 tendermint_check_sleep_delay: 3 tendermint_com_url: http://localhost:8080 @@ -122,12 +126,8 @@ models: tendermint_p2p_url: localhost:26656 tendermint_url: http://localhost:26657 tx_timeout: 10.0 - use_termination: false use_slashing: false - slash_cooldown_hours: 3 - slash_threshold_amount: 10000000000000000 - light_slash_unit_amount: 5000000000000000 - serious_slash_unit_amount: 8000000000000000 + use_termination: false class_name: Params requests: args: {} diff --git a/packages/valory/skills/register_reset_recovery_abci/skill.yaml b/packages/valory/skills/register_reset_recovery_abci/skill.yaml index 73d01c9b56..64369075ca 100644 --- a/packages/valory/skills/register_reset_recovery_abci/skill.yaml +++ b/packages/valory/skills/register_reset_recovery_abci/skill.yaml @@ -26,8 +26,8 @@ connections: [] contracts: [] protocols: [] skills: -- valory/abstract_round_abci:0.1.0:bafybeicqwr73cs3vndzafrjrjpw63vvqbbjsur7ptek77hsw3lurnood5y -- valory/registration_abci:0.1.0:bafybeiggzuqokgt7itc6ekb5ylmdylvfbhxqxylyz4p62qah2lkjstgdwe +- valory/abstract_round_abci:0.1.0:bafybeiavfdmszwpotgdw5wd2imxcwsigygczvttxk5onswt72ipbdyjp3q +- valory/registration_abci:0.1.0:bafybeifco5irvmx5kf76yiubaa42qkdx5kfph763vszwtwnqq2tqsic6wm behaviours: main: args: {} @@ -97,6 +97,7 @@ models: version: {} voting_power: '10' keeper_timeout: 30.0 + light_slash_unit_amount: 5000000000000000 max_attempts: 10 max_healthcheck: 120 on_chain_service_id: null @@ -107,6 +108,7 @@ models: retry_attempts: 400 retry_timeout: 3 round_timeout_seconds: 15.0 + serious_slash_unit_amount: 8000000000000000 service_id: register_reset_recovery_abci service_registry_address: null setup: @@ -115,6 +117,8 @@ models: safe_contract_address: '0x0000000000000000000000000000000000000000' consensus_threshold: null share_tm_config_on_startup: true + slash_cooldown_hours: 3 + slash_threshold_amount: 10000000000000000 sleep_time: 1 tendermint_check_sleep_delay: 3 tendermint_com_url: http://localhost:8080 @@ -122,12 +126,8 @@ models: tendermint_p2p_url: localhost:26656 tendermint_url: http://localhost:26657 tx_timeout: 10.0 - use_termination: false use_slashing: false - slash_cooldown_hours: 3 - slash_threshold_amount: 10000000000000000 - light_slash_unit_amount: 5000000000000000 - serious_slash_unit_amount: 8000000000000000 + use_termination: false class_name: Params requests: args: {} diff --git a/packages/valory/skills/register_termination_abci/skill.yaml b/packages/valory/skills/register_termination_abci/skill.yaml index bfd72fee09..e5c6a1093e 100644 --- a/packages/valory/skills/register_termination_abci/skill.yaml +++ b/packages/valory/skills/register_termination_abci/skill.yaml @@ -23,10 +23,10 @@ connections: [] contracts: [] protocols: [] skills: -- valory/abstract_round_abci:0.1.0:bafybeicqwr73cs3vndzafrjrjpw63vvqbbjsur7ptek77hsw3lurnood5y -- valory/registration_abci:0.1.0:bafybeiggzuqokgt7itc6ekb5ylmdylvfbhxqxylyz4p62qah2lkjstgdwe -- valory/reset_pause_abci:0.1.0:bafybeiblayblhp5wuirfomwcpgydg35ve5tfq3xxetlosjn47wva5ucmzy -- valory/termination_abci:0.1.0:bafybeieqfhvk6klnvxak3vo2ibslkrnnk2bfsn5l3gbaelcprd6cjngxki +- valory/abstract_round_abci:0.1.0:bafybeiavfdmszwpotgdw5wd2imxcwsigygczvttxk5onswt72ipbdyjp3q +- valory/registration_abci:0.1.0:bafybeifco5irvmx5kf76yiubaa42qkdx5kfph763vszwtwnqq2tqsic6wm +- valory/reset_pause_abci:0.1.0:bafybeiakssljjjlv4767hhsj6jzsy3bjyvp3xkgvugazfytjkygeuoedfi +- valory/termination_abci:0.1.0:bafybeigddtcgeia5xkz4i6pnagvyrwotuef53vwq5ywppncbof3fph472u behaviours: main: args: {} @@ -97,6 +97,7 @@ models: init_fallback_gas: 0 keeper_allowed_retries: 3 keeper_timeout: 30.0 + light_slash_unit_amount: 5000000000000000 max_attempts: 10 max_healthcheck: 120 multisend_address: null @@ -108,6 +109,7 @@ models: retry_attempts: 400 retry_timeout: 3 round_timeout_seconds: 15.0 + serious_slash_unit_amount: 8000000000000000 service_id: register_termination_abci service_registry_address: null setup: @@ -116,6 +118,8 @@ models: safe_contract_address: '0x77b783e911F4398D75908Cc60C7138Bd1eFe35Fd' consensus_threshold: null share_tm_config_on_startup: false + slash_cooldown_hours: 3 + slash_threshold_amount: 10000000000000000 sleep_time: 300 tendermint_check_sleep_delay: 3 tendermint_com_url: http://localhost:8080 @@ -124,12 +128,8 @@ models: tendermint_url: http://localhost:26657 termination_sleep: 900 tx_timeout: 10.0 - use_termination: false use_slashing: false - slash_cooldown_hours: 3 - slash_threshold_amount: 10000000000000000 - light_slash_unit_amount: 5000000000000000 - serious_slash_unit_amount: 8000000000000000 + use_termination: false validate_timeout: 1205 class_name: Params randomness_api: diff --git a/packages/valory/skills/registration_abci/skill.yaml b/packages/valory/skills/registration_abci/skill.yaml index a2e9c13ff0..84a5de0678 100644 --- a/packages/valory/skills/registration_abci/skill.yaml +++ b/packages/valory/skills/registration_abci/skill.yaml @@ -24,15 +24,15 @@ fingerprint: tests/test_rounds.py: bafybeidk4d3w5csj6ka7mcq3ikjmv2yccbpwxhp27ujvd7huag3zl5vu2m fingerprint_ignore_patterns: [] connections: -- valory/p2p_libp2p_client:0.1.0:bafybeihdnfdth3qgltefgrem7xyi4b3ejzaz67xglm2hbma2rfvpl2annq +- valory/p2p_libp2p_client:0.1.0:bafybeihge56dn3xep2dzomu7rtvbgo4uc2qqh7ljl3fubqdi2lq44gs5lq contracts: -- valory/service_registry:0.1.0:bafybeift7qksgjuqh67abas3gfbfwwwvhv6tj3lvgzv5wc2nrlnoe65ba4 +- valory/service_registry:0.1.0:bafybeiamckrtlrydvoyelc6ldu5ke5uwrdxstzaeqstvg5r4uteriwmjka protocols: -- valory/contract_api:1.0.0:bafybeiasywsvax45qmugus5kxogejj66c5taen27h4voriodz7rgushtqa -- valory/http:1.0.0:bafybeia5bxdua2i6chw6pg47bvoljzcpuqxzy4rdrorbdmcbnwmnfdobtu -- valory/tendermint:0.1.0:bafybeidjqmwvgi4rqgp65tbkhmi45fwn2odr5ecezw6q47hwitsgyw4jpa +- valory/contract_api:1.0.0:bafybeialhbjvwiwcnqq3ysxcyemobcbie7xza66gaofcvla5njezkvhcka +- valory/http:1.0.0:bafybeiejoqgv7finfxo3rcvvovrlj5ccrbgxodjq43uo26ylpowsa3llfe +- valory/tendermint:0.1.0:bafybeig6g6twajlwssfbfp5rlnu5mwzuu5kgak5cs4fich7rlkx6whesnu skills: -- valory/abstract_round_abci:0.1.0:bafybeicqwr73cs3vndzafrjrjpw63vvqbbjsur7ptek77hsw3lurnood5y +- valory/abstract_round_abci:0.1.0:bafybeiavfdmszwpotgdw5wd2imxcwsigygczvttxk5onswt72ipbdyjp3q behaviours: main: args: {} @@ -102,6 +102,7 @@ models: version: {} voting_power: '10' keeper_timeout: 30.0 + light_slash_unit_amount: 5000000000000000 max_attempts: 10 max_healthcheck: 120 on_chain_service_id: null @@ -112,6 +113,7 @@ models: retry_attempts: 400 retry_timeout: 3 round_timeout_seconds: 30.0 + serious_slash_unit_amount: 8000000000000000 service_id: registration service_registry_address: null setup: @@ -120,6 +122,8 @@ models: safe_contract_address: '0x0000000000000000000000000000000000000000' consensus_threshold: null share_tm_config_on_startup: false + slash_cooldown_hours: 3 + slash_threshold_amount: 10000000000000000 sleep_time: 1 tendermint_check_sleep_delay: 3 tendermint_com_url: http://localhost:8080 @@ -127,12 +131,8 @@ models: tendermint_p2p_url: localhost:26656 tendermint_url: http://localhost:26657 tx_timeout: 10.0 - use_termination: false use_slashing: false - slash_cooldown_hours: 3 - slash_threshold_amount: 10000000000000000 - light_slash_unit_amount: 5000000000000000 - serious_slash_unit_amount: 8000000000000000 + use_termination: false class_name: Params requests: args: {} diff --git a/packages/valory/skills/reset_pause_abci/skill.yaml b/packages/valory/skills/reset_pause_abci/skill.yaml index f118b457ce..ba2529ecf8 100644 --- a/packages/valory/skills/reset_pause_abci/skill.yaml +++ b/packages/valory/skills/reset_pause_abci/skill.yaml @@ -26,7 +26,7 @@ connections: [] contracts: [] protocols: [] skills: -- valory/abstract_round_abci:0.1.0:bafybeicqwr73cs3vndzafrjrjpw63vvqbbjsur7ptek77hsw3lurnood5y +- valory/abstract_round_abci:0.1.0:bafybeiavfdmszwpotgdw5wd2imxcwsigygczvttxk5onswt72ipbdyjp3q behaviours: main: args: {} @@ -96,6 +96,7 @@ models: version: {} voting_power: '10' keeper_timeout: 30.0 + light_slash_unit_amount: 5000000000000000 max_attempts: 10 max_healthcheck: 120 on_chain_service_id: null @@ -106,10 +107,13 @@ models: retry_attempts: 400 retry_timeout: 3 round_timeout_seconds: 30.0 + serious_slash_unit_amount: 8000000000000000 service_id: reset_pause_abci service_registry_address: null setup: {} share_tm_config_on_startup: false + slash_cooldown_hours: 3 + slash_threshold_amount: 10000000000000000 sleep_time: 1 tendermint_check_sleep_delay: 3 tendermint_com_url: http://localhost:8080 @@ -117,12 +121,8 @@ models: tendermint_p2p_url: localhost:26656 tendermint_url: http://localhost:26657 tx_timeout: 10.0 - use_termination: false use_slashing: false - slash_cooldown_hours: 3 - slash_threshold_amount: 10000000000000000 - light_slash_unit_amount: 5000000000000000 - serious_slash_unit_amount: 8000000000000000 + use_termination: false class_name: Params requests: args: {} diff --git a/packages/valory/skills/slashing_abci/skill.yaml b/packages/valory/skills/slashing_abci/skill.yaml index bca7356233..949f02f36b 100644 --- a/packages/valory/skills/slashing_abci/skill.yaml +++ b/packages/valory/skills/slashing_abci/skill.yaml @@ -24,13 +24,13 @@ fingerprint: fingerprint_ignore_patterns: [] connections: [] contracts: -- valory/gnosis_safe:0.1.0:bafybeicetxwbgfqxcaoack7knljqo4i6up4nqgvm272eyqdqii4hcis5ri -- valory/service_registry:0.1.0:bafybeift7qksgjuqh67abas3gfbfwwwvhv6tj3lvgzv5wc2nrlnoe65ba4 +- valory/gnosis_safe:0.1.0:bafybeiaz2ybse2kym2bph5tf4uvx3qb3uxzxga4pn75gfqmzadtz6mxmdy +- valory/service_registry:0.1.0:bafybeiamckrtlrydvoyelc6ldu5ke5uwrdxstzaeqstvg5r4uteriwmjka protocols: -- valory/contract_api:1.0.0:bafybeiasywsvax45qmugus5kxogejj66c5taen27h4voriodz7rgushtqa +- valory/contract_api:1.0.0:bafybeialhbjvwiwcnqq3ysxcyemobcbie7xza66gaofcvla5njezkvhcka skills: -- valory/abstract_round_abci:0.1.0:bafybeicqwr73cs3vndzafrjrjpw63vvqbbjsur7ptek77hsw3lurnood5y -- valory/transaction_settlement_abci:0.1.0:bafybeicisazpyvnnzlqso3txiucxr5qhsa4ac7ius6b4mhouxr2wkadwfy +- valory/abstract_round_abci:0.1.0:bafybeiavfdmszwpotgdw5wd2imxcwsigygczvttxk5onswt72ipbdyjp3q +- valory/transaction_settlement_abci:0.1.0:bafybeigdg4qcvfowlu3eiwler7axdhmthngr54ulznutey43xzem45gpna behaviours: main: args: {} @@ -105,6 +105,7 @@ models: ipfs_domain_name: null keeper_allowed_retries: 3 keeper_timeout: 30.0 + light_slash_unit_amount: 5000000000000000 max_attempts: 10 max_healthcheck: 120 multisend_address: '0xA238CBeb142c10Ef7Ad8442C6D1f9E89e07e7761' @@ -116,10 +117,13 @@ models: retry_attempts: 400 retry_timeout: 3 round_timeout_seconds: 30.0 + serious_slash_unit_amount: 8000000000000000 service_id: termination_abci service_registry_address: '0x48b6af7B12C71f09e2fC8aF4855De4Ff54e775cA' setup: {} share_tm_config_on_startup: false + slash_cooldown_hours: 3 + slash_threshold_amount: 10000000000000000 sleep_time: 1 tendermint_check_sleep_delay: 3 tendermint_com_url: http://localhost:8080 @@ -128,12 +132,8 @@ models: tendermint_url: http://localhost:26657 termination_sleep: 900 tx_timeout: 10.0 - use_termination: false use_slashing: false - slash_cooldown_hours: 3 - slash_threshold_amount: 10000000000000000 - light_slash_unit_amount: 5000000000000000 - serious_slash_unit_amount: 8000000000000000 + use_termination: false validate_timeout: 1205 class_name: SlashingParams requests: diff --git a/packages/valory/skills/termination_abci/skill.yaml b/packages/valory/skills/termination_abci/skill.yaml index 267e6a1d8a..e8ea48b810 100644 --- a/packages/valory/skills/termination_abci/skill.yaml +++ b/packages/valory/skills/termination_abci/skill.yaml @@ -23,14 +23,14 @@ fingerprint: fingerprint_ignore_patterns: [] connections: [] contracts: -- valory/gnosis_safe:0.1.0:bafybeicetxwbgfqxcaoack7knljqo4i6up4nqgvm272eyqdqii4hcis5ri -- valory/multisend:0.1.0:bafybeidfktuprydtmi4umolfles5qaf7s3t26puvvs44hvkq6uwwr3ia3a -- valory/service_registry:0.1.0:bafybeift7qksgjuqh67abas3gfbfwwwvhv6tj3lvgzv5wc2nrlnoe65ba4 +- valory/gnosis_safe:0.1.0:bafybeiaz2ybse2kym2bph5tf4uvx3qb3uxzxga4pn75gfqmzadtz6mxmdy +- valory/multisend:0.1.0:bafybeig5byt5urg2d2bsecufxe5ql7f4mezg3mekfleeh32nmuusx66p4y +- valory/service_registry:0.1.0:bafybeiamckrtlrydvoyelc6ldu5ke5uwrdxstzaeqstvg5r4uteriwmjka protocols: -- valory/contract_api:1.0.0:bafybeiasywsvax45qmugus5kxogejj66c5taen27h4voriodz7rgushtqa +- valory/contract_api:1.0.0:bafybeialhbjvwiwcnqq3ysxcyemobcbie7xza66gaofcvla5njezkvhcka skills: -- valory/abstract_round_abci:0.1.0:bafybeicqwr73cs3vndzafrjrjpw63vvqbbjsur7ptek77hsw3lurnood5y -- valory/transaction_settlement_abci:0.1.0:bafybeicisazpyvnnzlqso3txiucxr5qhsa4ac7ius6b4mhouxr2wkadwfy +- valory/abstract_round_abci:0.1.0:bafybeiavfdmszwpotgdw5wd2imxcwsigygczvttxk5onswt72ipbdyjp3q +- valory/transaction_settlement_abci:0.1.0:bafybeigdg4qcvfowlu3eiwler7axdhmthngr54ulznutey43xzem45gpna behaviours: main: args: {} @@ -105,6 +105,7 @@ models: ipfs_domain_name: null keeper_allowed_retries: 3 keeper_timeout: 30.0 + light_slash_unit_amount: 5000000000000000 max_attempts: 10 max_healthcheck: 120 multisend_address: '0xA238CBeb142c10Ef7Ad8442C6D1f9E89e07e7761' @@ -116,10 +117,13 @@ models: retry_attempts: 400 retry_timeout: 3 round_timeout_seconds: 30.0 + serious_slash_unit_amount: 8000000000000000 service_id: termination_abci service_registry_address: '0x48b6af7B12C71f09e2fC8aF4855De4Ff54e775cA' setup: {} share_tm_config_on_startup: false + slash_cooldown_hours: 3 + slash_threshold_amount: 10000000000000000 sleep_time: 1 tendermint_check_sleep_delay: 3 tendermint_com_url: http://localhost:8080 @@ -128,12 +132,8 @@ models: tendermint_url: http://localhost:26657 termination_sleep: 900 tx_timeout: 10.0 - use_termination: false use_slashing: false - slash_cooldown_hours: 3 - slash_threshold_amount: 10000000000000000 - light_slash_unit_amount: 5000000000000000 - serious_slash_unit_amount: 8000000000000000 + use_termination: false validate_timeout: 1205 class_name: TerminationParams requests: diff --git a/packages/valory/skills/test_abci/skill.yaml b/packages/valory/skills/test_abci/skill.yaml index 78819264f7..89b24db8c7 100644 --- a/packages/valory/skills/test_abci/skill.yaml +++ b/packages/valory/skills/test_abci/skill.yaml @@ -26,8 +26,8 @@ connections: [] contracts: [] protocols: [] skills: -- valory/abstract_abci:0.1.0:bafybeigopohwdk5m2kuk76dbwlokpdvxtxadgda5vq52i54ofpnndlwwuy -- valory/abstract_round_abci:0.1.0:bafybeicqwr73cs3vndzafrjrjpw63vvqbbjsur7ptek77hsw3lurnood5y +- valory/abstract_abci:0.1.0:bafybeidek3doh6cs3qw3hzgnqw65st2g5vhx5bgkdztyrer45wewttagui +- valory/abstract_round_abci:0.1.0:bafybeiavfdmszwpotgdw5wd2imxcwsigygczvttxk5onswt72ipbdyjp3q behaviours: main: args: {} @@ -97,6 +97,7 @@ models: version: {} voting_power: '10' keeper_timeout: 30.0 + light_slash_unit_amount: 5000000000000000 max_attempts: 10 max_healthcheck: 120 on_chain_service_id: null @@ -107,6 +108,7 @@ models: retry_attempts: 400 retry_timeout: 3 round_timeout_seconds: 30.0 + serious_slash_unit_amount: 8000000000000000 service_id: test_abci service_registry_address: null setup: @@ -115,6 +117,8 @@ models: safe_contract_address: '0x0000000000000000000000000000000000000000' consensus_threshold: null share_tm_config_on_startup: false + slash_cooldown_hours: 3 + slash_threshold_amount: 10000000000000000 sleep_time: 1 tendermint_check_sleep_delay: 10 tendermint_com_url: http://localhost:8080 @@ -122,12 +126,8 @@ models: tendermint_p2p_url: localhost:26656 tendermint_url: http://localhost:26657 tx_timeout: 10.0 - use_termination: false use_slashing: false - slash_cooldown_hours: 3 - slash_threshold_amount: 10000000000000000 - light_slash_unit_amount: 5000000000000000 - serious_slash_unit_amount: 8000000000000000 + use_termination: false class_name: Params randomness_api: args: diff --git a/packages/valory/skills/test_ipfs_abci/skill.yaml b/packages/valory/skills/test_ipfs_abci/skill.yaml index 5a1f3f6923..2eb4f0100b 100644 --- a/packages/valory/skills/test_ipfs_abci/skill.yaml +++ b/packages/valory/skills/test_ipfs_abci/skill.yaml @@ -27,7 +27,7 @@ connections: [] contracts: [] protocols: [] skills: -- valory/abstract_round_abci:0.1.0:bafybeicqwr73cs3vndzafrjrjpw63vvqbbjsur7ptek77hsw3lurnood5y +- valory/abstract_round_abci:0.1.0:bafybeiavfdmszwpotgdw5wd2imxcwsigygczvttxk5onswt72ipbdyjp3q behaviours: main: args: {} @@ -101,6 +101,7 @@ models: init_fallback_gas: 0 keeper_allowed_retries: 3 keeper_timeout: 30.0 + light_slash_unit_amount: 5000000000000000 max_attempts: 10 max_healthcheck: 120 multisend_address: '0xA238CBeb142c10Ef7Ad8442C6D1f9E89e07e7761' @@ -112,6 +113,7 @@ models: retry_attempts: 400 retry_timeout: 3 round_timeout_seconds: 30.0 + serious_slash_unit_amount: 8000000000000000 service_id: test_ipfs_abci service_registry_address: null setup: @@ -120,6 +122,8 @@ models: safe_contract_address: '0x0000000000000000000000000000000000000000' consensus_threshold: null share_tm_config_on_startup: false + slash_cooldown_hours: 3 + slash_threshold_amount: 10000000000000000 sleep_time: 1 tendermint_check_sleep_delay: 3 tendermint_com_url: http://localhost:8080 @@ -128,12 +132,8 @@ models: tendermint_url: http://localhost:26657 termination_sleep: 900 tx_timeout: 10.0 - use_termination: false use_slashing: false - slash_cooldown_hours: 3 - slash_threshold_amount: 10000000000000000 - light_slash_unit_amount: 5000000000000000 - serious_slash_unit_amount: 8000000000000000 + use_termination: false validate_timeout: 1205 class_name: Params requests: diff --git a/packages/valory/skills/transaction_settlement_abci/skill.yaml b/packages/valory/skills/transaction_settlement_abci/skill.yaml index d1d873394d..30a6dca4ce 100644 --- a/packages/valory/skills/transaction_settlement_abci/skill.yaml +++ b/packages/valory/skills/transaction_settlement_abci/skill.yaml @@ -31,14 +31,14 @@ fingerprint: fingerprint_ignore_patterns: [] connections: [] contracts: -- valory/gnosis_safe:0.1.0:bafybeicetxwbgfqxcaoack7knljqo4i6up4nqgvm272eyqdqii4hcis5ri +- valory/gnosis_safe:0.1.0:bafybeiaz2ybse2kym2bph5tf4uvx3qb3uxzxga4pn75gfqmzadtz6mxmdy protocols: -- open_aea/signing:1.0.0:bafybeifuxs7gdg2okbn7uofymenjlmnih2wxwkym44lsgwmklgwuckxm2m -- valory/abci:0.1.0:bafybeigootsvqpk6th5xpdtzanxum3earifrrezfyhylfrit7yvqdrtgpe -- valory/contract_api:1.0.0:bafybeiasywsvax45qmugus5kxogejj66c5taen27h4voriodz7rgushtqa -- valory/ledger_api:1.0.0:bafybeigsvceac33asd6ecbqev34meyyjwu3rangenv6xp5rkxyz4krvcby +- open_aea/signing:1.0.0:bafybeie7xyems76v5b4wc2lmaidcujizpxfzjnnwdeokmhje53g7ym25ii +- valory/abci:0.1.0:bafybeihmzlmmb4pdo3zkhg6ehuyaa4lhw7bfpclln2o2z7v3o6fcep26iu +- valory/contract_api:1.0.0:bafybeialhbjvwiwcnqq3ysxcyemobcbie7xza66gaofcvla5njezkvhcka +- valory/ledger_api:1.0.0:bafybeige5agrztgzfevyglf7mb4o7pzfttmq4f6zi765y4g2zvftbyowru skills: -- valory/abstract_round_abci:0.1.0:bafybeicqwr73cs3vndzafrjrjpw63vvqbbjsur7ptek77hsw3lurnood5y +- valory/abstract_round_abci:0.1.0:bafybeiavfdmszwpotgdw5wd2imxcwsigygczvttxk5onswt72ipbdyjp3q behaviours: main: args: {} @@ -112,6 +112,7 @@ models: init_fallback_gas: 0 keeper_allowed_retries: 3 keeper_timeout: 30.0 + light_slash_unit_amount: 5000000000000000 max_attempts: 10 max_healthcheck: 120 on_chain_service_id: null @@ -122,10 +123,13 @@ models: retry_attempts: 400 retry_timeout: 3 round_timeout_seconds: 30.0 + serious_slash_unit_amount: 8000000000000000 service_id: registration service_registry_address: null setup: {} share_tm_config_on_startup: false + slash_cooldown_hours: 3 + slash_threshold_amount: 10000000000000000 sleep_time: 1 tendermint_check_sleep_delay: 3 tendermint_com_url: http://localhost:8080 @@ -133,12 +137,8 @@ models: tendermint_p2p_url: localhost:26656 tendermint_url: http://localhost:26657 tx_timeout: 10.0 - use_termination: false use_slashing: false - slash_cooldown_hours: 3 - slash_threshold_amount: 10000000000000000 - light_slash_unit_amount: 5000000000000000 - serious_slash_unit_amount: 8000000000000000 + use_termination: false validate_timeout: 1205 class_name: TransactionParams randomness_api: @@ -166,7 +166,7 @@ models: class_name: TendermintDialogues dependencies: open-aea-test-autonomy: - version: ==0.12.1.post1 - open-aea-web3: - version: ==6.0.1 + version: ==0.13.0 + web3: + version: <7,>=6.0.0 is_abstract: true diff --git a/plugins/aea-test-autonomy/aea_test_autonomy/configurations.py b/plugins/aea-test-autonomy/aea_test_autonomy/configurations.py index 20d4a96577..3e051b6a32 100644 --- a/plugins/aea-test-autonomy/aea_test_autonomy/configurations.py +++ b/plugins/aea-test-autonomy/aea_test_autonomy/configurations.py @@ -37,7 +37,7 @@ def get_key(key_path: Path) -> str: HTTP_LOCALHOST = f"http://{LOCALHOST}" DEFAULT_IMAGE_VERSION = "latest" -MATCHING_FRAMEWORK_VERSION = "0.12.1.post1" +MATCHING_FRAMEWORK_VERSION = "0.13.0" TENDERMINT_IMAGE_VERSION = os.environ.get( "TENDERMINT_IMAGE_VERSION", MATCHING_FRAMEWORK_VERSION ) diff --git a/plugins/aea-test-autonomy/setup.py b/plugins/aea-test-autonomy/setup.py index 1d062ab795..e8f629eeb2 100644 --- a/plugins/aea-test-autonomy/setup.py +++ b/plugins/aea-test-autonomy/setup.py @@ -24,15 +24,15 @@ base_deps = [ - "open-aea[all]>=1.39.0,<2.0.0", + "open-aea[all]>=1.40.0,<2.0.0", "pytest==7.2.1", - "open-aea-ledger-ethereum>=1.39.0,<2.0.0", + "open-aea-ledger-ethereum>=1.40.0,<2.0.0", "docker==6.1.2", ] setup( name="open-aea-test-autonomy", - version="0.12.1.post1", + version="0.13.0", author="Valory AG", license="Apache-2.0", description="Plugin containing test tools for open-autonomy packages.", diff --git a/setup.py b/setup.py index 0a9dd43726..6a71c5de98 100644 --- a/setup.py +++ b/setup.py @@ -32,9 +32,11 @@ def get_all_extras() -> Dict: cli_deps = [ "click==8.0.2", - "open-aea-cli-ipfs==1.39.0", + "open-aea-cli-ipfs==1.40.0", "texttable==1.6.7", "python-dotenv>=0.14.0,<0.18.0", + "pytest>=7.0.0,<7.3.0", + "coverage>=6.4.4,<8.0.0", ] extras = { @@ -51,14 +53,14 @@ def get_all_extras() -> Dict: base_deps = [ "Flask>=2.0.2,<3.0.0", - "open-aea[all]==1.39.0", - "pandas>=1.5.3", + "open-aea[all]==1.40.0", "watchdog>=2.1.6", "pytest==7.2.1", "valory-docker-compose==1.29.3", "werkzeug==2.0.3", "docker==6.1.2", "hexbytes", + "jsonschema<=4.19.0,>=4.16.0", ] base_deps.extend(all_extras["cli"]) diff --git a/skaffold.yaml b/skaffold.yaml index da54897443..cdaa93a2ec 100644 --- a/skaffold.yaml +++ b/skaffold.yaml @@ -1,5 +1,5 @@ .aea_version: &aea_version - AEA_VERSION: "1.39.0" + AEA_VERSION: "1.40.0" AUTHOR: "valory" .docker_args: &docker_args dockerfile: Dockerfile diff --git a/tests/test_autonomy/test_analyse/test_logs.py b/tests/test_autonomy/test_analyse/test_logs.py new file mode 100644 index 0000000000..29372bcc19 --- /dev/null +++ b/tests/test_autonomy/test_analyse/test_logs.py @@ -0,0 +1,72 @@ +# -*- coding: utf-8 -*- +# ------------------------------------------------------------------------------ +# +# Copyright 2023 Valory AG +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# ------------------------------------------------------------------------------ + +"""Test log parser.""" + +import tempfile +from pathlib import Path + +from autonomy.analyse.logs.collection import LogCollection + + +LOGS = """[2023-09-26 06:27:56,015] [INFO] [agent] Entered in the 'check_transaction_history_behaviour' behaviour +[2023-09-26 06:27:56,078] [ERROR] [agent] get_safe_nonce unsuccessful! Received: Message(sender=valory/ledger:0.19.0,to=valory/trader_abci:0.1.0,code=500,data=b'',dialogue_reference=('974278ff7b4e00019f7542a193987a8359b1c785d11a98a84bfaff2ea77b1e8f', '6b8e33fe183de2ac45e8d8f9625db5562b6230677fdc6995efc4ce05c798f83a'),message=Traceback (most recent call last): + + File "/usr/lib/python3.10/http/client.py", line 287, in _read_status + raise RemoteDisconnected("Remote end closed connection without" + +http.client.RemoteDisconnected: Remote end closed connection without response + + +During handling of the above exception, another exception occurred: + + +Traceback (most recent call last): + + File "/usr/lib/python3.10/http/client.py", line 287, in _read_status + raise RemoteDisconnected("Remote end closed connection without" + +urllib3.exceptions.ProtocolError: ('Connection aborted.', RemoteDisconnected('Remote end closed co,message_id=-1,performative=error,target=1) +[2023-09-26 06:27:56,103] [INFO] [agent] arrived block with timestamp: 2023-09-26 06:27:55.040545 +""" + +LOGS_CLEAN = """Entered in the 'check_transaction_history_behaviour' behaviour +get_safe_nonce unsuccessful! Received: Message(sender=valory/ledger:0.19.0,to=valory/trader_abci:0.1.0,code=500,data=b'',dialogue_reference=('974278ff7b4e00019f7542a193987a8359b1c785d11a98a84bfaff2ea77b1e8f', '6b8e33fe183de2ac45e8d8f9625db5562b6230677fdc6995efc4ce05c798f83a'),message=Traceback (most recent call last): +File "/usr/lib/python3.10/http/client.py", line 287, in _read_status +raise RemoteDisconnected("Remote end closed connection without" +http.client.RemoteDisconnected: Remote end closed connection without response +During handling of the above exception, another exception occurred: +Traceback (most recent call last): +File "/usr/lib/python3.10/http/client.py", line 287, in _read_status +raise RemoteDisconnected("Remote end closed connection without" +urllib3.exceptions.ProtocolError: ('Connection aborted.', RemoteDisconnected('Remote end closed co,message_id=-1,performative=error,target=1) +arrived block with timestamp: 2023-09-26 06:27:55.040545 +""" + + +def test_multiline_parse() -> None: + """Test multiline logs parsing.""" + + with tempfile.TemporaryDirectory() as temp_dir: + file = Path(temp_dir, "log.txt") + file.write_text(LOGS) + parsed = "\n".join(list(map(lambda x: x[2], LogCollection.parse(file=file)))) + + for line in LOGS_CLEAN.split("\n"): + assert line in parsed diff --git a/tests/test_autonomy/test_cli/test_analyse/test_verify_service.py b/tests/test_autonomy/test_cli/test_analyse/test_verify_service.py index 38aee5ac99..c5b6423746 100644 --- a/tests/test_autonomy/test_cli/test_analyse/test_verify_service.py +++ b/tests/test_autonomy/test_cli/test_analyse/test_verify_service.py @@ -674,8 +674,8 @@ def test_agent_var_validation(self) -> None: assert result.exit_code == 1, result.stdout assert ( - "(skill, valory/abci_skill:0.1.0) envrionment variable validation failed with following error" - "\n\t- `models.params.args.message` needs to be defined as a environment variable" + "(skill, valory/abci_skill:0.1.0) envrionment variable validation failed with following error\n\t- " + "`models.params.args.message` needs environment variable defined in following format ${ENV_VAR_NAME:DATA_TYPE:DEFAULT_VALUE}\n" in result.stderr ), result.stdout @@ -855,7 +855,7 @@ def test_on_chain_status_check_rpc_failure(self) -> None: class TestCheckSuccessful(BaseAnalyseServiceTest): """Test a successful check""" - def test_run(self) -> None: + def test_run(self, caplog: Any) -> None: """Test run.""" skill_config = get_dummy_overrides_skill(env_vars_with_name=True) @@ -900,8 +900,14 @@ def test_run(self) -> None: ), self.patch_get_on_chain_service_id(), mock.patch( "autonomy.analyse.service.get_service_info", return_value=(None, 4, None), + ), caplog.at_level( + logging.WARNING ): result = self.run_cli(commands=self.token_id_option) assert result.exit_code == 0, result.stderr assert "Service is ready to be deployed" in result.output + assert ( + "valory/termination_abci:any is not defined as a dependency" in caplog.text + ) + assert "valory/slashing_abci:any is not defined as a dependency" in caplog.text diff --git a/tests/test_autonomy/test_cli/test_helpers/test_chain_helpers.py b/tests/test_autonomy/test_cli/test_helpers/test_chain_helpers.py index 00c23e7f79..c77086d400 100644 --- a/tests/test_autonomy/test_cli/test_helpers/test_chain_helpers.py +++ b/tests/test_autonomy/test_cli/test_helpers/test_chain_helpers.py @@ -19,12 +19,13 @@ """Test chain helpers.""" +import tempfile +from pathlib import Path from unittest import mock import click import pytest from aea.configurations.data_types import PackageType -from aea_ledger_ethereum_hwi.hwi import EthereumHWIApi, EthereumHWICrypto from aea_test_autonomy.configurations import ETHEREUM_KEY_DEPLOYER from autonomy.chain.base import ServiceState @@ -54,6 +55,14 @@ _ = registry_contracts.service_manager +def _get_ledger_and_crypto_objects_patch() -> mock._patch: + return mock.patch.object( + OnChainHelper, + "get_ledger_and_crypto_objects", + return_value=(mock.MagicMock(), mock.MagicMock()), + ) + + class TestMintComponentMethod: """Test `mint_component` method.""" @@ -126,6 +135,128 @@ def test_missing_nft_hash( ).publish_metadata().mint_component() +class TestRequiredEnvVars: + """Test required env var check works.""" + + _component_failure = ( + "Addresses for following contracts are None, please set them using their respective environment variables\n" + "- Set `registries_manager` address using `CUSTOM_REGISTRIES_MANAGER_ADDRESS`\n" + "- Set `component_registry` address using `CUSTOM_COMPONENT_REGISTRY_ADDRESS`" + ) + + _service_failure = ( + "Addresses for following contracts are None, please set them using their respective environment variables\n" + "- Set `service_manager` address using `CUSTOM_SERVICE_MANAGER_ADDRESS`\n" + "- Set `service_registry` address using `CUSTOM_SERVICE_REGISTRY_ADDRESS`" + ) + + def test_component_mint(self) -> None: + """Test component mint env vars.""" + with _get_ledger_and_crypto_objects_patch(), pytest.raises( + click.ClickException, + match=self._component_failure, + ): + mint_helper = MintHelper( + chain_type=ChainType.CUSTOM, + key=ETHEREUM_KEY_DEPLOYER, + ) + mint_helper.mint_component() + + def test_component_update(self) -> None: + """Test component update env vars.""" + with _get_ledger_and_crypto_objects_patch(), pytest.raises( + click.ClickException, + match=self._component_failure, + ): + mint_helper = MintHelper( + chain_type=ChainType.CUSTOM, + key=ETHEREUM_KEY_DEPLOYER, + ) + mint_helper.update_component() + + def test_servic_mint(self) -> None: + """Test component update env vars.""" + with _get_ledger_and_crypto_objects_patch(), pytest.raises( + click.ClickException, + match=self._service_failure, + ): + mint_helper = MintHelper( + chain_type=ChainType.CUSTOM, + key=ETHEREUM_KEY_DEPLOYER, + ) + mint_helper.mint_service(1, 1, 1) + + def test_service_update(self) -> None: + """Test component update env vars.""" + with _get_ledger_and_crypto_objects_patch(), pytest.raises( + click.ClickException, + match=self._service_failure, + ): + mint_helper = MintHelper( + chain_type=ChainType.CUSTOM, + key=ETHEREUM_KEY_DEPLOYER, + ) + mint_helper.update_service(1, 1, 1) + + def test_activate_service(self) -> None: + """Test component update env vars.""" + with _get_ledger_and_crypto_objects_patch(), pytest.raises( + click.ClickException, + match=self._service_failure, + ): + mint_helper = ServiceHelper( + service_id=1, + chain_type=ChainType.CUSTOM, + key=ETHEREUM_KEY_DEPLOYER, + ) + mint_helper.check_is_service_token_secured().activate_service() + + def test_register_instances(self) -> None: + """Test component update env vars.""" + with _get_ledger_and_crypto_objects_patch(), pytest.raises( + click.ClickException, + match=self._service_failure, + ): + mint_helper = ServiceHelper( + service_id=1, + chain_type=ChainType.CUSTOM, + key=ETHEREUM_KEY_DEPLOYER, + ) + mint_helper.check_is_service_token_secured().register_instance(["0x"], [1]) + + def test_deploy_instances(self) -> None: + """Test component update env vars.""" + with _get_ledger_and_crypto_objects_patch(), pytest.raises( + click.ClickException, + match=( + "Addresses for following contracts are None, please set them using their respective environment variables\n" + "- Set `service_manager` address using `CUSTOM_SERVICE_MANAGER_ADDRESS`\n" + "- Set `service_registry` address using `CUSTOM_SERVICE_REGISTRY_ADDRESS`\n" + "- Set `gnosis_safe_proxy_factory` address using `CUSTOM_GNOSIS_SAFE_PROXY_FACTORY_ADDRESS`\n" + "- Set `gnosis_safe_same_address_multisig` address using `CUSTOM_GNOSIS_SAFE_SAME_ADDRESS_MULTISIG_ADDRESS`" + ), + ): + mint_helper = ServiceHelper( + service_id=1, + chain_type=ChainType.CUSTOM, + key=ETHEREUM_KEY_DEPLOYER, + ) + mint_helper.check_is_service_token_secured().deploy_service() + + def test_unbond(self) -> None: + """Test component update env vars.""" + with _get_ledger_and_crypto_objects_patch(), pytest.raises( + click.ClickException, + match=self._service_failure, + ): + mint_helper = ServiceHelper( + service_id=1, + chain_type=ChainType.CUSTOM, + key=ETHEREUM_KEY_DEPLOYER, + ) + mint_helper.check_is_service_token_secured().unbond_service() + + @pytest.mark.parametrize( argnames=("state", "error"), argvalues=( @@ -224,8 +355,10 @@ def test_unbond_service_contract_failure() -> None: ).unbond_service() +@pytest.mark.skip(reason="https://github.com/valory-xyz/open-aea/issues/671") def test_get_ledger_and_crypto_objects() -> None: """Test `get_ledger_and_crypto_objects` for hardware wallet support""" + from aea_ledger_ethereum_hwi.hwi import EthereumHWIApi, EthereumHWICrypto with mock.patch.object(EthereumHWICrypto, "entity"): ledger_api, crypto = OnChainHelper.get_ledger_and_crypto_objects( @@ -306,3 +439,53 @@ def test_verify_service_dependencies_failures() -> None: ).verify_service_dependencies( agent_id=1 ) + + +def test_token_secure_check_on_custom_chain() -> None: + """Test token_secure is False on custom chain.""" + + with _get_ledger_and_crypto_objects_patch(): + service_helper = ServiceHelper( + service_id=1, chain_type=ChainType.CUSTOM, key=ETHEREUM_KEY_DEPLOYER + ) + assert service_helper.check_is_service_token_secured().token_secured is False + + +def test_mint_with_token_on_custom_chain() -> None: + """Test minting with token on L2 chains fail.""" + + with _get_ledger_and_crypto_objects_patch(), pytest.raises( + click.ClickException, match="Cannot use custom token for bonding on L2 chains" + ): + MintHelper( # nosec + chain_type=ChainType.CUSTOM, key=ETHEREUM_KEY_DEPLOYER + ).mint_service( + number_of_slots=1, + cost_of_bond=1, + threshold=1, + token="0x", + ) + + +@pytest.mark.parametrize( + argnames="key", + argvalues=( + "0xdf57089febbacf7ba0bc227dafbffa9fc08a93fdc68e1e42411a14efcf23656e\n", + "df57089febbacf7ba0bc227dafbffa9fc08a93fdc68e1e42411a14efcf23656", + "0x9fe46736679d2d9a65f0992f2272de9f3c7fa6e0", + ), +) +def test_wrong_private_key_format(key: str) -> None: + """Test an error is raised if the private key format is wrong.""" + with tempfile.TemporaryDirectory() as temp_dir, pytest.raises( + click.ClickException, + match=( + "Cannot load private key for following possible reasons\n" + "- Wrong key format\n" + "- Wrong key length\n" + "- Trailing spaces or new line characters" + ), + ): + file = Path(temp_dir, "key.txt") + file.write_text(key) + OnChainHelper.load_crypto(file=file) diff --git a/tests/test_autonomy/test_cli/test_helpers/test_fsm_spec.py b/tests/test_autonomy/test_cli/test_helpers/test_fsm_spec.py index 5823971ed8..32e29eeba6 100644 --- a/tests/test_autonomy/test_cli/test_helpers/test_fsm_spec.py +++ b/tests/test_autonomy/test_cli/test_helpers/test_fsm_spec.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # ------------------------------------------------------------------------------ # -# Copyright 2022 Valory AG +# Copyright 2022-2023 Valory AG # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -116,7 +116,9 @@ def test_check_one_raises() -> None: target = "autonomy.cli.helpers.fsm_spec.check_unreferenced_events" with mock.patch(target, return_value=["Event.WIN_LOTTERY"]): - expected = "Event reference check failed with .*" + expected = ( + "Unreferenced events found in `HelloWorldAbciApp`\n- Event.WIN_LOTTERY" + ) with pytest.raises(DFASpecificationError, match=expected): check_one(package_path) diff --git a/tests/test_autonomy/test_cli/test_mint/test_mint_components.py b/tests/test_autonomy/test_cli/test_mint/test_mint_components.py index a760eb0e65..de607c9dfd 100644 --- a/tests/test_autonomy/test_cli/test_mint/test_mint_components.py +++ b/tests/test_autonomy/test_cli/test_mint/test_mint_components.py @@ -30,6 +30,7 @@ from autonomy.chain.config import ChainConfigs from autonomy.chain.mint import registry_contracts +from autonomy.chain.service import activate_service from tests.test_autonomy.test_chain.base import ( BaseChainInteractionTest, @@ -207,6 +208,55 @@ def test_mint_service( assert f"Token ID: {token_id}" in result.output self.verify_and_remove_metadata_file(token_id=token_id) + def test_update_service_failure( + self, + ) -> None: + """Test mint components.""" + with mock.patch("autonomy.cli.helpers.chain.verify_component_dependencies"): + agent_id = self.mint_component(package_id=DUMMY_AGENT, dependencies=[1]) + + commands = [ + DUMMY_SERVICE.package_type.value, + str( + DUMMY_PACKAGE_MANAGER.package_path_from_package_id( + package_id=DUMMY_SERVICE + ) + ), + "--key", + str(ETHEREUM_KEY_DEPLOYER), + "-a", + str(agent_id), + *DEFAULT_SERVICE_MINT_PARAMETERS[2:], + ] + + result = self.run_cli(commands=tuple(commands)) + + assert result.exit_code == 0, result + assert "Service minted with:" in result.output + assert "Metadata Hash:" in result.output + assert "Token ID:" in result.output + + token_id = self.extract_token_id_from_output(output=result.output) + self.verify_minted_token_id( + token_id=token_id, + package_id=DUMMY_SERVICE, + ) + activate_service( + ledger_api=self.ledger_api, + crypto=self.crypto, + chain_type=self.chain_type, + service_id=token_id, + ) + + commands += ["--update", str(token_id)] + result = self.run_cli(commands=tuple(commands)) + assert result.exit_code == 1, result.stdout + assert ( + "Cannot update service hash, service needs to be in the pre-registration state" + in result.stderr + ) + self.verify_and_remove_metadata_file(token_id=token_id) + def test_mint_service_with_owner( self, ) -> None: diff --git a/tests/test_autonomy/test_cli/test_service/test_service_manager.py b/tests/test_autonomy/test_cli/test_service/test_service_manager.py index b0ea428939..e421a75fd7 100644 --- a/tests/test_autonomy/test_cli/test_service/test_service_manager.py +++ b/tests/test_autonomy/test_cli/test_service/test_service_manager.py @@ -23,6 +23,7 @@ from typing import List, Optional from unittest import mock +import pytest from aea.components.base import load_aea_package from aea.configurations.data_types import PackageType from aea.configurations.loader import load_configuration_object @@ -117,7 +118,6 @@ def register_instances( def deploy_service( self, service_id: int, - deployment_payload: Optional[str] = None, reuse_multisig: bool = False, ) -> None: """Deploy service.""" @@ -127,7 +127,6 @@ def deploy_service( crypto=self.crypto, chain_type=self.chain_type, service_id=service_id, - deployment_payload=deployment_payload, reuse_multisig=reuse_multisig, ) @@ -738,11 +737,16 @@ def remove_owners(self, multisig_address: str, owners: List[Crypto]) -> None: tx_digest = self.ledger_api.send_signed_transaction(stx) self.ledger_api.get_transaction_receipt(tx_digest) - def test_redeploy(self) -> None: + @pytest.mark.parametrize( + argnames="n_owners", + argvalues=(1, 2), + ) + def test_redeploy(self, n_owners: int) -> None: """Test redeploy service with same multisig.""" - n = 2 - instances = self.generate_and_fund_keys(n=n) - service_id = self.mint_service(number_of_slots_per_agent=n, threshold=n) + instances = self.generate_and_fund_keys(n=n_owners) + service_id = self.mint_service( + number_of_slots_per_agent=n_owners, threshold=n_owners + ) self.activate_service(service_id=service_id) for instance in instances: self.register_instances( @@ -758,7 +762,7 @@ def test_redeploy(self) -> None: ) self.remove_owners(multisig_address=multisig_address, owners=instances) - new_instances = self.generate_and_fund_keys(n=n) + new_instances = self.generate_and_fund_keys(n=n_owners) self.activate_service(service_id=service_id) for instance in new_instances: self.register_instances( diff --git a/tests/test_autonomy/test_images/test_autonomy.py b/tests/test_autonomy/test_images/test_autonomy.py index 8bc8cb46a7..81a14dc966 100644 --- a/tests/test_autonomy/test_images/test_autonomy.py +++ b/tests/test_autonomy/test_images/test_autonomy.py @@ -62,4 +62,4 @@ def test_image(self) -> None: container.wait() - assert b"requirements.txt" in container.logs() + assert b"scripts" in container.logs() diff --git a/tests/test_autonomy/test_images/test_autonomy_user.py b/tests/test_autonomy/test_images/test_autonomy_user.py index c5c2114ade..eeb6c75c2c 100644 --- a/tests/test_autonomy/test_images/test_autonomy_user.py +++ b/tests/test_autonomy/test_images/test_autonomy_user.py @@ -36,7 +36,7 @@ @pytest.mark.skip( reason=( - "Temporary skip untile we figure out the volume size issue" + "Temporary skip untile we figure out the volume size issue " "https://forums.docker.com/t/error-response-from-daemon-error-creating-overlay-mount-to-var-lib-docker-overlay2-merged-no-such-file-or-directory-error-failed-to-start-containers-mydocker/123365" ) ) diff --git a/tests/test_base.py b/tests/test_base.py index de648a6c0a..73e3aae862 100644 --- a/tests/test_base.py +++ b/tests/test_base.py @@ -62,7 +62,7 @@ def get_test_files(package_type: PackageType) -> List[Path]: def test_version() -> None: """Test the version.""" - assert autonomy.__version__ == "0.12.1.post1" + assert autonomy.__version__ == "0.13.0" @pytest.mark.parametrize( diff --git a/tox.ini b/tox.ini index ff380305ce..b8a5654cb5 100644 --- a/tox.ini +++ b/tox.ini @@ -15,10 +15,10 @@ deps = docker==6.1.2 valory-docker-compose==1.29.3 Flask==2.0.2 - open-aea[all]==1.39.0 - open-aea-cli-ipfs==1.39.0 - open-aea-ledger-ethereum==1.39.0 - open-aea-ledger-ethereum-hwi==1.39.0 + open-aea[all]==1.40.0 + open-aea-cli-ipfs==1.40.0 + open-aea-ledger-ethereum==1.40.0 + open-aea-ledger-ethereum-hwi==1.40.0 Werkzeug==2.0.3 requests==2.28.2 texttable==1.6.7 @@ -35,7 +35,7 @@ deps = aiohttp<3.8,>=3.7.4 asn1crypto<1.5.0,>=1.4.0 ecdsa>=0.15 - open-aea-web3==6.0.1 + web3<7,>=6.0.0 certifi multidict eth_typing @@ -44,14 +44,11 @@ deps = hexbytes packaging pytest-asyncio - open-aea-ledger-cosmos==1.39.0 - open-aea-cosmpy==0.6.5 + open-aea-ledger-cosmos==1.40.0 + open-aea-cosmpy==0.6.6 grpcio==1.53.0 hypothesis==6.21.6 - numpy>=1.21.6 - pandas==1.5.3 - pandas-stubs==1.2.0.62 - protobuf<=3.20.1,>=3.19 + protobuf<5.0.0,>=4.21.6 pytz==2022.2.1 py-ecc==6.0.0 python-dotenv>=0.14.0,<0.18.0 @@ -62,12 +59,13 @@ deps = eth-utils==2.2.0 eth-abi==4.0.0 pycryptodome==3.18.0 + jsonschema<=4.19.0,>=4.16.0 docker==6.1.2 Flask==2.0.2 - open-aea[all]==1.39.0 - open-aea-ledger-ethereum==1.39.0 - open-aea-ledger-ethereum-hwi==1.39.0 - open-aea-cli-ipfs==1.39.0 + open-aea[all]==1.40.0 + open-aea-ledger-ethereum==1.40.0 + open-aea-ledger-ethereum-hwi==1.40.0 + open-aea-cli-ipfs==1.40.0 ipfshttpclient==0.8.0a2 Werkzeug==2.0.3 watchdog>=2.1.6 @@ -592,7 +590,7 @@ filterwarnings = ignore::DeprecationWarning ignore:.*MismatchedABI ignore:.*cannot collect test class 'TestAbciApp' - ignore:.*cannot collect test class 'TestAbciConsensusBehaviour + ignore:.*cannot collect test class 'TestAbciConsensusBehaviour' [flake8] paths=autonomy,packages,scripts,tests @@ -749,12 +747,6 @@ ignore_missing_imports = True [mypy-web3.*] ignore_missing_imports = True -[mypy-numpy.*] -ignore_missing_imports = True - -[mypy-pandas.*] -ignore_missing_imports = True - [mypy-_pytest.*] ignore_missing_imports = True