diff --git a/.github/workflows/contract.yml b/.github/workflows/contract.yml index a631f5e7..b4fa931b 100644 --- a/.github/workflows/contract.yml +++ b/.github/workflows/contract.yml @@ -78,8 +78,8 @@ jobs: with: owner: AntelopeIO repo: leap - target: 'v3.1.3' - prereleases: false + target: 'v4.0' + prereleases: true file: 'leap-dev.*(x86_64|amd64).deb' container-package: experimental-binaries token: ${{ secrets.GITHUB_TOKEN }} diff --git a/contract/tests/basic_evm_tester.hpp b/contract/tests/basic_evm_tester.hpp index a4db6066..34aa1731 100644 --- a/contract/tests/basic_evm_tester.hpp +++ b/contract/tests/basic_evm_tester.hpp @@ -247,7 +247,7 @@ class speculative_block_starter // object. explicit speculative_block_starter(Tester& tester, uint32_t time_gap_sec = 0) : t(tester) { - t.control->start_block(t.control->head_block_time() + fc::milliseconds(500 + 1000 * time_gap_sec), 0); + t.control->start_block(t.control->head_block_time() + fc::milliseconds(500 + 1000 * time_gap_sec), 0, {}, controller::block_status::incomplete); } speculative_block_starter(speculative_block_starter&& other) : t(other.t) { other.canceled = true; } diff --git a/contract/tests/mapping_tests.cpp b/contract/tests/mapping_tests.cpp index ce664060..dc3bfd86 100644 --- a/contract/tests/mapping_tests.cpp +++ b/contract/tests/mapping_tests.cpp @@ -242,7 +242,7 @@ try { // Now actually commit the init action into a block to do further testing on top of that state in later blocks. { - control->start_block(control->head_block_time() + fc::milliseconds(500), 0); + control->start_block(control->head_block_time() + fc::milliseconds(500), 0, {}, controller::block_status::incomplete); BOOST_REQUIRE_EQUAL(control->pending_block_time().sec_since_epoch(), bm.genesis_timestamp); init();