Skip to content

Conversation

@chopin-fan
Copy link
Contributor

@chopin-fan chopin-fan commented Dec 20, 2024

For Issue: #3612
For issue #3610
For issue #3614

chopin-fan and others added 30 commits September 3, 2024 08:36
2. Add an execution limit for inline transactions
3. Improve compatibility in inline method validation.
@vizipi
Copy link

vizipi bot commented Dec 20, 2024

Pull request analysis by VIZIPI

Below you will find who is the most qualified team member to review your code.
This analysis includes his/her work on the code included in this Pull request, in addition to their experience in code affected by these changes ( partly found within the list of potential missing files below )   Feedback always welcome

Reviewers with knowledge related to these changes

Match % Person Commit Count Common Files
60.71% eanzhao 116 34
57.14% dongqiangaelf 26 32
55.36% gldeng 54 31
48.21% jason-hoopox 118 27
42.86% ZhangXin 113 24
25.00% louis.li 59 14

Potential missing files from this Pull request

No commonly committed files found with a 40% threashold


Committed file ranks

(click to expand)
  • 51.92%[...test/AElf.Kernel.Core.Tests/Extensions/TransactionExtensi]
  • 58.37%[...src/AElf.Sdk.CSharp.Internal/AElf.Sdk.CSharp.Internal.csp]
  • 0.00%[src/AElf.Runtime.CSharp/TransactionConsts.cs]
  • 90.80%[global.json]
  • 98.57%[AElf.All.sln]
  • 99.38%[...contract/AElf.Contracts.Consensus.AEDPoS/AEDPoSContract_P]
  • 95.99%[...src/AElf.CSharp.CodeOps/Validators/Whitelist/IWhitelistPr]
  • 82.87%[src/AElf.Runtime.CSharp.Core/ContractCodeLoadContext.cs]
  • 97.66%[...src/AElf.Kernel.SmartContract/AElf.Kernel.SmartContract.c]
  • 99.32%[test/AElf.Sdk.CSharp.Tests/AElf.Sdk.CSharp.Tests.csproj]
  • @codecov
    Copy link

    codecov bot commented Dec 20, 2024

    Codecov Report

    Attention: Patch coverage is 64.84375% with 45 lines in your changes missing coverage. Please review.

    Project coverage is 73.43%. Comparing base (4deeae5) to head (3688493).
    Report is 101 commits behind head on master.

    Files with missing lines Patch % Lines
    src/AElf.Cryptography/Bn254/Bn254Helper.cs 0.00% 23 Missing ⚠️
    src/AElf.Cryptography/EdDSA/EdDsaHelper.cs 0.00% 9 Missing ⚠️
    ...AElf.Contracts.MultiToken/TokenContract_Actions.cs 70.83% 7 Missing ⚠️
    src/AElf.Cryptography/Keccak/KeccakHelper.cs 0.00% 3 Missing ⚠️
    ...ps/Validators/Module/ContractStructureValidator.cs 0.00% 2 Missing ⚠️
    src/AElf.Types/Types/BigIntValue.cs 97.05% 1 Missing ⚠️
    Additional details and impacted files

    Impacted file tree graph

    @@            Coverage Diff             @@
    ##           master    #3630      +/-   ##
    ==========================================
    + Coverage   73.30%   73.43%   +0.12%     
    ==========================================
      Files         677      680       +3     
      Lines       26104    26229     +125     
      Branches     2353     2358       +5     
    ==========================================
    + Hits        19136    19261     +125     
      Misses       6815     6815              
      Partials      153      153              
    Flag Coverage Δ
    ?

    Flags with carried forward coverage won't be shown. Click here to find out more.

    Files with missing lines Coverage Δ
    ...DPoS/AEDPoSContract_ProcessConsensusInformation.cs 80.43% <100.00%> (+0.17%) ⬆️
    ...CSharp.CodeOps/Validators/Method/ArrayValidator.cs 95.17% <100.00%> (ø)
    ...CodeOps/Validators/Whitelist/IWhitelistProvider.cs 100.00% <100.00%> (ø)
    ...Application/IExecutionObserverThresholdProvider.cs 100.00% <100.00%> (ø)
    ...tion.Chain/Services/TransactionResultAppService.cs 0.00% <ø> (ø)
    src/AElf.Types/Types/BigIntValue.cs 58.91% <97.05%> (+58.91%) ⬆️
    ...ps/Validators/Module/ContractStructureValidator.cs 82.68% <0.00%> (-0.94%) ⬇️
    src/AElf.Cryptography/Keccak/KeccakHelper.cs 0.00% <0.00%> (ø)
    ...AElf.Contracts.MultiToken/TokenContract_Actions.cs 72.34% <70.83%> (-0.07%) ⬇️
    src/AElf.Cryptography/EdDSA/EdDsaHelper.cs 0.00% <0.00%> (ø)
    ... and 1 more

    ... and 1 file with indirect coverage changes

    🚀 New features to boost your workflow:
    • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

    .Type(typeof(SecretSharingHelper), Permission.Denied, member => member
    .Member(nameof(SecretSharingHelper.DecodeSecret), Permission.Allowed)));
    .Member(nameof(SecretSharingHelper.DecodeSecret), Permission.Allowed)
    .Member(nameof(SecretSharingHelper.Ed25519Verify), Permission.Allowed)
    Copy link
    Contributor

    Choose a reason for hiding this comment

    The reason will be displayed to describe this comment to others. Learn more.

    add a new helper,not SecretSharingHelper

    Copy link
    Contributor Author

    Choose a reason for hiding this comment

    The reason will be displayed to describe this comment to others. Learn more.

    add a new helper,not SecretSharingHelper
    new helpers has been added

    Copy link
    Contributor

    @eanzhao eanzhao left a comment

    Choose a reason for hiding this comment

    The reason will be displayed to describe this comment to others. Learn more.

    LGTM

    @JimAelf JimAelf merged commit 1c65ebd into master Jan 8, 2025
    11 checks passed
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Labels

    None yet

    Projects

    None yet

    Development

    Successfully merging this pull request may close these issues.

    6 participants