File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -161,13 +161,14 @@ ExtraArgsCodecSVM_Test:test__decodeSVMExecutorArgsV1_MaxBitmap() (gas: 12164)
161161ExtraArgsCodecSVM_Test:test__decodeSVMExecutorArgsV1_WithAccounts() (gas: 13940)
162162ExtraArgsCodecSui_Test:test__decodeSuiExecutorArgsV1_WithObjectIds() (gas: 12760)
163163ExtraArgsCodecSui_Test:test__ecodeSuiExecutorArgsV1_NoObjectIds() (gas: 11272)
164- ExtraArgsCodecV3_Test:test_GetBasicEncodedExtraArgsV3_ReturnsCorrectLength() (gas: 4600)
165164ExtraArgsCodecV3_Test:test__decodeGenericExtraArgsV3_Basic() (gas: 19910)
166- ExtraArgsCodecV3_Test:test__decodeGenericExtraArgsV3_MaxValues() (gas: 18706)
167- ExtraArgsCodecV3_Test:test__decodeGenericExtraArgsV3_WithCCVs() (gas: 33226)
168- ExtraArgsCodecV3_Test:test__decodeGenericExtraArgsV3_WithExecutor() (gas: 22058)
169- ExtraArgsCodecV3_Test:test__decodeGenericExtraArgsV3_WithTokenArgs() (gas: 22791)
170- ExtraArgsCodecV3_Test:test__decodeGenericExtraArgsV3_ZeroValues() (gas: 18884)
165+ ExtraArgsCodecV3_Test:test__decodeGenericExtraArgsV3_MaxValues() (gas: 18750)
166+ ExtraArgsCodecV3_Test:test__decodeGenericExtraArgsV3_WithCCVs() (gas: 33248)
167+ ExtraArgsCodecV3_Test:test__decodeGenericExtraArgsV3_WithExecutor() (gas: 22102)
168+ ExtraArgsCodecV3_Test:test__decodeGenericExtraArgsV3_WithTokenArgs() (gas: 22835)
169+ ExtraArgsCodecV3_Test:test__decodeGenericExtraArgsV3_ZeroValues() (gas: 18928)
170+ ExtraArgsCodecV3_Test:test__getBasicEncodedExtraArgsV3FastConfirmationRule() (gas: 4438)
171+ ExtraArgsCodecV3_Test:test__getBasicEncodedExtraArgsV3_ReturnsCorrectLength() (gas: 3984)
171172ExtraArgsCodec_Test:test_GENERIC_EXTRA_ARGS_V3_TAG_keccak256_tag() (gas: 3298)
172173ExtraArgsCodec_Test:test__encodeGenericExtraArgsV3_AllDynamicArgsDefaultValues() (gas: 22105)
173174ExtraArgsCodec_Test:test__encodeGenericExtraArgsV3_ExecutorNonZeroAddress() (gas: 24035)
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ contract ExtraArgsCodecV3_Test is BaseTest {
2828 });
2929 }
3030
31- function test_GetBasicEncodedExtraArgsV3_ReturnsCorrectLength () public pure {
31+ function test__getBasicEncodedExtraArgsV3_ReturnsCorrectLength () public pure {
3232 bytes memory encoded = ExtraArgsCodec._getBasicEncodedExtraArgsV3BlockDepth (GAS_LIMIT, 12 );
3333 assertEq (encoded.length , ExtraArgsCodec.GENERIC_EXTRA_ARGS_V3_BASE_SIZE);
3434
@@ -39,6 +39,11 @@ contract ExtraArgsCodecV3_Test is BaseTest {
3939 assertEq (tag, ExtraArgsCodec.GENERIC_EXTRA_ARGS_V3_TAG);
4040 }
4141
42+ function test__getBasicEncodedExtraArgsV3FastConfirmationRule () public pure {
43+ bytes memory encoded = ExtraArgsCodec._getBasicEncodedExtraArgsV3FastConfirmationRule (GAS_LIMIT);
44+ assertEq (encoded, ExtraArgsCodec._getBasicEncodedExtraArgsV3 (GAS_LIMIT, FinalityCodec.WAIT_FOR_SAFE_FLAG));
45+ }
46+
4247 function test__decodeGenericExtraArgsV3_Basic () public view {
4348 ExtraArgsCodec.GenericExtraArgsV3 memory args = _emptyArgs ();
4449 args.requestedFinalityConfig = FinalityCodec._encodeBlockDepth (12 );
You can’t perform that action at this time.
0 commit comments