Skip to content

Commit

Permalink
Updated chainspec to be compatible with casper-execution-engine 7.0.3
Browse files Browse the repository at this point in the history
Updated github actions to use the latest version of artifact management
actions.
  • Loading branch information
kubaplas committed Sep 20, 2024
1 parent efbe1ff commit bb2b851
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/evaluate-benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
id: set-benchmark-filename
run: echo "BASE_BENCHMARK=${GITHUB_BASE_REF}" | sed 's:/:-:g' | sed 's:\.:-:g' >> $GITHUB_OUTPUT
- name: Download base benchmark report for ${{ github.base_ref }}
uses: dawidd6/action-download-artifact@v3
uses: dawidd6/action-download-artifact@v4
with:
name: ${{ steps.set-benchmark-filename.outputs.BASE_BENCHMARK }}
branch: ${{ github.base_ref }}
Expand All @@ -54,7 +54,7 @@ jobs:
issue-number: ${{ github.event.number }}
body-path: benchmark/benchmark_report.txt
- name: Upload full report artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: benchmark-report
path: benchmark/benchmark_full_report.txt
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ Changelog for `odra`.
- `OdraContract` trait grouping module-related structures.
### Changed
- `Deployer` is no longer implemented for `HostRef` but for `OdraContract`.
- `chainspec.toml` file has been updated to be compatible with the latest version
of `casper-execution-engine`.

## [1.2.0] - 2024-07-30
### Added
Expand Down
8 changes: 5 additions & 3 deletions odra-casper/test-vm/resources/chainspec.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[protocol]
# Protocol version.
version = '1.5.6'
version = '1.5.8'
# Whether we need to clear latest blocks back to the switch block just before the activation point or not.
hard_reset = true
# This protocol version becomes active at this point.
Expand Down Expand Up @@ -70,6 +70,8 @@ max_associated_keys = 100
max_runtime_call_stack_height = 12
# Minimum allowed delegation amount in motes
minimum_delegation_amount = 500_000_000_000
# Minimum allowed bid amount in motes
minimum_bid_amount = 10_000_000_000_000
# Global state prune batch size (0 = this feature is off)
prune_batch_size = 0
# Enables strict arguments checking when calling a contract; i.e. that all non-optional args are provided and of the correct `CLType`.
Expand Down Expand Up @@ -265,7 +267,7 @@ wasmless_transfer_cost = 100_000_000
[system_costs.auction_costs]
get_era_validators = 10_000
read_seigniorage_recipients = 10_000
add_bid = 2_500_000_000
add_bid = 5_000_000_000_000
withdraw_bid = 2_500_000_000
delegate = 2_500_000_000
undelegate = 2_500_000_000
Expand Down Expand Up @@ -294,4 +296,4 @@ get_refund_purse = 10_000
finalize_payment = 10_000

[system_costs.standard_payment_costs]
pay = 10_000
pay = 10_000

0 comments on commit bb2b851

Please sign in to comment.