-
Notifications
You must be signed in to change notification settings - Fork 240
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into version-restore
Signed-off-by: mmsqe <mavis@crypto.com>
- Loading branch information
Showing
7 changed files
with
144 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
local config = import 'default.jsonnet'; | ||
|
||
config { | ||
'cronos_777-1'+: { | ||
validators: [validator { | ||
client_config: { | ||
'broadcast-mode': 'sync', | ||
}, | ||
} for validator in super.validators], | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
from pathlib import Path | ||
|
||
import pytest | ||
|
||
from .network import setup_custom_cronos | ||
from .utils import submit_any_proposal | ||
|
||
|
||
@pytest.fixture(scope="module") | ||
def custom_cronos(tmp_path_factory): | ||
path = tmp_path_factory.mktemp("cronos") | ||
yield from setup_custom_cronos( | ||
path, 26400, Path(__file__).parent / "configs/broadcast.jsonnet" | ||
) | ||
|
||
|
||
def test_submit_any_proposal(custom_cronos, tmp_path): | ||
submit_any_proposal(custom_cronos, tmp_path, True) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters