From 7e5a45eb903ccd09134e73fee6dec71bd45e3fe3 Mon Sep 17 00:00:00 2001 From: nicolas <48695862+merklefruit@users.noreply.github.com> Date: Tue, 24 Sep 2024 11:43:51 +0200 Subject: [PATCH] feat: add gas snapshot --- bolt-contracts/.gas-snapshot | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 bolt-contracts/.gas-snapshot diff --git a/bolt-contracts/.gas-snapshot b/bolt-contracts/.gas-snapshot new file mode 100644 index 000000000..786d038ac --- /dev/null +++ b/bolt-contracts/.gas-snapshot @@ -0,0 +1,31 @@ +BoltChallengerTest:testCommitmentDigestAndSignature() (gas: 19654) +BoltChallengerTest:testCommitmentSignature() (gas: 18809) +BoltChallengerTest:testOpenAlreadyExistingChallenge() (gas: 408366) +BoltChallengerTest:testOpenChallenge() (gas: 412831) +BoltChallengerTest:testOpenChallengeInvalidSignature() (gas: 33962) +BoltChallengerTest:testOpenChallengeWithInsufficientBond() (gas: 28044) +BoltChallengerTest:testOpenChallengeWithLargebond() (gas: 400923) +BoltChallengerTest:testOpenChallengeWithSlotInTheFuture() (gas: 28441) +BoltChallengerTest:testProveAccountData() (gas: 775453) +BoltChallengerTest:testProveHeaderData() (gas: 60225) +BoltChallengerTest:testProveTransactionInclusion() (gas: 374619) +BoltChallengerTest:testResolveChallengeFullDefense() (gas: 1349418) +BoltManagerEigenLayerTest:testGetNonExistentProposerStatus() (gas: 921620) +BoltManagerEigenLayerTest:testGetWhitelistedCollaterals() (gas: 99988) +BoltManagerEigenLayerTest:testNonWhitelistedCollateral() (gas: 103013) +BoltManagerEigenLayerTest:testProposersLookaheadStatus() (gas: 2142632) +BoltManagerEigenLayerTest:test_deregisterEigenLayerOperatorFromAVS() (gas: 898067) +BoltManagerEigenLayerTest:test_getEigenLayerOperatorStake() (gas: 935483) +BoltManagerEigenLayerTest:test_getEigenLayerProposerStatus() (gas: 938074) +BoltManagerTest:testGetNonExistentProposerStatus() (gas: 1197534) +BoltManagerTest:testGetProposerStatus() (gas: 1431371) +BoltManagerTest:testGetWhitelistedCollaterals() (gas: 16818) +BoltManagerTest:testNonWhitelistedCollateral() (gas: 41889) +BoltManagerTest:testProposersLookaheadStatus() (gas: 2421869) +BoltManagerTest:testReadOperatorStake() (gas: 1520048) +BoltValidatorsTest:testUnsafeRegistration() (gas: 145625) +BoltValidatorsTest:testUnsafeRegistrationFailsIfAlreadyRegistered() (gas: 143729) +BoltValidatorsTest:testUnsafeRegistrationInvalidCollateralProvider() (gas: 18821) +BoltValidatorsTest:testUnsafeRegistrationInvalidOperator() (gas: 19050) +BoltValidatorsTest:testUnsafeRegistrationWhenNotAllowed() (gas: 22565) +TransactionDecoderTest:testDecodeAllTestCases() (gas: 35608872) \ No newline at end of file