Skip to content

Conversation

MalteHerrmann
Copy link
Contributor

@MalteHerrmann MalteHerrmann commented Jul 2, 2024

This PR extends the contract compilation utilities to account for the common pattern we have in the precompiles subdirectories where the interface files are usually accompanied by an abi.json file instead of one that holds the same file name as the corresponding .sol file.

Summary by CodeRabbit

  • New Features

    • Improved contract compilation to include ABI JSON files for better contract metadata management.
  • Refactor

    • Reorganized the structure of ABI JSON files for multiple contracts, adding important metadata fields.
  • Chores

    • Updated Makefile to ensure a more efficient compilation process by reordering operations.
    • Modified various import statements and function calls to streamline ABI loading and error handling across different contract files.
  • Tests

    • Enhanced test coverage by including new assertions for additional contract files and paths.

Copy link
Contributor

coderabbitai bot commented Jul 2, 2024

Walkthrough

The major changes span across the utilities and build process for contract compilation, emphasizing the inclusion of abi.json files. Modifications to Go utilities center around adding new functions and refining ABI handling, while restructuring JSON formats in several abi.json files. The Makefile's contracts-all target sequence was reordered, and the script & test updates accommodate new ABI checks and additional contract paths.

Changes

Files/Paths Change Summary
CHANGELOG.md Documented change details including additions and adjustments
Makefile Changed the order of operations in contracts-all target
contracts/utils/utils.go Added and modified utility functions for contract conversions
precompiles/.../abi.json Restructured JSON format and added metadata fields to various ABIs
precompiles/.../abi.go Refined ABI loading to use new utility functions
precompiles/.../contract.go Updated ABI loading method and related error handling
precompiles/vesting/testdata/VestingCaller.sol Changed import statement from Vesting.sol to VestingI.sol
scripts/compile_smart_contracts/compile_smart_contracts.py Added ABI JSON file checks and adjusted error message formatting
scripts/compile_smart_contracts/test_compile_smart_contracts.py Added assertions for new staking contracts and paths

Poem

Amid the code, a rabbit dashes,
ABI files with new formats splashes.
Utilities now sharper, swift and bright,
Contracts compile in ordered might.
With JSON neat and tidy, we deploy,
In blockchain lands, code flows with joy.

Tip

AI model upgrade

gpt-4o model for reviews and chat is now live

OpenAI claims that this model is better at understanding and generating code than the previous models. Please join our Discord Community to provide any feedback or to report any issues.


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share
Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (invoked as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Configration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@MalteHerrmann MalteHerrmann marked this pull request as ready for review July 2, 2024 11:56
@MalteHerrmann MalteHerrmann requested a review from a team as a code owner July 2, 2024 11:56
@MalteHerrmann MalteHerrmann requested review from hanchon and GAtom22 and removed request for a team July 2, 2024 11:56
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

Outside diff range and nitpick comments (1)
scripts/compile_smart_contracts/compile_smart_contracts.py (1)

Line range hint 105-105: Fix the formatting issue

Remove the unnecessary space between @ and pytest.fixture.

- @ pytest.fixture
+ @pytest.fixture
Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between fff1fb1 and 9842934.

Files selected for processing (21)
  • CHANGELOG.md (1 hunks)
  • Makefile (1 hunks)
  • contracts/utils/utils.go (2 hunks)
  • precompiles/bank/abi.json (1 hunks)
  • precompiles/bech32/abi.json (1 hunks)
  • precompiles/common/abi.go (3 hunks)
  • precompiles/distribution/abi.json (1 hunks)
  • precompiles/distribution/distribution.go (2 hunks)
  • precompiles/erc20/abi.json (1 hunks)
  • precompiles/ics20/abi.json (1 hunks)
  • precompiles/ics20/ics20.go (2 hunks)
  • precompiles/staking/abi.json (1 hunks)
  • precompiles/testutil/contracts/InterchainSender.json (1 hunks)
  • precompiles/vesting/abi.json (1 hunks)
  • precompiles/vesting/testdata/VestingCaller.json (1 hunks)
  • precompiles/vesting/testdata/VestingCaller.sol (1 hunks)
  • precompiles/vesting/vesting.go (3 hunks)
  • precompiles/werc20/abi.json (1 hunks)
  • scripts/compile_smart_contracts/compile_smart_contracts.py (5 hunks)
  • scripts/compile_smart_contracts/test_compile_smart_contracts.py (4 hunks)
  • x/evm/statedb/testdata/FlashLoan.json (1 hunks)
Files not summarized due to errors (4)
  • precompiles/staking/abi.json: Error: Message exceeds token limit
  • precompiles/testutil/contracts/InterchainSender.json: Error: Message exceeds token limit
  • precompiles/vesting/testdata/VestingCaller.json: Error: Message exceeds token limit
  • x/evm/statedb/testdata/FlashLoan.json: Error: Message exceeds token limit
Files skipped from review due to trivial changes (7)
  • Makefile
  • precompiles/bank/abi.json
  • precompiles/bech32/abi.json
  • precompiles/distribution/abi.json
  • precompiles/erc20/abi.json
  • precompiles/vesting/abi.json
  • precompiles/werc20/abi.json
Additional context used
Markdownlint
CHANGELOG.md

115-115: Expected: 120; Actual: 136
Line length

(MD013, line-length)

Additional comments not posted (78)
precompiles/vesting/testdata/VestingCaller.sol (1)

5-5: Ensure Compatibility with VestingI.sol.

The import statement has been updated to use VestingI.sol. Verify that VestingI.sol provides the necessary interface and is compatible with the rest of the code in this file.

contracts/utils/utils.go (3)

76-86: Check Error Handling and Return Values.

The function ConvertHardhatBytesToCompiledContract appears to handle errors correctly and return appropriate values. Ensure that the error messages are informative and consistent with the rest of the codebase.


88-103: Check Precompile Contract Handling.

The function ConvertPrecompileHardhatBytesToCompiledContract handles precompile contracts by ensuring the binary data is empty. Verify that this assumption holds true for all precompile contracts and that the error messages are clear and consistent.


Line range hint 105-120: Check Conversion Logic.

The function convertHardhatBzToCompiledContract converts Hardhat JSON bytes to a CompiledContract instance. Ensure that the conversion logic is correct and that any potential edge cases are handled appropriately.

precompiles/vesting/vesting.go (1)

63-66: Ensure Correct ABI Loading and Error Handling.

The NewPrecompile function has been updated to use cmn.LoadABI to load the ABI. Verify that cmn.LoadABI correctly loads the ABI and that the error handling is consistent with the rest of the codebase.

precompiles/common/abi.go (1)

141-146: Ensure Correct ABI Conversion and Error Handling.

The LoadABI function has been updated to use contractutils.ConvertPrecompileHardhatBytesToCompiledContract to convert the ABI bytes. Verify that this function correctly converts the ABI bytes and that the error handling is consistent with the rest of the codebase.

scripts/compile_smart_contracts/test_compile_smart_contracts.py (3)

36-39: Add comments to explain the new test data

Consider adding comments to explain the purpose of the new test data (staking directory and abi.json file) to improve readability.

# Creating a staking directory with a Solidity interface and an ABI file
(tmp_path / "precompiles" / "staking").mkdir(parents=True)
(tmp_path / "precompiles" / "staking" / "StakingI.sol").touch()
(tmp_path / "precompiles" / "staking" / "abi.json").touch()

46-46: LGTM!

The assertion update reflects the addition of new test data and is correct.


69-76: LGTM!

The new assertions correctly validate the presence of the StakingI.sol file and its corresponding abi.json file.

precompiles/ics20/ics20.go (1)

46-46: LGTM!

The change to use cmn.LoadABI for loading the ABI improves consistency and reusability.

precompiles/distribution/distribution.go (1)

43-43: LGTM!

The change to use cmn.LoadABI for loading the ABI improves consistency and reusability.

scripts/compile_smart_contracts/compile_smart_contracts.py (5)

Line range hint 98-113: Add comments to explain the new logic

Consider adding comments to explain the purpose of handling abi.json files to improve readability.

# NOTE: In the precompile implementations the interfaces
# are usually called `abi.json`.
potential_abi_json_path = Path(root) / "abi.json"
potential_json_path = Path(root) / f"{filename}.json"

131-132: LGTM!

The change improves error handling by raising a ValueError if the added contract is not found in the repository.


238-245: LGTM!

The changes improve the clarity of output messages for missing compiled JSON files.


291-292: LGTM!

The change to handle the added_contract parameter in the compile_files function aligns with the added functionality to handle abi.json files.


Line range hint 134-143: LGTM!

The changes to the is_ignored_folder function align with the new folder structure and are correct.

precompiles/ics20/abi.json (13)

1-4: Add metadata fields to ABI JSON.

The metadata fields _format, contractName, and sourceName are correctly added and provide useful context about the contract.


5-54: Define IBCTransfer event.

The IBCTransfer event is correctly defined with appropriate fields and types.


55-117: Define IBCTransferAuthorization event.

The IBCTransferAuthorization event is correctly defined with appropriate fields and types, including nested structs.


119-181: Define allowance function.

The allowance function is correctly defined with appropriate input and output types, including nested structs.


182-244: Define approve function.

The approve function is correctly defined with appropriate input and output types, including nested structs.


245-283: Define decreaseAllowance function.

The decreaseAllowance function is correctly defined with appropriate input and output types.


284-302: Define denomHash function.

The denomHash function is correctly defined with appropriate input and output types.


303-333: Define denomTrace function.

The denomTrace function is correctly defined with appropriate input and output types, including nested structs.


334-408: Define denomTraces function.

The denomTraces function is correctly defined with appropriate input and output types, including nested structs.


409-447: Define increaseAllowance function.

The increaseAllowance function is correctly defined with appropriate input and output types.


448-466: Define revoke function.

The revoke function is correctly defined with appropriate input and output types.


467-537: Define transfer function.

The transfer function is correctly defined with appropriate input and output types, including nested structs.


538-543: Add bytecode and link references.

The bytecode and link references are correctly added and provide useful context about the contract deployment.

x/evm/statedb/testdata/FlashLoan.json (5)

Line range hint 1-4: Add metadata fields to ABI JSON.

The metadata fields _format, contractName, and sourceName are correctly added and provide useful context about the contract.


Line range hint 5-20: Define constructor function.

The constructor function is correctly defined with appropriate state mutability.


Line range hint 21-41: Define flashLoan function.

The flashLoan function is correctly defined with appropriate input and output types.


Line range hint 42-52: Define owner function.

The owner function is correctly defined with appropriate output type and state mutability.


54-55: Add bytecode and link references.

The bytecode and link references are correctly added and provide useful context about the contract deployment.

precompiles/vesting/testdata/VestingCaller.json (2)

261-261: Verify the deployed bytecode.

Ensure that the deployedBytecode field is correct and matches the deployed output of the VestingCaller contract.


260-260: Verify the bytecode.

Ensure that the bytecode field is correct and matches the compiled output of the VestingCaller contract.

precompiles/staking/abi.json (28)

1-4: Metadata fields look good.

The _format, contractName, and sourceName fields are correctly defined.


6-35: AllowanceChange event definition looks correct.

The AllowanceChange event is properly defined with the correct input types and indexed properties.


37-66: Approval event definition looks correct.

The Approval event is properly defined with the correct input types and indexed properties.


68-97: CancelUnbondingDelegation event definition looks correct.

The CancelUnbondingDelegation event is properly defined with the correct input types and indexed properties.


99-116: CreateValidator event definition looks correct.

The CreateValidator event is properly defined with the correct input types and indexed properties.


118-147: Delegate event definition looks correct.

The Delegate event is properly defined with the correct input types and indexed properties.


149-172: EditValidator event definition looks correct.

The EditValidator event is properly defined with the correct input types and indexed properties.


174-209: Redelegate event definition looks correct.

The Redelegate event is properly defined with the correct input types and indexed properties.


211-234: Revocation event definition looks correct.

The Revocation event is properly defined with the correct input types and indexed properties.


236-265: Unbond event definition looks correct.

The Unbond event is properly defined with the correct input types and indexed properties.


267-294: Allowance function definition looks correct.

The allowance function is properly defined with the correct input types, output types, and state mutability.


296-323: Approve function definition looks correct.

The approve function is properly defined with the correct input types, output types, and state mutability.


325-357: CancelUnbondingDelegation function definition looks correct.

The cancelUnbondingDelegation function is properly defined with the correct input types, output types, and state mutability.


359-445: CreateValidator function definition looks correct.

The createValidator function is properly defined with the correct input types, output types, and state mutability.


447-474: DecreaseAllowance function definition looks correct.

The decreaseAllowance function is properly defined with the correct input types, output types, and state mutability.


476-503: Delegate function definition looks correct.

The delegate function is properly defined with the correct input types, output types, and state mutability.


505-544: Delegation function definition looks correct.

The delegation function is properly defined with the correct input types, output types, and state mutability.


546-605: EditValidator function definition looks correct.

The editValidator function is properly defined with the correct input types, output types, and state mutability.


607-634: IncreaseAllowance function definition looks correct.

The increaseAllowance function is properly defined with the correct input types, output types, and state mutability.


636-668: Redelegate function definition looks correct.

The redelegate function is properly defined with the correct input types, output types, and state mutability.


670-741: Redelegation function definition looks correct.

The redelegation function is properly defined with the correct input types, output types, and state mutability.


743-909: Redelegations function definition looks correct.

The redelegations function is properly defined with the correct input types, output types, and state mutability.


911-933: Revoke function definition looks correct.

The revoke function is properly defined with the correct input types, output types, and state mutability.


935-1006: UnbondingDelegation function definition looks correct.

The unbondingDelegation function is properly defined with the correct input types, output types, and state mutability.


1008-1035: Undelegate function definition looks correct.

The undelegate function is properly defined with the correct input types, output types, and state mutability.


1037-1112: Validator function definition looks correct.

The validator function is properly defined with the correct input types, output types, and state mutability.


1113-1236: Validators function definition looks correct.

The validators function is properly defined with the correct input types, output types, and state mutability.


1238-1242: Bytecode and link references look correct.

The bytecode, deployedBytecode, linkReferences, and deployedLinkReferences fields are correctly defined.

precompiles/testutil/contracts/InterchainSender.json (13)

Line range hint 8-38: Correctness of ABI definition for testAllowance function.

The ABI definition for testAllowance appears correct with appropriate input and output parameters. The nested structures are well-defined.


Line range hint 39-53: Correctness of ABI definition for testApprove function.

The ABI definition for testApprove appears correct with appropriate input parameters and no outputs. The nested structures are well-defined.


Line range hint 54-67: Correctness of ABI definition for testDecreaseAllowance function.

The ABI definition for testDecreaseAllowance appears correct with appropriate input parameters and no outputs.


Line range hint 68-79: Correctness of ABI definition for testDenomHash function.

The ABI definition for testDenomHash appears correct with appropriate input and output parameters.


Line range hint 80-93: Correctness of ABI definition for testDenomTrace function.

The ABI definition for testDenomTrace appears correct with appropriate input and output parameters. The nested structures are well-defined.


Line range hint 94-123: Correctness of ABI definition for testDenomTraces function.

The ABI definition for testDenomTraces appears correct with appropriate input and output parameters. The nested structures are well-defined.


Line range hint 124-137: Correctness of ABI definition for testIncreaseAllowance function.

The ABI definition for testIncreaseAllowance appears correct with appropriate input parameters and no outputs.


Line range hint 138-147: Correctness of ABI definition for testRevoke function.

The ABI definition for testRevoke appears correct with no input or output parameters.


Line range hint 148-179: Correctness of ABI definition for testTransferContractFunds function.

The ABI definition for testTransferContractFunds appears correct with appropriate input and output parameters. The nested structures are well-defined.


Line range hint 180-211: Correctness of ABI definition for testTransferUserFunds function.

The ABI definition for testTransferUserFunds appears correct with appropriate input and output parameters. The nested structures are well-defined.


442-442: Correctness of bytecode section.

The bytecode section appears correctly formatted.


443-443: Correctness of deployed bytecode section.

The deployed bytecode section appears correctly formatted.


Line range hint 2-4: Correctness of metadata fields.

The metadata fields _format, contractName, and sourceName are correctly populated.

CHANGELOG.md (1)

116-116: Ensure consistent formatting and adherence to changelog guidelines.

The new entry under the "Unreleased" section is correctly formatted and follows the guidelines. However, the line exceeds the recommended length of 120 characters.

- - (contracts) [#2650](https://github.com/evmos/evmos/pull/2650) Adjust contract compilation util to include `abi.json` files.
+ - (contracts) [#2650](https://github.com/evmos/evmos/pull/2650) Adjust contract compilation util to include 
+   `abi.json` files.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between fff1fb1 and 9842934.

Files selected for processing (21)
  • CHANGELOG.md (1 hunks)
  • Makefile (1 hunks)
  • contracts/utils/utils.go (2 hunks)
  • precompiles/bank/abi.json (1 hunks)
  • precompiles/bech32/abi.json (1 hunks)
  • precompiles/common/abi.go (3 hunks)
  • precompiles/distribution/abi.json (1 hunks)
  • precompiles/distribution/distribution.go (2 hunks)
  • precompiles/erc20/abi.json (1 hunks)
  • precompiles/ics20/abi.json (1 hunks)
  • precompiles/ics20/ics20.go (2 hunks)
  • precompiles/staking/abi.json (1 hunks)
  • precompiles/testutil/contracts/InterchainSender.json (1 hunks)
  • precompiles/vesting/abi.json (1 hunks)
  • precompiles/vesting/testdata/VestingCaller.json (1 hunks)
  • precompiles/vesting/testdata/VestingCaller.sol (1 hunks)
  • precompiles/vesting/vesting.go (3 hunks)
  • precompiles/werc20/abi.json (1 hunks)
  • scripts/compile_smart_contracts/compile_smart_contracts.py (5 hunks)
  • scripts/compile_smart_contracts/test_compile_smart_contracts.py (4 hunks)
  • x/evm/statedb/testdata/FlashLoan.json (1 hunks)
Files not summarized due to errors (4)
  • precompiles/staking/abi.json: Error: Message exceeds token limit
  • precompiles/testutil/contracts/InterchainSender.json: Error: Message exceeds token limit
  • precompiles/vesting/testdata/VestingCaller.json: Error: Message exceeds token limit
  • x/evm/statedb/testdata/FlashLoan.json: Error: Message exceeds token limit
Files skipped from review due to trivial changes (5)
  • Makefile
  • precompiles/bank/abi.json
  • precompiles/bech32/abi.json
  • precompiles/erc20/abi.json
  • precompiles/werc20/abi.json
Additional context used
Markdownlint
CHANGELOG.md

115-115: Expected: 120; Actual: 136
Line length

(MD013, line-length)

Additional comments not posted (76)
precompiles/vesting/testdata/VestingCaller.sol (1)

5-5: Update the import statement.

The import statement has been updated to import VestingI.sol instead of Vesting.sol. Ensure that all references to the imported contract are correct and that the new import is necessary.

contracts/utils/utils.go (3)

76-86: LGTM! The function correctly converts bytes to a compiled contract.

The function ConvertHardhatBytesToCompiledContract includes appropriate error handling for empty binary data.


88-103: LGTM! The function correctly handles precompile contracts.

The function ConvertPrecompileHardhatBytesToCompiledContract includes appropriate error handling to ensure that the binary data is empty for precompile contracts.


Line range hint 105-122: LGTM! The function correctly converts bytes to a compiled contract.

The function convertHardhatBzToCompiledContract includes appropriate error handling for empty ABI methods.

precompiles/vesting/vesting.go (1)

63-63: Update the ABI loading logic.

The ABI loading logic in the NewPrecompile function has been updated to use cmn.LoadABI. Ensure that the new method correctly loads the ABI and that error handling is appropriate.

precompiles/common/abi.go (2)

17-17: Update the import statement.

The import statement has been updated to include contractutils. Ensure that the imported functions are used correctly.


141-146: Update the ABI loading logic.

The ABI loading logic in the LoadABI function has been updated to use contractutils.ConvertPrecompileHardhatBytesToCompiledContract. Ensure that the new method correctly loads the ABI and that error handling is appropriate.

scripts/compile_smart_contracts/test_compile_smart_contracts.py (4)

36-38: LGTM!

The additions to create a new directory and files for staking contracts are correct and consistent with the rest of the function.


46-46: LGTM!

The added assertions correctly check the presence and properties of the new staking contract.

Also applies to: 69-75, 77-80


105-105: No changes to review.

There are no changes in this function to review.


134-135: LGTM!

The added assertions correctly check the ignored status of folders.

Also applies to: 137-138, 142-143

precompiles/ics20/ics20.go (1)

46-48: LGTM!

The added lines correctly load the ABI from the embedded file system.

precompiles/distribution/distribution.go (1)

43-45: LGTM!

The added lines correctly load the ABI from the embedded file system and include appropriate error handling.

scripts/compile_smart_contracts/compile_smart_contracts.py (4)

98-101: LGTM!

The added lines correctly check for potential ABI JSON files and handle them appropriately.

Also applies to: 112-113


238-239: LGTM!

The added lines correctly adjust the error message formatting.

Also applies to: 244-245


291-292: LGTM!

The added lines correctly adjust the function call formatting.


Line range hint 1-1: No changes to review.

There are no changes in this function to review.

precompiles/vesting/abi.json (1)

2-4: Ensure the metadata fields are correct.

The _format, contractName, and sourceName fields should accurately reflect the contract's metadata.

precompiles/ics20/abi.json (1)

2-4: Ensure the metadata fields are correct.

The _format, contractName, and sourceName fields should accurately reflect the contract's metadata.

x/evm/statedb/testdata/FlashLoan.json (1)

Line range hint 2-4: Ensure the metadata fields are correct.

The _format, contractName, and sourceName fields should accurately reflect the contract's metadata.

precompiles/distribution/abi.json (23)

1-4: Ensure metadata fields are correct and complete.

The added metadata fields _format, contractName, and sourceName are essential for ABI files. Verify that these values are accurate and consistent with your contract's details.


6-23: Verify the ClaimRewards event definition.

Ensure the ClaimRewards event definition, including the inputs array, is accurate and matches the contract's implementation.


24-43: Verify the FundCommunityPool event definition.

Ensure the FundCommunityPool event definition, including the inputs array, is accurate and matches the contract's implementation.


44-61: Verify the SetWithdrawerAddress event definition.

Ensure the SetWithdrawerAddress event definition, including the inputs array, is accurate and matches the contract's implementation.


62-87: Verify the WithdrawDelegatorRewards event definition.

Ensure the WithdrawDelegatorRewards event definition, including the inputs array, is accurate and matches the contract's implementation.


88-105: Verify the WithdrawValidatorCommission event definition.

Ensure the WithdrawValidatorCommission event definition, including the inputs array, is accurate and matches the contract's implementation.


106-129: Verify the claimRewards function definition.

Ensure the claimRewards function definition, including the inputs and outputs arrays, is accurate and matches the contract's implementation.


130-171: Verify the delegationRewards function definition.

Ensure the delegationRewards function definition, including the inputs and outputs arrays, is accurate and matches the contract's implementation.


172-241: Verify the delegationTotalRewards function definition.

Ensure the delegationTotalRewards function definition, including the inputs and outputs arrays, is accurate and matches the contract's implementation.


242-260: Verify the delegatorValidators function definition.

Ensure the delegatorValidators function definition, including the inputs and outputs arrays, is accurate and matches the contract's implementation.


261-278: Verify the delegatorWithdrawAddress function definition.

Ensure the delegatorWithdrawAddress function definition, including the inputs and outputs arrays, is accurate and matches the contract's implementation.


279-302: Verify the fundCommunityPool function definition.

Ensure the fundCommunityPool function definition, including the inputs and outputs arrays, is accurate and matches the contract's implementation.


303-326: Verify the setWithdrawAddress function definition.

Ensure the setWithdrawAddress function definition, including the inputs and outputs arrays, is accurate and matches the contract's implementation.


327-362: Verify the validatorCommission function definition.

Ensure the validatorCommission function definition, including the inputs and outputs arrays, is accurate and matches the contract's implementation.


363-432: Verify the validatorDistributionInfo function definition.

Ensure the validatorDistributionInfo function definition, including the inputs and outputs arrays, is accurate and matches the contract's implementation.


433-468: Verify the validatorOutstandingRewards function definition.

Ensure the validatorOutstandingRewards function definition, including the inputs and outputs arrays, is accurate and matches the contract's implementation.


469-571: Verify the validatorSlashes function definition.

Ensure the validatorSlashes function definition, including the inputs and outputs arrays, is accurate and matches the contract's implementation.


572-607: Verify the withdrawDelegatorRewards function definition.

Ensure the withdrawDelegatorRewards function definition, including the inputs and outputs arrays, is accurate and matches the contract's implementation.


608-638: Verify the withdrawValidatorCommission function definition.

Ensure the withdrawValidatorCommission function definition, including the inputs and outputs arrays, is accurate and matches the contract's implementation.


639-639: Verify the bytecode field.

The bytecode field is set to 0x, which is likely a placeholder. Ensure this value is accurate and intended.


640-640: Verify the deployedBytecode field.

The deployedBytecode field is set to 0x, which is likely a placeholder. Ensure this value is accurate and intended.


641-641: Verify the linkReferences field.

The linkReferences field is an empty object. Ensure this is accurate and intended.


642-642: Verify the deployedLinkReferences field.

The deployedLinkReferences field is an empty object. Ensure this is accurate and intended.

precompiles/vesting/testdata/VestingCaller.json (2)

Line range hint 1-1: Metadata fields addition looks good.

The addition of _format, contractName, sourceName, bytecode, and deployedBytecode fields follows the standard ABI JSON structure.

Also applies to: 260-260, 261-261


260-260: Bytecode addition looks good.

The bytecode and deployedBytecode fields are necessary for the contract's deployment and interaction.

Also applies to: 261-261

precompiles/staking/abi.json (29)

2-4: Metadata fields look good.

The _format, contractName, and sourceName fields are correctly formatted and contain appropriate values.


6-35: Event AllowanceChange looks good.

The AllowanceChange event is correctly formatted and contains appropriate values.


37-66: Event Approval looks good.

The Approval event is correctly formatted and contains appropriate values.


68-97: Event CancelUnbondingDelegation looks good.

The CancelUnbondingDelegation event is correctly formatted and contains appropriate values.


99-116: Event CreateValidator looks good.

The CreateValidator event is correctly formatted and contains appropriate values.


118-147: Event Delegate looks good.

The Delegate event is correctly formatted and contains appropriate values.


149-172: Event EditValidator looks good.

The EditValidator event is correctly formatted and contains appropriate values.


174-209: Event Redelegate looks good.

The Redelegate event is correctly formatted and contains appropriate values.


211-234: Event Revocation looks good.

The Revocation event is correctly formatted and contains appropriate values.


236-266: Event Unbond looks good.

The Unbond event is correctly formatted and contains appropriate values.


948-1007: Event UnbondingDelegation looks good.

The UnbondingDelegation event is correctly formatted and contains appropriate values.


268-295: Function allowance looks good.

The allowance function is correctly formatted and contains appropriate values.


297-324: Function approve looks good.

The approve function is correctly formatted and contains appropriate values.


326-357: Function cancelUnbondingDelegation looks good.

The cancelUnbondingDelegation function is correctly formatted and contains appropriate values.


359-446: Function createValidator looks good.

The createValidator function is correctly formatted and contains appropriate values.


448-474: Function decreaseAllowance looks good.

The decreaseAllowance function is correctly formatted and contains appropriate values.


477-504: Function delegate looks good.

The delegate function is correctly formatted and contains appropriate values.


506-545: Function delegation looks good.

The delegation function is correctly formatted and contains appropriate values.


546-606: Function editValidator looks good.

The editValidator function is correctly formatted and contains appropriate values.


608-635: Function increaseAllowance looks good.

The increaseAllowance function is correctly formatted and contains appropriate values.


637-668: Function redelegate looks good.

The redelegate function is correctly formatted and contains appropriate values.


671-742: Function redelegation looks good.

The redelegation function is correctly formatted and contains appropriate values.


744-910: Function redelegations looks good.

The redelegations function is correctly formatted and contains appropriate values.


912-933: Function revoke looks good.

The revoke function is correctly formatted and contains appropriate values.


1009-1036: Function undelegate looks good.

The undelegate function is correctly formatted and contains appropriate values.


1038-1112: Function validator looks good.

The validator function is correctly formatted and contains appropriate values.


1114-1237: Function validators looks good.

The validators function is correctly formatted and contains appropriate values.


1239-1240: Bytecode fields look good.

The bytecode and deployedBytecode fields are correctly formatted and contain appropriate values.


1241-1242: Link references fields look good.

The linkReferences and deployedLinkReferences fields are correctly formatted and contain appropriate values.

precompiles/testutil/contracts/InterchainSender.json (2)

443-443: Verify the correctness of the deployedBytecode.

Ensure that the deployedBytecode field contains the correct deployed bytecode for the InterchainSender contract.


442-442: Verify the correctness of the bytecode.

Ensure that the bytecode field contains the correct compiled bytecode for the InterchainSender contract.

@github-actions github-actions bot added the tests label Jul 2, 2024
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 9842934 and 03a8f14.

Files selected for processing (4)
  • scripts/compile_smart_contracts/compile_smart_contracts.py (2 hunks)
  • scripts/compile_smart_contracts/test_compile_smart_contracts.py (2 hunks)
  • scripts/license_checker/check_licenses.py (1 hunks)
  • tests/nix_tests/test_distr_precompile.py (1 hunks)
Files skipped from review due to trivial changes (1)
  • scripts/license_checker/check_licenses.py
Files skipped from review as they are similar to previous changes (2)
  • scripts/compile_smart_contracts/compile_smart_contracts.py
  • scripts/compile_smart_contracts/test_compile_smart_contracts.py
Additional comments not posted (1)
tests/nix_tests/test_distr_precompile.py (1)

126-128: Improved Assertion for Community Pool Balance Check

The updated assertion ensures that the community pool balance has increased by at least the amount of funds sent. This change improves the robustness of the test.

Copy link
Contributor

@GAtom22 GAtom22 left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks @MalteHerrmann!

@MalteHerrmann MalteHerrmann enabled auto-merge (squash) July 2, 2024 18:57
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 03a8f14 and 5e14696.

Files selected for processing (2)
  • scripts/compile_smart_contracts/compile_smart_contracts.py (9 hunks)
  • scripts/compile_smart_contracts/test_compile_smart_contracts.py (2 hunks)
Files skipped from review as they are similar to previous changes (1)
  • scripts/compile_smart_contracts/test_compile_smart_contracts.py
Additional context used
Ruff
scripts/compile_smart_contracts/compile_smart_contracts.py

180-180: Unnecessary open mode parameters

Remove open mode parameters

(UP015)

Additional comments not posted (4)
scripts/compile_smart_contracts/compile_smart_contracts.py (4)

63-63: LGTM!

The addition of the compiled_json_path attribute to the Contract dataclass is appropriate and aligns with the PR objective.


98-101: LGTM!

The addition of the potential_abi_json_path variable and the explanatory note is clear and necessary for handling abi.json files.


112-113: LGTM!

The added condition to check for the existence of abi.json files is necessary and correctly implemented.


141-141: LGTM!

The use of a more concise syntax in the is_ignored_folder function improves readability without altering functionality.

@MalteHerrmann MalteHerrmann merged commit cd4647d into main Jul 2, 2024
@MalteHerrmann MalteHerrmann deleted the malte/include-abi-json-files-for-compilation branch July 2, 2024 19:09
hanchon pushed a commit that referenced this pull request Jul 9, 2024
* chore: clean changelog (#2628)

remove duplicate and fix style

* build(deps): bump github.com/cosmos/ibc-go/v7 from 7.5.2-0.20240607065443-0f1cf8bf766b to 7.6.0 (#2631)

* build(deps): bump github.com/cosmos/ibc-go/v7

Bumps [github.com/cosmos/ibc-go/v7](https://github.com/cosmos/ibc-go) from 7.5.2-0.20240607065443-0f1cf8bf766b to 7.6.0.
- [Release notes](https://github.com/cosmos/ibc-go/releases)
- [Changelog](https://github.com/cosmos/ibc-go/blob/v7.6.0/CHANGELOG.md)
- [Commits](https://github.com/cosmos/ibc-go/commits/v7.6.0)

---
updated-dependencies:
- dependency-name: github.com/cosmos/ibc-go/v7
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* update gomod2nix.toml file

* bump sdk and add chlog entry

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: tom <tomasguerraalda@hotmail.com>

* build(deps-dev): bump ws from 7.5.9 to 7.5.10 in /contracts in the npm_and_yarn group across 1 directory (#2634)

build(deps-dev): bump ws

Bumps the npm_and_yarn group with 1 update in the /contracts directory: [ws](https://github.com/websockets/ws).


Updates `ws` from 7.5.9 to 7.5.10
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](websockets/ws@7.5.9...7.5.10)

---
updated-dependencies:
- dependency-name: ws
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* imp(tests): Add function to get ERC-20 balance to integration utils (#2635)

* add get erc20 balance util

* add changelog entry

* add missing license

* build(deps): bump bufbuild/buf-setup-action from 1.33.0 to 1.34.0 (#2637)

Bumps [bufbuild/buf-setup-action](https://github.com/bufbuild/buf-setup-action) from 1.33.0 to 1.34.0.
- [Release notes](https://github.com/bufbuild/buf-setup-action/releases)
- [Commits](bufbuild/buf-setup-action@v1.33.0...v1.34.0)

---
updated-dependencies:
- dependency-name: bufbuild/buf-setup-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump github.com/linxGnu/grocksdb from 1.9.1 to 1.9.2 (#2638)

* build(deps): bump github.com/linxGnu/grocksdb from 1.9.1 to 1.9.2

Bumps [github.com/linxGnu/grocksdb](https://github.com/linxGnu/grocksdb) from 1.9.1 to 1.9.2.
- [Release notes](https://github.com/linxGnu/grocksdb/releases)
- [Commits](linxGnu/grocksdb@v1.9.1...v1.9.2)

---
updated-dependencies:
- dependency-name: github.com/linxGnu/grocksdb
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* update gomod2nix.toml file

* update rocksdb version

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>
Co-authored-by: tom <tomasguerraalda@hotmail.com>

* fix(ci): Ignore Swagger docs in CheckOV linter (#2639)

* ignore client folder in checkov CI

* add changelog entry

* add minor change in go file to trigger cla flow

* Add: Support PebbleDB image (#2630)

* add: config & workflow step for building pebble images

* test: comment out GIT_DIFF condition in build workflow

* Revert "test: comment out GIT_DIFF condition in build workflow"

* test: force a workflow trigger to push test images

* Revert "test: force a workflow trigger to push test images"

* docs: update changelog

* Update: lint

* Revert: build.yml

* Update CHANGELOG.md

Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>
Signed-off-by: Amine <34750005+Aminechakr@users.noreply.github.com>

---------

Signed-off-by: Amine <34750005+Aminechakr@users.noreply.github.com>
Signed-off-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>

* fix(tests): Bump Dockerfile dependency and fix make test-e2e target in Makefile (#2642)

* fix dockerfile and makefile

* fix e2e tests

* add changelog entry

* imp(evm): Remove EthAccount type and use BaseAccount instead (#2633)

* remove use of EthAccount in repository

* remove EthAccount implementation

* add missing license

* wip adding migration logic

* fix migration

* add tests for migration

* run make format

* Update x/evm/genesis.go

Signed-off-by: MalteHerrmann <42640438+MalteHerrmann@users.noreply.github.com>

* address review comments and add test for exporting EVM genesis

* add iterator and corresponding test

* use contract iterator for exporting EVM genesis state

* address more review comments

* remove unused method from interface definition

* apply suggested renaming

* address review comments

* add changelog entry

* add gitleaks allow directive to example contract storage

* move changelog entry to breaking section

* revert change in local node script

---------

Signed-off-by: MalteHerrmann <42640438+MalteHerrmann@users.noreply.github.com>
Co-authored-by: MalteHerrmann <MalteHerrmann@users.noreply.github.com>

* imp(dist): Improve efficiency of reward claiming with distribution precompile (#2643)

* improve reward claim method

* add changelog entry

* address review comments

---------

Signed-off-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>

* build(deps): bump github.com/btcsuite/btcd from 0.24.0 to 0.24.2 (#2641)

* build(deps): bump github.com/btcsuite/btcd from 0.24.0 to 0.24.2

Bumps [github.com/btcsuite/btcd](https://github.com/btcsuite/btcd) from 0.24.0 to 0.24.2.
- [Release notes](https://github.com/btcsuite/btcd/releases)
- [Changelog](https://github.com/btcsuite/btcd/blob/master/CHANGES)
- [Commits](btcsuite/btcd@v0.24.0...v0.24.2)

---
updated-dependencies:
- dependency-name: github.com/btcsuite/btcd
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* update gomod2nix.toml file

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>

* imp(app): Split chain configuration template into EVM config and MemIAVL config (#2644)

* separate EVM config template from full Evmos chain config template for use in other repos

* add changelog entry

* address review comments

* imp(ante): Fix typos in ante package (#2647)

* fix typos in ante package

* address review comments

* build(deps): bump github.com/cometbft/cometbft from 0.37.5 to 0.37.7 (#2646)

* build(deps): bump the go_modules group with 2 updates

Bumps the go_modules group with 2 updates: [github.com/cometbft/cometbft](https://github.com/cometbft/cometbft) and [github.com/hashicorp/go-getter](https://github.com/hashicorp/go-getter).


Updates `github.com/cometbft/cometbft` from 0.37.5 to 0.38.8
- [Release notes](https://github.com/cometbft/cometbft/releases)
- [Changelog](https://github.com/cometbft/cometbft/blob/v0.38.8/CHANGELOG.md)
- [Commits](cometbft/cometbft@v0.37.5...v0.38.8)

Updates `github.com/hashicorp/go-getter` from 1.7.4 to 1.7.5
- [Release notes](https://github.com/hashicorp/go-getter/releases)
- [Changelog](https://github.com/hashicorp/go-getter/blob/main/.goreleaser.yml)
- [Commits](hashicorp/go-getter@v1.7.4...v1.7.5)

---
updated-dependencies:
- dependency-name: github.com/cometbft/cometbft
  dependency-type: direct:production
  dependency-group: go_modules
- dependency-name: github.com/hashicorp/go-getter
  dependency-type: indirect
  dependency-group: go_modules
...

Signed-off-by: dependabot[bot] <support@github.com>

* update gomod2nix.toml file

* update cometbft version bump

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: tom <tomasguerraalda@hotmail.com>
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>

* imp(ante): Decouple EVM decorator utilities from decorator struct (#2648)

* decouple evm decorator utils from concrete implementation

* add changelog entry

* build(deps): bump github.com/cometbft/cometbft from 0.37.7 to 0.37.8 (#2649)

* build(deps): bump github.com/cometbft/cometbft from 0.37.7 to 0.38.9

Bumps [github.com/cometbft/cometbft](https://github.com/cometbft/cometbft) from 0.37.7 to 0.38.9.
- [Release notes](https://github.com/cometbft/cometbft/releases)
- [Changelog](https://github.com/cometbft/cometbft/blob/v0.38.9/CHANGELOG.md)
- [Commits](cometbft/cometbft@v0.37.7...v0.38.9)

---
updated-dependencies:
- dependency-name: github.com/cometbft/cometbft
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* update gomod2nix.toml file

* update bump version

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: tom <tomasguerraalda@hotmail.com>

* imp(scripts): Adjust contract compilation util to include abi.json files (#2650)

* adjust script to include abi.json files too

* rename vesting interface file to match interface name

* adjust utils and precompile ABI loading for Hardhat setup

* clean up after compiling contracts with all target

* recompile abis

* add changelog entry

* run black formatter

* address some more linters

---------

Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>

* build(deps): bump golang from 1.22.4-alpine3.20 to 1.22.5-alpine3.20 (#2654)

Bumps golang from 1.22.4-alpine3.20 to 1.22.5-alpine3.20.

---
updated-dependencies:
- dependency-name: golang
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump google.golang.org/grpc from 1.64.0 to 1.65.0 (#2652)

* build(deps): bump google.golang.org/grpc from 1.64.0 to 1.65.0

Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.64.0 to 1.65.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](grpc/grpc-go@v1.64.0...v1.65.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* update gomod2nix.toml file

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>

* Merge pull request from GHSA-68fc-7mhg-6f6c

* fix(stk-precompile): update dirty state

* add create validator tests cases

* fix(distr-precompile): update dirty state

* add additional condition in isContract

* refactor test

* add more functions to the DistrCaller.sol

* fix(ics20-precompile) update dirty state

* chore(tests): add more test cases for ics20 precompile

* add multi-transfer tx test cases

* chore(tests): add more test cases for distr precompile

* Update precompiles/common/precompile.go

Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com>

* refactor getWithdrawerHexAddr func

* chore(staking-precompile): update CreateValidator and EditValidator checks

* chore(tests): update staking precompile tests

* chore(distr-precompile): remove claimRewards method

* make format

* add back claimRewards func commented out

* comment out claimRewards from distr precompile logic

* add staking test with transfer to bonded tokens acc

* chore(ibc-transfer): add escrow account to dirties

* chore(test): add test cases for ics20 precompile and escrow addr

* Update tests/nix_tests/test_ics20_precompile.py

Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>
Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com>

* remove hardcoded exp balance

* fix(precompile): use cache ctx on stateDB

* add journal entry for precompiles

* keep only last writeFn

* add MaxPrecompileCalls limit

* refactor precompile calls logic

* remove unnecessary code

* changes based on review comments

* add StakingReverter tests

* add revert test case for distr precompile

* refactor cache ctx on stateDB

* refactor: move CommitWithCacheCtx to RunSetup

* chore: add events to snapshot

* update ICS20 tests

* fix err msg

* renamve var

* add a func on precompile cmn for journal entry

* rename var

* add comment

* update comment description

* update expected gas in ibc transfer test

* address review comments

* update comt

* tests(ics20): add helper func to setup contract

* tests(ics20): add test for nested revert

* address review comments

* add distr precompile tests

* refactor to remove UpdateDirties func

* Update precompiles/distribution/tx.go

Co-authored-by: Ramiro Carlucho <ramirocarlucho@gmail.com>
Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com>

* update vesting prec

* refactor balance change entries setter func

* add comments

* update comment

* fix sdk fork deps

* comment claimRewards method and test

* add smart contract balance check on test

* remove transient storage logic

* add edge test case with revert on storage change

* revert changes to claimRewards

* refactor var name

* refactor claimRewards logic

* refactor claimRewards logic

* update cosmos-sdk fork with latest changes (no need for store keys deep copy)

* change require with assert for invariant

* update comment

* update cosmos-sdk fork version

* update commit function with latest changes merged from main

* add changelog entry

* update commit func

* fix claimRewards comt

---------

Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com>
Signed-off-by: stepit <48993133+0xstepit@users.noreply.github.com>
Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>
Co-authored-by: Ramiro Carlucho <ramirocarlucho@gmail.com>
Co-authored-by: stepit <stefanofrancesco.pitton@gmail.com>

* chore: update changelog (#2655)

* Merge pull request from GHSA-q6hg-6m9x-5g9c

* fix(precompile): add funder and dest check to update balance

* add more test cases

* restrict funder to be origin or contract caller

* restrict dest address when calling from sc

* add test case with funds transfer within precompile call

* remove print

* add check for dirty addresses

* add UpdateDirties func

* update dirties helper func

* Update precompiles/vesting/utils_test.go

Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>
Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com>

* update comment description

* changes based on review comments

* refactor updateDirties

* add test cases for updating funder balance before and after precompile call

* add revert state test

* update tx logic

* update integration tests

* refactor auth logic

* update tests

* add comt

* fix: add funder and vest acc to dirties

* add test cases for latest changes

* address review comments

* address review comments

* address review comments

* fix FlashLoan contract compilation

* update logic

* use pointer in precompile txs

* remove unnecessary comment

---------

Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com>
Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>

* chore: update CHANGELOG & fix linter (#2657)

* add changelog entry

* run make format

* fix lint warnings

* update known exceptions

* fix lint warnings

* fix lint warnings

* fix lint warnings

* update solidity test suite deps

---------

Co-authored-by: GAtom22 <GAtom22@users.noreply.github.com>

* [Snyk] Security upgrade golang from 1.22.3-bullseye to 1.23rc1-bullseye (#2656)

fix: tests/e2e/Dockerfile.repo to reduce vulnerabilities

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-DEBIAN11-GNUTLS28-6159417
- https://snyk.io/vuln/SNYK-DEBIAN11-GNUTLS28-6159419
- https://snyk.io/vuln/SNYK-DEBIAN11-LIBSSH2-5861756
- https://snyk.io/vuln/SNYK-DEBIAN11-CURL-3320493
- https://snyk.io/vuln/SNYK-DEBIAN11-ZLIB-6008961

Co-authored-by: snyk-bot <snyk-bot@snyk.io>
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>

* update certificate

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Amine <34750005+Aminechakr@users.noreply.github.com>
Signed-off-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
Signed-off-by: MalteHerrmann <42640438+MalteHerrmann@users.noreply.github.com>
Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com>
Signed-off-by: stepit <48993133+0xstepit@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: tom <tomasguerraalda@hotmail.com>
Co-authored-by: MalteHerrmann <42640438+MalteHerrmann@users.noreply.github.com>
Co-authored-by: Amine <34750005+Aminechakr@users.noreply.github.com>
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: MalteHerrmann <MalteHerrmann@users.noreply.github.com>
Co-authored-by: Ramiro Carlucho <ramirocarlucho@gmail.com>
Co-authored-by: GAtom22 <GAtom22@users.noreply.github.com>
Co-authored-by: snyk-bot <snyk-bot@snyk.io>
hanchon added a commit that referenced this pull request Jul 9, 2024
* temp

* run make format

* fix unit tests

* fix imports

* add changelog entry

* exclude x/evm/core from license checker

* remove unnecessary rawdb

* remove unused runtime folder

* semgrep: skip iteration if map is empty

* add new x/evm/folder to ignored path in golangci-lint

* feat(evm): add custom EIPs to VM (#2629)

* chore: add custom eips integration tests (#2661)

* update custom eips + test

* move eips to eips package

* add eips tests

* run make format

* revert an error

* add missing license to file

* remove unused func

* enable extra eip and refactor tests

* add readme

* Apply suggestions from code review

Signed-off-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>

* update doc and remove unused default eips

* make markdown linter happy

* fix lint

---------

Signed-off-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: 0xstepit <0xstepit@users.noreply.github.com>
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>

* chore: merge main (#2662)

* chore: clean changelog (#2628)

remove duplicate and fix style

* build(deps): bump github.com/cosmos/ibc-go/v7 from 7.5.2-0.20240607065443-0f1cf8bf766b to 7.6.0 (#2631)

* build(deps): bump github.com/cosmos/ibc-go/v7

Bumps [github.com/cosmos/ibc-go/v7](https://github.com/cosmos/ibc-go) from 7.5.2-0.20240607065443-0f1cf8bf766b to 7.6.0.
- [Release notes](https://github.com/cosmos/ibc-go/releases)
- [Changelog](https://github.com/cosmos/ibc-go/blob/v7.6.0/CHANGELOG.md)
- [Commits](https://github.com/cosmos/ibc-go/commits/v7.6.0)

---
updated-dependencies:
- dependency-name: github.com/cosmos/ibc-go/v7
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* update gomod2nix.toml file

* bump sdk and add chlog entry

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: tom <tomasguerraalda@hotmail.com>

* build(deps-dev): bump ws from 7.5.9 to 7.5.10 in /contracts in the npm_and_yarn group across 1 directory (#2634)

build(deps-dev): bump ws

Bumps the npm_and_yarn group with 1 update in the /contracts directory: [ws](https://github.com/websockets/ws).


Updates `ws` from 7.5.9 to 7.5.10
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](websockets/ws@7.5.9...7.5.10)

---
updated-dependencies:
- dependency-name: ws
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* imp(tests): Add function to get ERC-20 balance to integration utils (#2635)

* add get erc20 balance util

* add changelog entry

* add missing license

* build(deps): bump bufbuild/buf-setup-action from 1.33.0 to 1.34.0 (#2637)

Bumps [bufbuild/buf-setup-action](https://github.com/bufbuild/buf-setup-action) from 1.33.0 to 1.34.0.
- [Release notes](https://github.com/bufbuild/buf-setup-action/releases)
- [Commits](bufbuild/buf-setup-action@v1.33.0...v1.34.0)

---
updated-dependencies:
- dependency-name: bufbuild/buf-setup-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump github.com/linxGnu/grocksdb from 1.9.1 to 1.9.2 (#2638)

* build(deps): bump github.com/linxGnu/grocksdb from 1.9.1 to 1.9.2

Bumps [github.com/linxGnu/grocksdb](https://github.com/linxGnu/grocksdb) from 1.9.1 to 1.9.2.
- [Release notes](https://github.com/linxGnu/grocksdb/releases)
- [Commits](linxGnu/grocksdb@v1.9.1...v1.9.2)

---
updated-dependencies:
- dependency-name: github.com/linxGnu/grocksdb
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* update gomod2nix.toml file

* update rocksdb version

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>
Co-authored-by: tom <tomasguerraalda@hotmail.com>

* fix(ci): Ignore Swagger docs in CheckOV linter (#2639)

* ignore client folder in checkov CI

* add changelog entry

* add minor change in go file to trigger cla flow

* Add: Support PebbleDB image (#2630)

* add: config & workflow step for building pebble images

* test: comment out GIT_DIFF condition in build workflow

* Revert "test: comment out GIT_DIFF condition in build workflow"

* test: force a workflow trigger to push test images

* Revert "test: force a workflow trigger to push test images"

* docs: update changelog

* Update: lint

* Revert: build.yml

* Update CHANGELOG.md

Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>
Signed-off-by: Amine <34750005+Aminechakr@users.noreply.github.com>

---------

Signed-off-by: Amine <34750005+Aminechakr@users.noreply.github.com>
Signed-off-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>

* fix(tests): Bump Dockerfile dependency and fix make test-e2e target in Makefile (#2642)

* fix dockerfile and makefile

* fix e2e tests

* add changelog entry

* imp(evm): Remove EthAccount type and use BaseAccount instead (#2633)

* remove use of EthAccount in repository

* remove EthAccount implementation

* add missing license

* wip adding migration logic

* fix migration

* add tests for migration

* run make format

* Update x/evm/genesis.go

Signed-off-by: MalteHerrmann <42640438+MalteHerrmann@users.noreply.github.com>

* address review comments and add test for exporting EVM genesis

* add iterator and corresponding test

* use contract iterator for exporting EVM genesis state

* address more review comments

* remove unused method from interface definition

* apply suggested renaming

* address review comments

* add changelog entry

* add gitleaks allow directive to example contract storage

* move changelog entry to breaking section

* revert change in local node script

---------

Signed-off-by: MalteHerrmann <42640438+MalteHerrmann@users.noreply.github.com>
Co-authored-by: MalteHerrmann <MalteHerrmann@users.noreply.github.com>

* imp(dist): Improve efficiency of reward claiming with distribution precompile (#2643)

* improve reward claim method

* add changelog entry

* address review comments

---------

Signed-off-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>

* build(deps): bump github.com/btcsuite/btcd from 0.24.0 to 0.24.2 (#2641)

* build(deps): bump github.com/btcsuite/btcd from 0.24.0 to 0.24.2

Bumps [github.com/btcsuite/btcd](https://github.com/btcsuite/btcd) from 0.24.0 to 0.24.2.
- [Release notes](https://github.com/btcsuite/btcd/releases)
- [Changelog](https://github.com/btcsuite/btcd/blob/master/CHANGES)
- [Commits](btcsuite/btcd@v0.24.0...v0.24.2)

---
updated-dependencies:
- dependency-name: github.com/btcsuite/btcd
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* update gomod2nix.toml file

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>

* imp(app): Split chain configuration template into EVM config and MemIAVL config (#2644)

* separate EVM config template from full Evmos chain config template for use in other repos

* add changelog entry

* address review comments

* imp(ante): Fix typos in ante package (#2647)

* fix typos in ante package

* address review comments

* build(deps): bump github.com/cometbft/cometbft from 0.37.5 to 0.37.7 (#2646)

* build(deps): bump the go_modules group with 2 updates

Bumps the go_modules group with 2 updates: [github.com/cometbft/cometbft](https://github.com/cometbft/cometbft) and [github.com/hashicorp/go-getter](https://github.com/hashicorp/go-getter).


Updates `github.com/cometbft/cometbft` from 0.37.5 to 0.38.8
- [Release notes](https://github.com/cometbft/cometbft/releases)
- [Changelog](https://github.com/cometbft/cometbft/blob/v0.38.8/CHANGELOG.md)
- [Commits](cometbft/cometbft@v0.37.5...v0.38.8)

Updates `github.com/hashicorp/go-getter` from 1.7.4 to 1.7.5
- [Release notes](https://github.com/hashicorp/go-getter/releases)
- [Changelog](https://github.com/hashicorp/go-getter/blob/main/.goreleaser.yml)
- [Commits](hashicorp/go-getter@v1.7.4...v1.7.5)

---
updated-dependencies:
- dependency-name: github.com/cometbft/cometbft
  dependency-type: direct:production
  dependency-group: go_modules
- dependency-name: github.com/hashicorp/go-getter
  dependency-type: indirect
  dependency-group: go_modules
...

Signed-off-by: dependabot[bot] <support@github.com>

* update gomod2nix.toml file

* update cometbft version bump

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: tom <tomasguerraalda@hotmail.com>
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>

* imp(ante): Decouple EVM decorator utilities from decorator struct (#2648)

* decouple evm decorator utils from concrete implementation

* add changelog entry

* build(deps): bump github.com/cometbft/cometbft from 0.37.7 to 0.37.8 (#2649)

* build(deps): bump github.com/cometbft/cometbft from 0.37.7 to 0.38.9

Bumps [github.com/cometbft/cometbft](https://github.com/cometbft/cometbft) from 0.37.7 to 0.38.9.
- [Release notes](https://github.com/cometbft/cometbft/releases)
- [Changelog](https://github.com/cometbft/cometbft/blob/v0.38.9/CHANGELOG.md)
- [Commits](cometbft/cometbft@v0.37.7...v0.38.9)

---
updated-dependencies:
- dependency-name: github.com/cometbft/cometbft
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* update gomod2nix.toml file

* update bump version

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: tom <tomasguerraalda@hotmail.com>

* imp(scripts): Adjust contract compilation util to include abi.json files (#2650)

* adjust script to include abi.json files too

* rename vesting interface file to match interface name

* adjust utils and precompile ABI loading for Hardhat setup

* clean up after compiling contracts with all target

* recompile abis

* add changelog entry

* run black formatter

* address some more linters

---------

Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>

* build(deps): bump golang from 1.22.4-alpine3.20 to 1.22.5-alpine3.20 (#2654)

Bumps golang from 1.22.4-alpine3.20 to 1.22.5-alpine3.20.

---
updated-dependencies:
- dependency-name: golang
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump google.golang.org/grpc from 1.64.0 to 1.65.0 (#2652)

* build(deps): bump google.golang.org/grpc from 1.64.0 to 1.65.0

Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.64.0 to 1.65.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](grpc/grpc-go@v1.64.0...v1.65.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* update gomod2nix.toml file

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>

* Merge pull request from GHSA-68fc-7mhg-6f6c

* fix(stk-precompile): update dirty state

* add create validator tests cases

* fix(distr-precompile): update dirty state

* add additional condition in isContract

* refactor test

* add more functions to the DistrCaller.sol

* fix(ics20-precompile) update dirty state

* chore(tests): add more test cases for ics20 precompile

* add multi-transfer tx test cases

* chore(tests): add more test cases for distr precompile

* Update precompiles/common/precompile.go

Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com>

* refactor getWithdrawerHexAddr func

* chore(staking-precompile): update CreateValidator and EditValidator checks

* chore(tests): update staking precompile tests

* chore(distr-precompile): remove claimRewards method

* make format

* add back claimRewards func commented out

* comment out claimRewards from distr precompile logic

* add staking test with transfer to bonded tokens acc

* chore(ibc-transfer): add escrow account to dirties

* chore(test): add test cases for ics20 precompile and escrow addr

* Update tests/nix_tests/test_ics20_precompile.py

Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>
Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com>

* remove hardcoded exp balance

* fix(precompile): use cache ctx on stateDB

* add journal entry for precompiles

* keep only last writeFn

* add MaxPrecompileCalls limit

* refactor precompile calls logic

* remove unnecessary code

* changes based on review comments

* add StakingReverter tests

* add revert test case for distr precompile

* refactor cache ctx on stateDB

* refactor: move CommitWithCacheCtx to RunSetup

* chore: add events to snapshot

* update ICS20 tests

* fix err msg

* renamve var

* add a func on precompile cmn for journal entry

* rename var

* add comment

* update comment description

* update expected gas in ibc transfer test

* address review comments

* update comt

* tests(ics20): add helper func to setup contract

* tests(ics20): add test for nested revert

* address review comments

* add distr precompile tests

* refactor to remove UpdateDirties func

* Update precompiles/distribution/tx.go

Co-authored-by: Ramiro Carlucho <ramirocarlucho@gmail.com>
Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com>

* update vesting prec

* refactor balance change entries setter func

* add comments

* update comment

* fix sdk fork deps

* comment claimRewards method and test

* add smart contract balance check on test

* remove transient storage logic

* add edge test case with revert on storage change

* revert changes to claimRewards

* refactor var name

* refactor claimRewards logic

* refactor claimRewards logic

* update cosmos-sdk fork with latest changes (no need for store keys deep copy)

* change require with assert for invariant

* update comment

* update cosmos-sdk fork version

* update commit function with latest changes merged from main

* add changelog entry

* update commit func

* fix claimRewards comt

---------

Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com>
Signed-off-by: stepit <48993133+0xstepit@users.noreply.github.com>
Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>
Co-authored-by: Ramiro Carlucho <ramirocarlucho@gmail.com>
Co-authored-by: stepit <stefanofrancesco.pitton@gmail.com>

* chore: update changelog (#2655)

* Merge pull request from GHSA-q6hg-6m9x-5g9c

* fix(precompile): add funder and dest check to update balance

* add more test cases

* restrict funder to be origin or contract caller

* restrict dest address when calling from sc

* add test case with funds transfer within precompile call

* remove print

* add check for dirty addresses

* add UpdateDirties func

* update dirties helper func

* Update precompiles/vesting/utils_test.go

Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>
Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com>

* update comment description

* changes based on review comments

* refactor updateDirties

* add test cases for updating funder balance before and after precompile call

* add revert state test

* update tx logic

* update integration tests

* refactor auth logic

* update tests

* add comt

* fix: add funder and vest acc to dirties

* add test cases for latest changes

* address review comments

* address review comments

* address review comments

* fix FlashLoan contract compilation

* update logic

* use pointer in precompile txs

* remove unnecessary comment

---------

Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com>
Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>

* chore: update CHANGELOG & fix linter (#2657)

* add changelog entry

* run make format

* fix lint warnings

* update known exceptions

* fix lint warnings

* fix lint warnings

* fix lint warnings

* update solidity test suite deps

---------

Co-authored-by: GAtom22 <GAtom22@users.noreply.github.com>

* [Snyk] Security upgrade golang from 1.22.3-bullseye to 1.23rc1-bullseye (#2656)

fix: tests/e2e/Dockerfile.repo to reduce vulnerabilities

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-DEBIAN11-GNUTLS28-6159417
- https://snyk.io/vuln/SNYK-DEBIAN11-GNUTLS28-6159419
- https://snyk.io/vuln/SNYK-DEBIAN11-LIBSSH2-5861756
- https://snyk.io/vuln/SNYK-DEBIAN11-CURL-3320493
- https://snyk.io/vuln/SNYK-DEBIAN11-ZLIB-6008961

Co-authored-by: snyk-bot <snyk-bot@snyk.io>
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>

* update certificate

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Amine <34750005+Aminechakr@users.noreply.github.com>
Signed-off-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
Signed-off-by: MalteHerrmann <42640438+MalteHerrmann@users.noreply.github.com>
Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com>
Signed-off-by: stepit <48993133+0xstepit@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: tom <tomasguerraalda@hotmail.com>
Co-authored-by: MalteHerrmann <42640438+MalteHerrmann@users.noreply.github.com>
Co-authored-by: Amine <34750005+Aminechakr@users.noreply.github.com>
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: MalteHerrmann <MalteHerrmann@users.noreply.github.com>
Co-authored-by: Ramiro Carlucho <ramirocarlucho@gmail.com>
Co-authored-by: GAtom22 <GAtom22@users.noreply.github.com>
Co-authored-by: snyk-bot <snyk-bot@snyk.io>

* chore: merge main again

* run make format

* Update CHANGELOG.md

Signed-off-by: Guillermo Paoletti <guillermo.paoletti@gmail.com>

* fix: remove import

* chore: ignore linter on geth code

---------

Signed-off-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Amine <34750005+Aminechakr@users.noreply.github.com>
Signed-off-by: MalteHerrmann <42640438+MalteHerrmann@users.noreply.github.com>
Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com>
Signed-off-by: stepit <48993133+0xstepit@users.noreply.github.com>
Signed-off-by: Guillermo Paoletti <guillermo.paoletti@gmail.com>
Co-authored-by: Freddy Caceres <facs95@gmail.com>
Co-authored-by: 0xstepit <0xstepit@users.noreply.github.com>
Co-authored-by: stepit <stefanofrancesco.pitton@gmail.com>
Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: tom <tomasguerraalda@hotmail.com>
Co-authored-by: MalteHerrmann <42640438+MalteHerrmann@users.noreply.github.com>
Co-authored-by: Amine <34750005+Aminechakr@users.noreply.github.com>
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>
Co-authored-by: MalteHerrmann <MalteHerrmann@users.noreply.github.com>
Co-authored-by: Ramiro Carlucho <ramirocarlucho@gmail.com>
Co-authored-by: GAtom22 <GAtom22@users.noreply.github.com>
Co-authored-by: snyk-bot <snyk-bot@snyk.io>
Co-authored-by: hanchon <hanchon@users.noreply.github.com>
GAtom22 added a commit that referenced this pull request Aug 6, 2024
* build(deps): bump golang from 1.22.3-alpine3.20 to 1.22.4-alpine3.20 (#2605)

Bumps golang from 1.22.3-alpine3.20 to 1.22.4-alpine3.20.

---
updated-dependencies:
- dependency-name: golang
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump golang.org/x/net from 0.25.0 to 0.26.0 (#2604)

* build(deps): bump golang.org/x/net from 0.25.0 to 0.26.0

Bumps [golang.org/x/net](https://github.com/golang/net) from 0.25.0 to 0.26.0.
- [Commits](https://github.com/golang/net/compare/v0.25.0...v0.26.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* update gomod2nix.toml file

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>

* build(deps): bump golang.org/x/text from 0.15.0 to 0.16.0 (#2603)

* build(deps): bump golang.org/x/text from 0.15.0 to 0.16.0

Bumps [golang.org/x/text](https://github.com/golang/text) from 0.15.0 to 0.16.0.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.15.0...v0.16.0)

---
updated-dependencies:
- dependency-name: golang.org/x/text
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* update gomod2nix.toml file

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: MalteHerrmann <42640438+MalteHerrmann@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>
Co-authored-by: MalteHerrmann <42640438+MalteHerrmann@users.noreply.github.com>

* feat(evm): Add PermissionsPolicy for permissioned EVM (#2538)

* feat(evm): Add Create OpHook for permissioned contract deployment

* remove go.mod replae

* rename function

* permission policy implementaion

* remove enable create and call parmas

* add validate

* revert go.mod replace

* fix proto names

* update geth version

* fix lint

* policy unit tests

* integration tests

* fix tests

* fix test

* rename permission to accesscontrol

* fix params tests

* fix lint

* fix test

* proto lint

* add licenses

* rename param

* fix proto lint issue

* add balance checks to mint

* run make format

* gomod2nix generate

* add store migration to v7

* fix comment

* fix proto-lint issues

* fix proto names on migration

* add changelog entry

* fix migration tests

* add address list for permissionless

* add integration tests

* update tests

* adding necessary tests

* update tests

* run make format

* fix lint

* small refractor

* expect common.Address instead of string

* update comments

* fix review comments

---------

Co-authored-by: Ramiro Carlucho <ramirocarlucho@gmail.com>
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>
Co-authored-by: facs95 <facs95@users.noreply.github.com>
Co-authored-by: tom <tomasguerraalda@hotmail.com>
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>

* chore(docker): update docker dep (#2610)

update docker dep

* Revert "chore(erc20): re-add deleted erc20 evm hooks (#2502)" & remove STRv2 tracking logic (#2609)

* Revert "chore(erc20): re-add deleted erc20 evm hooks (#2502)"

This reverts commit 994f54da651a213a637f6f39ddfc551dfcd30252.

* remove strv2 tracking logic

* add changelog entry

* Revert "imp(evm): Add evm hook logic again (#2501)" (#2608)

This reverts commit d0ddd88b9ecbc7777f440aeb5feeb468148868e0.

Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com>

* imp(evm): Move OpcodeHooks into types (#2611)

* imp(evm): Move OpcodeHooks into types

* run make format

* fix lint

* update comments

* run make format

---------

Co-authored-by: facs95 <facs95@users.noreply.github.com>

* fix(contracts): Remove unused contract and make script compatible with Python <3.12 (#2613)

* remove unused contract and run make contracts-compile

* remove Union operator to support Python <3.12

* add changelog entry

* build(deps): bump github.com/gorilla/websocket from 1.5.1 to 1.5.2 (#2612)

* build(deps): bump github.com/gorilla/websocket from 1.5.1 to 1.5.2

Bumps [github.com/gorilla/websocket](https://github.com/gorilla/websocket) from 1.5.1 to 1.5.2.
- [Release notes](https://github.com/gorilla/websocket/releases)
- [Commits](https://github.com/gorilla/websocket/compare/v1.5.1...v1.5.2)

---
updated-dependencies:
- dependency-name: github.com/gorilla/websocket
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* update gomod2nix.toml file

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>

* imp: add integration test for precompile tx `CreateValidator` (#2575)

* imp: add integration test for precompile tx CreateValidator

* chore: update comment

* feat(precompile): add staking module create validator integration test

* change hardcoded tendermint pub key with util function

---------

Signed-off-by: Luke <luchenqun@qq.com>
Signed-off-by: stepit <48993133+0xstepit@users.noreply.github.com>
Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>
Co-authored-by: stepit <stefanofrancesco.pitton@gmail.com>

* chore(precompiles): update distribution precompile (#2614)

* chore(precompiles): update distribution precompile

* add changelog entry

* add more test cases

* Update CHANGELOG.md

Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>
Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com>

---------

Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com>
Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>

* build(deps): bump google.golang.org/protobuf from 1.34.1 to 1.34.2 (#2615)

* build(deps): bump google.golang.org/protobuf from 1.34.1 to 1.34.2

Bumps google.golang.org/protobuf from 1.34.1 to 1.34.2.

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* update gomod2nix.toml file

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>

* imp: add integration test for precompile tx `EditValidator` (#2576)

* imp: add integration test for precompile tx EditValidator

* imp: expected validator commission rate remain unchanged

* imp: expected validator commission rate remain unchanged

* update StakingCaller contract

* add edit validator from sc call test

* add fail test case

* add missing checks in test

* Update precompiles/staking/testdata/StakingCaller.json

Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com>

* improve specs readability

* make contracts compile

* add missing checks in tests

* chore: merge the contents of the main branch manually

---------

Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com>
Signed-off-by: stepit <48993133+0xstepit@users.noreply.github.com>
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>
Co-authored-by: tom <tomasguerraalda@hotmail.com>
Co-authored-by: stepit <stefanofrancesco.pitton@gmail.com>
Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>

* imp(precompiles): Add unit test to ensure correct Bech32 addresses for default precompiles (#2597)

* add a test case for the bech32 converted precompile addresses in the default precompiles

* run make format

* address linter

* fix some f-up during merge

* fix changelog

* fix panic when estimating gas during call to precompiles without input

* remove default precompiles bech32 and move to blocked addrs function

* add all Ethereum native precompiles to blocked addresses too

* run make format

* format

* f auto-format

* add comments as suggested in code review

* add utility method for future use to convert addresses

* fix changelog

---------

Co-authored-by: MalteHerrmann <MalteHerrmann@users.noreply.github.com>
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>

* build(deps): bump the npm_and_yarn group across 3 directories with 2 updates (#2616)

Bumps the npm_and_yarn group with 1 update in the /contracts directory: [braces](https://github.com/micromatch/braces).
Bumps the npm_and_yarn group with 2 updates in the /tests/nix_tests/hardhat directory: [braces](https://github.com/micromatch/braces) and [axios](https://github.com/axios/axios).
Bumps the npm_and_yarn group with 1 update in the /tests/solidity directory: [braces](https://github.com/micromatch/braces).


Updates `braces` from 3.0.2 to 3.0.3
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3)

Updates `braces` from 3.0.2 to 3.0.3
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3)

Updates `axios` from 1.6.1 to 1.7.2
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.6.1...v1.7.2)

Updates `braces` from 3.0.2 to 3.0.3
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3)

---
updated-dependencies:
- dependency-name: braces
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: braces
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: axios
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: braces
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>

* feat(precompile): add `FundCommunityPool` precompile tx for distribution module (#2572)

* feat(precompile): add FundCommunityPool precompile tx for distribution module

* chore: update CHANGELOG.md

* chore: add nolint for TestFundCommunityPoolEvent and TestClaimRewardsEvent

* chore: add nolint for TestFundCommunityPoolEvent and TestClaimRewardsEvent

* feat(precompile): add contract can call FundCommunityPool tx

* chore: lint check

* chore: fix make lint and rename delegator to depositor

* update DistributionCaller contract

* add nix tests

* use base denom as in msg build stage

* fix gh action yml

* fix doc

* add sender post balance check

* Update precompiles/distribution/types.go

Signed-off-by: stepit <48993133+0xstepit@users.noreply.github.com>

* chore: bring back deposit and tesatFundCommunityPool methods

---------

Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com>
Signed-off-by: stepit <48993133+0xstepit@users.noreply.github.com>
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>
Co-authored-by: tom <tomasguerraalda@hotmail.com>
Co-authored-by: stepit <stefanofrancesco.pitton@gmail.com>
Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>

* build(deps): bump github.com/cosmos/ibc-go/v7 from 7.4.0 to 7.5.0 (#2556)

* build(deps): bump github.com/cosmos/ibc-go/v7 from 7.4.0 to 7.5.0

Bumps [github.com/cosmos/ibc-go/v7](https://github.com/cosmos/ibc-go) from 7.4.0 to 7.5.0.
- [Release notes](https://github.com/cosmos/ibc-go/releases)
- [Changelog](https://github.com/cosmos/ibc-go/blob/v7.5.0/CHANGELOG.md)
- [Commits](https://github.com/cosmos/ibc-go/compare/v7.4.0...v7.5.0)

---
updated-dependencies:
- dependency-name: github.com/cosmos/ibc-go/v7
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* update gomod2nix.toml file

* gomod tidy

* update go mod

* add query router to ICA host keeper

* update deps

* add changelog entry

* go mod tidy

* fix chlog

* update ICS20 precompile with new TransferAuth field

* run make format

* fix chlog

* fix chlog

* update ics20 nix tests

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>
Co-authored-by: tom <tomasguerraalda@hotmail.com>
Co-authored-by: GAtom22 <GAtom22@users.noreply.github.com>
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>

* build(deps): bump bufbuild/buf-setup-action from 1.32.2 to 1.33.0 (#2621)

Bumps [bufbuild/buf-setup-action](https://github.com/bufbuild/buf-setup-action) from 1.32.2 to 1.33.0.
- [Release notes](https://github.com/bufbuild/buf-setup-action/releases)
- [Commits](https://github.com/bufbuild/buf-setup-action/compare/v1.32.2...v1.33.0)

---
updated-dependencies:
- dependency-name: bufbuild/buf-setup-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>

* build(deps): bump github.com/gorilla/websocket from 1.5.2 to 1.5.3 (#2620)

* build(deps): bump github.com/gorilla/websocket from 1.5.2 to 1.5.3

Bumps [github.com/gorilla/websocket](https://github.com/gorilla/websocket) from 1.5.2 to 1.5.3.
- [Release notes](https://github.com/gorilla/websocket/releases)
- [Commits](https://github.com/gorilla/websocket/compare/v1.5.2...v1.5.3)

---
updated-dependencies:
- dependency-name: github.com/gorilla/websocket
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* update gomod2nix.toml file

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>
Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>

* build(deps): bump docker/build-push-action from 5 to 6 (#2622)

Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 5 to 6.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v5...v6)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump github.com/spf13/cobra from 1.8.0 to 1.8.1 (#2623)

* build(deps): bump github.com/spf13/cobra from 1.8.0 to 1.8.1

Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.8.0 to 1.8.1.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Commits](https://github.com/spf13/cobra/compare/v1.8.0...v1.8.1)

---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* update gomod2nix.toml file

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>

* Change anteutils.TxFeeChecker to authante.TxFeeChecker (#2619)

* change back to use cosmos TxFeeChecker type instead of utils type

* remove unused code

* nit

* nit

* add change log

* chore: clean changelog (#2628)

remove duplicate and fix style

* build(deps): bump github.com/cosmos/ibc-go/v7 from 7.5.2-0.20240607065443-0f1cf8bf766b to 7.6.0 (#2631)

* build(deps): bump github.com/cosmos/ibc-go/v7

Bumps [github.com/cosmos/ibc-go/v7](https://github.com/cosmos/ibc-go) from 7.5.2-0.20240607065443-0f1cf8bf766b to 7.6.0.
- [Release notes](https://github.com/cosmos/ibc-go/releases)
- [Changelog](https://github.com/cosmos/ibc-go/blob/v7.6.0/CHANGELOG.md)
- [Commits](https://github.com/cosmos/ibc-go/commits/v7.6.0)

---
updated-dependencies:
- dependency-name: github.com/cosmos/ibc-go/v7
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* update gomod2nix.toml file

* bump sdk and add chlog entry

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: tom <tomasguerraalda@hotmail.com>

* build(deps-dev): bump ws from 7.5.9 to 7.5.10 in /contracts in the npm_and_yarn group across 1 directory (#2634)

build(deps-dev): bump ws

Bumps the npm_and_yarn group with 1 update in the /contracts directory: [ws](https://github.com/websockets/ws).


Updates `ws` from 7.5.9 to 7.5.10
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/7.5.9...7.5.10)

---
updated-dependencies:
- dependency-name: ws
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* imp(tests): Add function to get ERC-20 balance to integration utils (#2635)

* add get erc20 balance util

* add changelog entry

* add missing license

* build(deps): bump bufbuild/buf-setup-action from 1.33.0 to 1.34.0 (#2637)

Bumps [bufbuild/buf-setup-action](https://github.com/bufbuild/buf-setup-action) from 1.33.0 to 1.34.0.
- [Release notes](https://github.com/bufbuild/buf-setup-action/releases)
- [Commits](https://github.com/bufbuild/buf-setup-action/compare/v1.33.0...v1.34.0)

---
updated-dependencies:
- dependency-name: bufbuild/buf-setup-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump github.com/linxGnu/grocksdb from 1.9.1 to 1.9.2 (#2638)

* build(deps): bump github.com/linxGnu/grocksdb from 1.9.1 to 1.9.2

Bumps [github.com/linxGnu/grocksdb](https://github.com/linxGnu/grocksdb) from 1.9.1 to 1.9.2.
- [Release notes](https://github.com/linxGnu/grocksdb/releases)
- [Commits](https://github.com/linxGnu/grocksdb/compare/v1.9.1...v1.9.2)

---
updated-dependencies:
- dependency-name: github.com/linxGnu/grocksdb
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* update gomod2nix.toml file

* update rocksdb version

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>
Co-authored-by: tom <tomasguerraalda@hotmail.com>

* fix(ci): Ignore Swagger docs in CheckOV linter (#2639)

* ignore client folder in checkov CI

* add changelog entry

* add minor change in go file to trigger cla flow

* Add: Support PebbleDB image (#2630)

* add: config & workflow step for building pebble images

* test: comment out GIT_DIFF condition in build workflow

* Revert "test: comment out GIT_DIFF condition in build workflow"

* test: force a workflow trigger to push test images

* Revert "test: force a workflow trigger to push test images"

* docs: update changelog

* Update: lint

* Revert: build.yml

* Update CHANGELOG.md

Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>
Signed-off-by: Amine <34750005+Aminechakr@users.noreply.github.com>

---------

Signed-off-by: Amine <34750005+Aminechakr@users.noreply.github.com>
Signed-off-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>

* fix(tests): Bump Dockerfile dependency and fix make test-e2e target in Makefile (#2642)

* fix dockerfile and makefile

* fix e2e tests

* add changelog entry

* imp(evm): Remove EthAccount type and use BaseAccount instead (#2633)

* remove use of EthAccount in repository

* remove EthAccount implementation

* add missing license

* wip adding migration logic

* fix migration

* add tests for migration

* run make format

* Update x/evm/genesis.go

Signed-off-by: MalteHerrmann <42640438+MalteHerrmann@users.noreply.github.com>

* address review comments and add test for exporting EVM genesis

* add iterator and corresponding test

* use contract iterator for exporting EVM genesis state

* address more review comments

* remove unused method from interface definition

* apply suggested renaming

* address review comments

* add changelog entry

* add gitleaks allow directive to example contract storage

* move changelog entry to breaking section

* revert change in local node script

---------

Signed-off-by: MalteHerrmann <42640438+MalteHerrmann@users.noreply.github.com>
Co-authored-by: MalteHerrmann <MalteHerrmann@users.noreply.github.com>

* imp(dist): Improve efficiency of reward claiming with distribution precompile (#2643)

* improve reward claim method

* add changelog entry

* address review comments

---------

Signed-off-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>

* build(deps): bump github.com/btcsuite/btcd from 0.24.0 to 0.24.2 (#2641)

* build(deps): bump github.com/btcsuite/btcd from 0.24.0 to 0.24.2

Bumps [github.com/btcsuite/btcd](https://github.com/btcsuite/btcd) from 0.24.0 to 0.24.2.
- [Release notes](https://github.com/btcsuite/btcd/releases)
- [Changelog](https://github.com/btcsuite/btcd/blob/master/CHANGES)
- [Commits](https://github.com/btcsuite/btcd/compare/v0.24.0...v0.24.2)

---
updated-dependencies:
- dependency-name: github.com/btcsuite/btcd
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* update gomod2nix.toml file

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>

* imp(app): Split chain configuration template into EVM config and MemIAVL config (#2644)

* separate EVM config template from full Evmos chain config template for use in other repos

* add changelog entry

* address review comments

* imp(ante): Fix typos in ante package (#2647)

* fix typos in ante package

* address review comments

* build(deps): bump github.com/cometbft/cometbft from 0.37.5 to 0.37.7 (#2646)

* build(deps): bump the go_modules group with 2 updates

Bumps the go_modules group with 2 updates: [github.com/cometbft/cometbft](https://github.com/cometbft/cometbft) and [github.com/hashicorp/go-getter](https://github.com/hashicorp/go-getter).


Updates `github.com/cometbft/cometbft` from 0.37.5 to 0.38.8
- [Release notes](https://github.com/cometbft/cometbft/releases)
- [Changelog](https://github.com/cometbft/cometbft/blob/v0.38.8/CHANGELOG.md)
- [Commits](https://github.com/cometbft/cometbft/compare/v0.37.5...v0.38.8)

Updates `github.com/hashicorp/go-getter` from 1.7.4 to 1.7.5
- [Release notes](https://github.com/hashicorp/go-getter/releases)
- [Changelog](https://github.com/hashicorp/go-getter/blob/main/.goreleaser.yml)
- [Commits](https://github.com/hashicorp/go-getter/compare/v1.7.4...v1.7.5)

---
updated-dependencies:
- dependency-name: github.com/cometbft/cometbft
  dependency-type: direct:production
  dependency-group: go_modules
- dependency-name: github.com/hashicorp/go-getter
  dependency-type: indirect
  dependency-group: go_modules
...

Signed-off-by: dependabot[bot] <support@github.com>

* update gomod2nix.toml file

* update cometbft version bump

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: tom <tomasguerraalda@hotmail.com>
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>

* imp(ante): Decouple EVM decorator utilities from decorator struct (#2648)

* decouple evm decorator utils from concrete implementation

* add changelog entry

* build(deps): bump github.com/cometbft/cometbft from 0.37.7 to 0.37.8 (#2649)

* build(deps): bump github.com/cometbft/cometbft from 0.37.7 to 0.38.9

Bumps [github.com/cometbft/cometbft](https://github.com/cometbft/cometbft) from 0.37.7 to 0.38.9.
- [Release notes](https://github.com/cometbft/cometbft/releases)
- [Changelog](https://github.com/cometbft/cometbft/blob/v0.38.9/CHANGELOG.md)
- [Commits](https://github.com/cometbft/cometbft/compare/v0.37.7...v0.38.9)

---
updated-dependencies:
- dependency-name: github.com/cometbft/cometbft
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* update gomod2nix.toml file

* update bump version

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: tom <tomasguerraalda@hotmail.com>

* imp(scripts): Adjust contract compilation util to include abi.json files (#2650)

* adjust script to include abi.json files too

* rename vesting interface file to match interface name

* adjust utils and precompile ABI loading for Hardhat setup

* clean up after compiling contracts with all target

* recompile abis

* add changelog entry

* run black formatter

* address some more linters

---------

Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>

* build(deps): bump golang from 1.22.4-alpine3.20 to 1.22.5-alpine3.20 (#2654)

Bumps golang from 1.22.4-alpine3.20 to 1.22.5-alpine3.20.

---
updated-dependencies:
- dependency-name: golang
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump google.golang.org/grpc from 1.64.0 to 1.65.0 (#2652)

* build(deps): bump google.golang.org/grpc from 1.64.0 to 1.65.0

Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.64.0 to 1.65.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.64.0...v1.65.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* update gomod2nix.toml file

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>

* Merge pull request from GHSA-68fc-7mhg-6f6c

* fix(stk-precompile): update dirty state

* add create validator tests cases

* fix(distr-precompile): update dirty state

* add additional condition in isContract

* refactor test

* add more functions to the DistrCaller.sol

* fix(ics20-precompile) update dirty state

* chore(tests): add more test cases for ics20 precompile

* add multi-transfer tx test cases

* chore(tests): add more test cases for distr precompile

* Update precompiles/common/precompile.go

Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com>

* refactor getWithdrawerHexAddr func

* chore(staking-precompile): update CreateValidator and EditValidator checks

* chore(tests): update staking precompile tests

* chore(distr-precompile): remove claimRewards method

* make format

* add back claimRewards func commented out

* comment out claimRewards from distr precompile logic

* add staking test with transfer to bonded tokens acc

* chore(ibc-transfer): add escrow account to dirties

* chore(test): add test cases for ics20 precompile and escrow addr

* Update tests/nix_tests/test_ics20_precompile.py

Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>
Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com>

* remove hardcoded exp balance

* fix(precompile): use cache ctx on stateDB

* add journal entry for precompiles

* keep only last writeFn

* add MaxPrecompileCalls limit

* refactor precompile calls logic

* remove unnecessary code

* changes based on review comments

* add StakingReverter tests

* add revert test case for distr precompile

* refactor cache ctx on stateDB

* refactor: move CommitWithCacheCtx to RunSetup

* chore: add events to snapshot

* update ICS20 tests

* fix err msg

* renamve var

* add a func on precompile cmn for journal entry

* rename var

* add comment

* update comment description

* update expected gas in ibc transfer test

* address review comments

* update comt

* tests(ics20): add helper func to setup contract

* tests(ics20): add test for nested revert

* address review comments

* add distr precompile tests

* refactor to remove UpdateDirties func

* Update precompiles/distribution/tx.go

Co-authored-by: Ramiro Carlucho <ramirocarlucho@gmail.com>
Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com>

* update vesting prec

* refactor balance change entries setter func

* add comments

* update comment

* fix sdk fork deps

* comment claimRewards method and test

* add smart contract balance check on test

* remove transient storage logic

* add edge test case with revert on storage change

* revert changes to claimRewards

* refactor var name

* refactor claimRewards logic

* refactor claimRewards logic

* update cosmos-sdk fork with latest changes (no need for store keys deep copy)

* change require with assert for invariant

* update comment

* update cosmos-sdk fork version

* update commit function with latest changes merged from main

* add changelog entry

* update commit func

* fix claimRewards comt

---------

Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com>
Signed-off-by: stepit <48993133+0xstepit@users.noreply.github.com>
Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>
Co-authored-by: Ramiro Carlucho <ramirocarlucho@gmail.com>
Co-authored-by: stepit <stefanofrancesco.pitton@gmail.com>

* chore: update changelog (#2655)

* Merge pull request from GHSA-q6hg-6m9x-5g9c

* fix(precompile): add funder and dest check to update balance

* add more test cases

* restrict funder to be origin or contract caller

* restrict dest address when calling from sc

* add test case with funds transfer within precompile call

* remove print

* add check for dirty addresses

* add UpdateDirties func

* update dirties helper func

* Update precompiles/vesting/utils_test.go

Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>
Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com>

* update comment description

* changes based on review comments

* refactor updateDirties

* add test cases for updating funder balance before and after precompile call

* add revert state test

* update tx logic

* update integration tests

* refactor auth logic

* update tests

* add comt

* fix: add funder and vest acc to dirties

* add test cases for latest changes

* address review comments

* address review comments

* address review comments

* fix FlashLoan contract compilation

* update logic

* use pointer in precompile txs

* remove unnecessary comment

---------

Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com>
Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>

* chore: update CHANGELOG & fix linter (#2657)

* add changelog entry

* run make format

* fix lint warnings

* update known exceptions

* fix lint warnings

* fix lint warnings

* fix lint warnings

* update solidity test suite deps

---------

Co-authored-by: GAtom22 <GAtom22@users.noreply.github.com>

* merge 'main' to GAtom22/sdk50

* [Snyk] Security upgrade golang from 1.22.3-bullseye to 1.23rc1-bullseye (#2656)

fix: tests/e2e/Dockerfile.repo to reduce vulnerabilities

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-DEBIAN11-GNUTLS28-6159417
- https://snyk.io/vuln/SNYK-DEBIAN11-GNUTLS28-6159419
- https://snyk.io/vuln/SNYK-DEBIAN11-LIBSSH2-5861756
- https://snyk.io/vuln/SNYK-DEBIAN11-CURL-3320493
- https://snyk.io/vuln/SNYK-DEBIAN11-ZLIB-6008961

Co-authored-by: snyk-bot <snyk-bot@snyk.io>
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>

* feat(vm): move geth vm from fork to evmOS codebase (#2663)

* temp

* run make format

* fix unit tests

* fix imports

* add changelog entry

* exclude x/evm/core from license checker

* remove unnecessary rawdb

* remove unused runtime folder

* semgrep: skip iteration if map is empty

* add new x/evm/folder to ignored path in golangci-lint

* feat(evm): add custom EIPs to VM (#2629)

* chore: add custom eips integration tests (#2661)

* update custom eips + test

* move eips to eips package

* add eips tests

* run make format

* revert an error

* add missing license to file

* remove unused func

* enable extra eip and refactor tests

* add readme

* Apply suggestions from code review

Signed-off-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>

* update doc and remove unused default eips

* make markdown linter happy

* fix lint

---------

Signed-off-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: 0xstepit <0xstepit@users.noreply.github.com>
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>

* chore: merge main (#2662)

* chore: clean changelog (#2628)

remove duplicate and fix style

* build(deps): bump github.com/cosmos/ibc-go/v7 from 7.5.2-0.20240607065443-0f1cf8bf766b to 7.6.0 (#2631)

* build(deps): bump github.com/cosmos/ibc-go/v7

Bumps [github.com/cosmos/ibc-go/v7](https://github.com/cosmos/ibc-go) from 7.5.2-0.20240607065443-0f1cf8bf766b to 7.6.0.
- [Release notes](https://github.com/cosmos/ibc-go/releases)
- [Changelog](https://github.com/cosmos/ibc-go/blob/v7.6.0/CHANGELOG.md)
- [Commits](https://github.com/cosmos/ibc-go/commits/v7.6.0)

---
updated-dependencies:
- dependency-name: github.com/cosmos/ibc-go/v7
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* update gomod2nix.toml file

* bump sdk and add chlog entry

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: tom <tomasguerraalda@hotmail.com>

* build(deps-dev): bump ws from 7.5.9 to 7.5.10 in /contracts in the npm_and_yarn group across 1 directory (#2634)

build(deps-dev): bump ws

Bumps the npm_and_yarn group with 1 update in the /contracts directory: [ws](https://github.com/websockets/ws).


Updates `ws` from 7.5.9 to 7.5.10
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/7.5.9...7.5.10)

---
updated-dependencies:
- dependency-name: ws
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* imp(tests): Add function to get ERC-20 balance to integration utils (#2635)

* add get erc20 balance util

* add changelog entry

* add missing license

* build(deps): bump bufbuild/buf-setup-action from 1.33.0 to 1.34.0 (#2637)

Bumps [bufbuild/buf-setup-action](https://github.com/bufbuild/buf-setup-action) from 1.33.0 to 1.34.0.
- [Release notes](https://github.com/bufbuild/buf-setup-action/releases)
- [Commits](https://github.com/bufbuild/buf-setup-action/compare/v1.33.0...v1.34.0)

---
updated-dependencies:
- dependency-name: bufbuild/buf-setup-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump github.com/linxGnu/grocksdb from 1.9.1 to 1.9.2 (#2638)

* build(deps): bump github.com/linxGnu/grocksdb from 1.9.1 to 1.9.2

Bumps [github.com/linxGnu/grocksdb](https://github.com/linxGnu/grocksdb) from 1.9.1 to 1.9.2.
- [Release notes](https://github.com/linxGnu/grocksdb/releases)
- [Commits](https://github.com/linxGnu/grocksdb/compare/v1.9.1...v1.9.2)

---
updated-dependencies:
- dependency-name: github.com/linxGnu/grocksdb
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* update gomod2nix.toml file

* update rocksdb version

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>
Co-authored-by: tom <tomasguerraalda@hotmail.com>

* fix(ci): Ignore Swagger docs in CheckOV linter (#2639)

* ignore client folder in checkov CI

* add changelog entry

* add minor change in go file to trigger cla flow

* Add: Support PebbleDB image (#2630)

* add: config & workflow step for building pebble images

* test: comment out GIT_DIFF condition in build workflow

* Revert "test: comment out GIT_DIFF condition in build workflow"

* test: force a workflow trigger to push test images

* Revert "test: force a workflow trigger to push test images"

* docs: update changelog

* Update: lint

* Revert: build.yml

* Update CHANGELOG.md

Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>
Signed-off-by: Amine <34750005+Aminechakr@users.noreply.github.com>

---------

Signed-off-by: Amine <34750005+Aminechakr@users.noreply.github.com>
Signed-off-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>

* fix(tests): Bump Dockerfile dependency and fix make test-e2e target in Makefile (#2642)

* fix dockerfile and makefile

* fix e2e tests

* add changelog entry

* imp(evm): Remove EthAccount type and use BaseAccount instead (#2633)

* remove use of EthAccount in repository

* remove EthAccount implementation

* add missing license

* wip adding migration logic

* fix migration

* add tests for migration

* run make format

* Update x/evm/genesis.go

Signed-off-by: MalteHerrmann <42640438+MalteHerrmann@users.noreply.github.com>

* address review comments and add test for exporting EVM genesis

* add iterator and corresponding test

* use contract iterator for exporting EVM genesis state

* address more review comments

* remove unused method from interface definition

* apply suggested renaming

* address review comments

* add changelog entry

* add gitleaks allow directive to example contract storage

* move changelog entry to breaking section

* revert change in local node script

---------

Signed-off-by: MalteHerrmann <42640438+MalteHerrmann@users.noreply.github.com>
Co-authored-by: MalteHerrmann <MalteHerrmann@users.noreply.github.com>

* imp(dist): Improve efficiency of reward claiming with distribution precompile (#2643)

* improve reward claim method

* add changelog entry

* address review comments

---------

Signed-off-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>

* build(deps): bump github.com/btcsuite/btcd from 0.24.0 to 0.24.2 (#2641)

* build(deps): bump github.com/btcsuite/btcd from 0.24.0 to 0.24.2

Bumps [github.com/btcsuite/btcd](https://github.com/btcsuite/btcd) from 0.24.0 to 0.24.2.
- [Release notes](https://github.com/btcsuite/btcd/releases)
- [Changelog](https://github.com/btcsuite/btcd/blob/master/CHANGES)
- [Commits](https://github.com/btcsuite/btcd/compare/v0.24.0...v0.24.2)

---
updated-dependencies:
- dependency-name: github.com/btcsuite/btcd
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* update gomod2nix.toml file

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>

* imp(app): Split chain configuration template into EVM config and MemIAVL config (#2644)

* separate EVM config template from full Evmos chain config template for use in other repos

* add changelog entry

* address review comments

* imp(ante): Fix typos in ante package (#2647)

* fix typos in ante package

* address review comments

* build(deps): bump github.com/cometbft/cometbft from 0.37.5 to 0.37.7 (#2646)

* build(deps): bump the go_modules group with 2 updates

Bumps the go_modules group with 2 updates: [github.com/cometbft/cometbft](https://github.com/cometbft/cometbft) and [github.com/hashicorp/go-getter](https://github.com/hashicorp/go-getter).


Updates `github.com/cometbft/cometbft` from 0.37.5 to 0.38.8
- [Release notes](https://github.com/cometbft/cometbft/releases)
- [Changelog](https://github.com/cometbft/cometbft/blob/v0.38.8/CHANGELOG.md)
- [Commits](https://github.com/cometbft/cometbft/compare/v0.37.5...v0.38.8)

Updates `github.com/hashicorp/go-getter` from 1.7.4 to 1.7.5
- [Release notes](https://github.com/hashicorp/go-getter/releases)
- [Changelog](https://github.com/hashicorp/go-getter/blob/main/.goreleaser.yml)
- [Commits](https://github.com/hashicorp/go-getter/compare/v1.7.4...v1.7.5)

---
updated-dependencies:
- dependency-name: github.com/cometbft/cometbft
  dependency-type: direct:production
  dependency-group: go_modules
- dependency-name: github.com/hashicorp/go-getter
  dependency-type: indirect
  dependency-group: go_modules
...

Signed-off-by: dependabot[bot] <support@github.com>

* update gomod2nix.toml file

* update cometbft version bump

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: tom <tomasguerraalda@hotmail.com>
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>

* imp(ante): Decouple EVM decorator utilities from decorator struct (#2648)

* decouple evm decorator utils from concrete implementation

* add changelog entry

* build(deps): bump github.com/cometbft/cometbft from 0.37.7 to 0.37.8 (#2649)

* build(deps): bump github.com/cometbft/cometbft from 0.37.7 to 0.38.9

Bumps [github.com/cometbft/cometbft](https://github.com/cometbft/cometbft) from 0.37.7 to 0.38.9.
- [Release notes](https://github.com/cometbft/cometbft/releases)
- [Changelog](https://github.com/cometbft/cometbft/blob/v0.38.9/CHANGELOG.md)
- [Commits](https://github.com/cometbft/cometbft/compare/v0.37.7...v0.38.9)

---
updated-dependencies:
- dependency-name: github.com/cometbft/cometbft
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* update gomod2nix.toml file

* update bump version

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: tom <tomasguerraalda@hotmail.com>

* imp(scripts): Adjust contract compilation util to include abi.json files (#2650)

* adjust script to include abi.json files too

* rename vesting interface file to match interface name

* adjust utils and precompile ABI loading for Hardhat setup

* clean up after compiling contracts with all target

* recompile abis

* add changelog entry

* run black formatter

* address some more linters

---------

Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>

* build(deps): bump golang from 1.22.4-alpine3.20 to 1.22.5-alpine3.20 (#2654)

Bumps golang from 1.22.4-alpine3.20 to 1.22.5-alpine3.20.

---
updated-dependencies:
- dependency-name: golang
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump google.golang.org/grpc from 1.64.0 to 1.65.0 (#2652)

* build(deps): bump google.golang.org/grpc from 1.64.0 to 1.65.0

Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.64.0 to 1.65.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.64.0...v1.65.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* update gomod2nix.toml file

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>

* Merge pull request from GHSA-68fc-7mhg-6f6c

* fix(stk-precompile): update dirty state

* add create validator tests cases

* fix(distr-precompile): update dirty state

* add additional condition in isContract

* refactor test

* add more functions to the DistrCaller.sol

* fix(ics20-precompile) update dirty state

* chore(tests): add more test cases for ics20 precompile

* add multi-transfer tx test cases

* chore(tests): add more test cases for distr precompile

* Update precompiles/common/precompile.go

Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com>

* refactor getWithdrawerHexAddr func

* chore(staking-precompile): update CreateValidator and EditValidator checks

* chore(tests): update staking precompile tests

* chore(distr-precompile): remove claimRewards method

* make format

* add back claimRewards func commented out

* comment out claimRewards from distr precompile logic

* add staking test with transfer to bonded tokens acc

* chore(ibc-transfer): add escrow account to dirties

* chore(test): add test cases for ics20 precompile and escrow addr

* Update tests/nix_tests/test_ics20_precompile.py

Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>
Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com>

* remove hardcoded exp balance

* fix(precompile): use cache ctx on stateDB

* add journal entry for precompiles

* keep only last writeFn

* add MaxPrecompileCalls limit

* refactor precompile calls logic

* remove unnecessary code

* changes based on review comments

* add StakingReverter tests

* add revert test case for distr precompile

* refactor cache ctx on stateDB

* refactor: move CommitWithCacheCtx to RunSetup

* chore: add events to snapshot

* update ICS20 tests

* fix err msg

* renamve var

* add a func on precompile cmn for journal entry

* rename var

* add comment

* update comment description

* update expected gas in ibc transfer test

* address review comments

* update comt

* tests(ics20): add helper func to setup contract

* tests(ics20): add test for nested revert

* address review comments

* add distr precompile tests

* refactor to remove UpdateDirties func

* Update precompiles/distribution/tx.go

Co-authored-by: Ramiro Carlucho <ramirocarlucho@gmail.com>
Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com>

* update vesting prec

* refactor balance change entries setter func

* add comments

* update comment

* fix sdk fork deps

* comment claimRewards method and test

* add smart contract balance check on test

* remove transient storage logic

* add edge test case with revert on storage change

* revert changes to claimRewards

* refactor var name

* refactor claimRewards logic

* refactor claimRewards logic

* update cosmos-sdk fork with latest changes (no need for store keys deep copy)

* change require with assert for invariant

* update comment

* update cosmos-sdk fork version

* update commit function with latest changes merged from main

* add changelog entry

* update commit func

* fix claimRewards comt

---------

Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com>
Signed-off-by: stepit <48993133+0xstepit@users.noreply.github.com>
Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>
Co-authored-by: Ramiro Carlucho <ramirocarlucho@gmail.com>
Co-authored-by: stepit <stefanofrancesco.pitton@gmail.com>

* chore: update changelog (#2655)

* Merge pull request from GHSA-q6hg-6m9x-5g9c

* fix(precompile): add funder and dest check to update balance

* add more test cases

* restrict funder to be origin or contract caller

* restrict dest address when calling from sc

* add test case with funds transfer within precompile call

* remove print

* add check for dirty addresses

* add UpdateDirties func

* update dirties helper func

* Update precompiles/vesting/utils_test.go

Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>
Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com>

* update comment description

* changes based on review comments

* refactor updateDirties

* add test cases for updating funder balance before and after precompile call

* add revert state test

* update tx logic

* update integration tests

* refactor auth logic

* update tests

* add comt

* fix: add funder and vest acc to dirties

* add test cases for latest changes

* address review comments

* address review comments

* address review comments

* fix FlashLoan contract compilation

* update logic

* use pointer in precompile txs

* remove unnecessary comment

---------

Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com>
Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>

* chore: update CHANGELOG & fix linter (#2657)

* add changelog entry

* run make format

* fix lint warnings

* update known exceptions

* fix lint warnings

* fix lint warnings

* fix lint warnings

* update solidity test suite deps

---------

Co-authored-by: GAtom22 <GAtom22@users.noreply.github.com>

* [Snyk] Security upgrade golang from 1.22.3-bullseye to 1.23rc1-bullseye (#2656)

fix: tests/e2e/Dockerfile.repo to reduce vulnerabilities

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-DEBIAN11-GNUTLS28-6159417
- https://snyk.io/vuln/SNYK-DEBIAN11-GNUTLS28-6159419
- https://snyk.io/vuln/SNYK-DEBIAN11-LIBSSH2-5861756
- https://snyk.io/vuln/SNYK-DEBIAN11-CURL-3320493
- https://snyk.io/vuln/SNYK-DEBIAN11-ZLIB-6008961

Co-authored-by: snyk-bot <snyk-bot@snyk.io>
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>

* update certificate

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Amine <34750005+Aminechakr@users.noreply.github.com>
Signed-off-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
Signed-off-by: MalteHerrmann <42640438+MalteHerrmann@users.noreply.github.com>
Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com>
Signed-off-by: stepit <48993133+0xstepit@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: tom <tomasguerraalda@hotmail.com>
Co-authored-by: MalteHerrmann <42640438+MalteHerrmann@users.noreply.github.com>
Co-authored-by: Amine <34750005+Aminechakr@users.noreply.github.com>
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: MalteHerrmann <MalteHerrmann@users.noreply.github.com>
Co-authored-by: Ramiro Carlucho <ramirocarlucho@gmail.com>
Co-authored-by: GAtom22 <GAtom22@users.noreply.github.com>
Co-authored-by: snyk-bot <snyk-bot@snyk.io>

* chore: merge main again

* run make format

* Update CHANGELOG.md

Signed-off-by: Guillermo Paoletti <guillermo.paoletti@gmail.com>

* fix: remove import

* chore: ignore linter on geth code

---------

Signed-off-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Amine <34750005+Aminechakr@users.noreply.github.com>
Signed-off-by: MalteHerrmann <42640438+MalteHerrmann@users.noreply.github.com>
Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com>
Signed-off-by: stepit <48993133+0xstepit@users.noreply.github.com>
Signed-off-by: Guillermo Paoletti <guillermo.paoletti@gmail.com>
Co-authored-by: Freddy Caceres <facs95@gmail.com>
Co-authored-by: 0xstepit <0xstepit@users.noreply.github.com>
Co-authored-by: stepit <stefanofrancesco.pitton@gmail.com>
Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: tom <tomasguerraalda@hotmail.com>
Co-authored-by: MalteHerrmann <42640438+MalteHerrmann@users.noreply.github.com>
Co-authored-by: Amine <34750005+Aminechakr@users.noreply.github.com>
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>
Co-authored-by: MalteHerrmann <MalteHerrmann@users.noreply.github.com>
Co-authored-by: Ramiro Carlucho <ramirocarlucho@gmail.com>
Co-authored-by: GAtom22 <GAtom22@users.noreply.github.com>
Co-authored-by: snyk-bot <snyk-bot@snyk.io>
Co-authored-by: hanchon <hanchon@users.noreply.github.com>

* build(deps): bump golang.org/x/net from 0.26.0 to 0.27.0 (#2660)

* build(deps): bump golang.org/x/net from 0.26.0 to 0.27.0

Bumps [golang.org/x/net](https://github.com/golang/net) from 0.26.0 to 0.27.0.
- [Commits](https://github.com/golang/net/compare/v0.26.0...v0.27.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* update gomod2nix.toml file

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Vladislav Varadinov <vladislav.varadinov@gmail.com>

* build(deps): bump github.com/cometbft/cometbft from 0.37.8 to 0.37.9 (#2671)

* build(deps): bump github.com/cometbft/cometbft from 0.37.8 to 0.38.10

Bumps [github.com/cometbft/cometbft](https://github.com/cometbft/cometbft) from 0.37.8 to 0.38.10.
- [Release notes](https://github.com/cometbft/cometbft/releases)
- [Changelog](https://github.com/cometbft/cometbft/blob/v0.38.10/CHANGELOG.md)
- [Commits](https://github.com/cometbft/cometbft/compare/v0.37.8...v0.38.10)

---
updated-dependencies:
- dependency-name: github.com/cometbft/cometbft
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* update gomod2nix.toml file

* build(deps): bump github.com/cometbft/cometbft from 0.37.8 to 0.37.9

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: tom <tomasguerraalda@hotmail.com>

* feat(str): Single Token Representation V2 (#2607)

* working version

* opcode changes

* run make format

* tests compiling

* fix lint

* run make format

* fix erc20 precompiles tests

* fix genesis state

* fix some tests

* fix lint

* update erc20 contracts

* delete registercoin method. Delete proposal register. fix some tests

* add native token check on ibc transfer. fix tests.

* fix linter

* fix tests

* run make format

* add nix tests

* fix nix tests

* fix protos

* feat(str): migration code (#2632)

* minor changes

* missing tests

* run make format

* update docstring + lint

* remove redundant check

* move duplicate util to utils package

* move number to constant

* small opt + remove unused

* Update app/app.go

Signed-off-by: stepit <48993133+0xstepit@users.noreply.github.com>

* Update ibc/utils.go

Signed-off-by: stepit <48993133+0xstepit@users.noreply.github.com>

* Update x/evm/types/params.go

Signed-off-by: stepit <48993133+0xstepit@users.noreply.github.com>

* Update x/erc20/module.go

Signed-off-by: stepit <48993133+0xstepit@users.noreply.github.com>

* Update x/erc20/module.go

Signed-off-by: stepit <48993133+0xstepit@users.noreply.github.com>

* fix merge

* minor changes

* add check on errors

* add error check

* fix token factory

* run migration

* feat(str): revert test for erc20 precompile (#2670)

* wip: reverter test

* run transfer

* transfer and send tests and fix

* check sender balance

* run make format

* test with try

* lint

* lint

* lint

* add licenses

---------

Signed-off-by: Ramiro Carlucho <ramirocarlucho@gmail.com>
Co-authored-by: ramacarlucho <ramacarlucho@users.noreply.github.com>

* fix comments. Add changelog

---------

Signed-off-by: stepit <48993133+0xstepit@users.noreply.github.com>
Signed-off-by: Ramiro Carlucho <ramirocarlucho@gmail.com>
Co-authored-by: facs95 <facs95@users.noreply.github.com>
Co-authored-by: Ramiro Carlucho <ramirocarlucho@gmail.com>
Co-authored-by: ramacarlucho <ramacarlucho@users.noreply.github.com>
Co-authored-by: stepit <stefanofrancesco.pitton@gmail.com>
Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>

* chore(ci): add action to auto-format python files (#2673)

* chore(ci): add action to auto-format python files

* run make format-python

* update action job name

* run make format-python

* add job to existing yaml

* fix linter call order

* run make format-python

* add line length on black formatter

* run make format-python

* revert - add line length on black formatter

* run make format-python

* add pylint config file

* run make format-python

* fix lint err

* run make format-python

* fix lint err

* keep only changed config param

---------

Co-authored-by: GAtom22 <GAtom22@users.noreply.github.com>
Co-authored-by: dev-evmos <dev-evmos@users.noreply.github.com>

* imp(changelog): Minor changelog clean ups to fix linter (#2675)

clean changelog

* make contracts-all

* make format

* fix some compilation issues

* bump cosmos-sdk to v0.50.8

* run make format-python

* fix compilation issues

* update app.go

* chore(distr-precompile): refactor new tests (#2680)

* fix unit tests

* start int_test refactor

* fix unit tests

* fix integration tests

* remove duplicated test case

* Update precompiles/distribution/tx_test.go

Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>
Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com>

* Update precompiles/distribution/tx_test.go

Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>
Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com>

---------

Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com>
Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>

* Update precompiles/bank/bank.go

Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>
Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com>

* fix bank precompile integ_tests

* chore(stk-precompile): refactor new tests (#2686)

* fix unit tests

* fix integration tests

* fix evm ante tests

* fix eip tests

* fix app_test.go

* chore(erc20-prec): refactor tests (#2688)

* fix unit tests

* start int_test refactor

* fix integration tests

* fix protogen script and run make proto-gen

* make proto-gen

* wire up modules tx and query cmds

* fix bank precompile unit tests

* fix vesting mod unit test

* chore(erc20): refactor module and tests (#2701)

* fix some unit tests

* add custom get signers for convertERC20 msg

* update test utils and msg server tests

* fix msg_server_test.go

* fix int_test

* refactor ibc callback int_tests

* add cosmos.msg.v1.service annotation to tx.proto

* run make format-python

* refactor toggleConversion & RegisterERC20 props

* refactor ibc callback integration tests

* wire up mods CLI commands

* remove unused imports

* run make format-python

* update config

* remove unused code

---------

Co-authored-by: GAtom22 <GAtom22@users.noreply.github.com>

…
GAtom22 added a commit that referenced this pull request Aug 19, 2024
* build(deps): bump golang from 1.22.3-alpine3.20 to 1.22.4-alpine3.20 (#2605)

Bumps golang from 1.22.3-alpine3.20 to 1.22.4-alpine3.20.

---
updated-dependencies:
- dependency-name: golang
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump golang.org/x/net from 0.25.0 to 0.26.0 (#2604)

* build(deps): bump golang.org/x/net from 0.25.0 to 0.26.0

Bumps [golang.org/x/net](https://github.com/golang/net) from 0.25.0 to 0.26.0.
- [Commits](https://github.com/golang/net/compare/v0.25.0...v0.26.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* update gomod2nix.toml file

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>

* build(deps): bump golang.org/x/text from 0.15.0 to 0.16.0 (#2603)

* build(deps): bump golang.org/x/text from 0.15.0 to 0.16.0

Bumps [golang.org/x/text](https://github.com/golang/text) from 0.15.0 to 0.16.0.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.15.0...v0.16.0)

---
updated-dependencies:
- dependency-name: golang.org/x/text
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* update gomod2nix.toml file

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: MalteHerrmann <42640438+MalteHerrmann@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>
Co-authored-by: MalteHerrmann <42640438+MalteHerrmann@users.noreply.github.com>

* feat(evm): Add PermissionsPolicy for permissioned EVM (#2538)

* feat(evm): Add Create OpHook for permissioned contract deployment

* remove go.mod replae

* rename function

* permission policy implementaion

* remove enable create and call parmas

* add validate

* revert go.mod replace

* fix proto names

* update geth version

* fix lint

* policy unit tests

* integration tests

* fix tests

* fix test

* rename permission to accesscontrol

* fix params tests

* fix lint

* fix test

* proto lint

* add licenses

* rename param

* fix proto lint issue

* add balance checks to mint

* run make format

* gomod2nix generate

* add store migration to v7

* fix comment

* fix proto-lint issues

* fix proto names on migration

* add changelog entry

* fix migration tests

* add address list for permissionless

* add integration tests

* update tests

* adding necessary tests

* update tests

* run make format

* fix lint

* small refractor

* expect common.Address instead of string

* update comments

* fix review comments

---------

Co-authored-by: Ramiro Carlucho <ramirocarlucho@gmail.com>
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>
Co-authored-by: facs95 <facs95@users.noreply.github.com>
Co-authored-by: tom <tomasguerraalda@hotmail.com>
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>

* chore(docker): update docker dep (#2610)

update docker dep

* Revert "chore(erc20): re-add deleted erc20 evm hooks (#2502)" & remove STRv2 tracking logic (#2609)

* Revert "chore(erc20): re-add deleted erc20 evm hooks (#2502)"

This reverts commit 994f54da651a213a637f6f39ddfc551dfcd30252.

* remove strv2 tracking logic

* add changelog entry

* Revert "imp(evm): Add evm hook logic again (#2501)" (#2608)

This reverts commit d0ddd88b9ecbc7777f440aeb5feeb468148868e0.

Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com>

* imp(evm): Move OpcodeHooks into types (#2611)

* imp(evm): Move OpcodeHooks into types

* run make format

* fix lint

* update comments

* run make format

---------

Co-authored-by: facs95 <facs95@users.noreply.github.com>

* fix(contracts): Remove unused contract and make script compatible with Python <3.12 (#2613)

* remove unused contract and run make contracts-compile

* remove Union operator to support Python <3.12

* add changelog entry

* build(deps): bump github.com/gorilla/websocket from 1.5.1 to 1.5.2 (#2612)

* build(deps): bump github.com/gorilla/websocket from 1.5.1 to 1.5.2

Bumps [github.com/gorilla/websocket](https://github.com/gorilla/websocket) from 1.5.1 to 1.5.2.
- [Release notes](https://github.com/gorilla/websocket/releases)
- [Commits](https://github.com/gorilla/websocket/compare/v1.5.1...v1.5.2)

---
updated-dependencies:
- dependency-name: github.com/gorilla/websocket
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* update gomod2nix.toml file

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>

* imp: add integration test for precompile tx `CreateValidator` (#2575)

* imp: add integration test for precompile tx CreateValidator

* chore: update comment

* feat(precompile): add staking module create validator integration test

* change hardcoded tendermint pub key with util function

---------

Signed-off-by: Luke <luchenqun@qq.com>
Signed-off-by: stepit <48993133+0xstepit@users.noreply.github.com>
Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>
Co-authored-by: stepit <stefanofrancesco.pitton@gmail.com>

* chore(precompiles): update distribution precompile (#2614)

* chore(precompiles): update distribution precompile

* add changelog entry

* add more test cases

* Update CHANGELOG.md

Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>
Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com>

---------

Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com>
Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>

* build(deps): bump google.golang.org/protobuf from 1.34.1 to 1.34.2 (#2615)

* build(deps): bump google.golang.org/protobuf from 1.34.1 to 1.34.2

Bumps google.golang.org/protobuf from 1.34.1 to 1.34.2.

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* update gomod2nix.toml file

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>

* imp: add integration test for precompile tx `EditValidator` (#2576)

* imp: add integration test for precompile tx EditValidator

* imp: expected validator commission rate remain unchanged

* imp: expected validator commission rate remain unchanged

* update StakingCaller contract

* add edit validator from sc call test

* add fail test case

* add missing checks in test

* Update precompiles/staking/testdata/StakingCaller.json

Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com>

* improve specs readability

* make contracts compile

* add missing checks in tests

* chore: merge the contents of the main branch manually

---------

Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com>
Signed-off-by: stepit <48993133+0xstepit@users.noreply.github.com>
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>
Co-authored-by: tom <tomasguerraalda@hotmail.com>
Co-authored-by: stepit <stefanofrancesco.pitton@gmail.com>
Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>

* imp(precompiles): Add unit test to ensure correct Bech32 addresses for default precompiles (#2597)

* add a test case for the bech32 converted precompile addresses in the default precompiles

* run make format

* address linter

* fix some f-up during merge

* fix changelog

* fix panic when estimating gas during call to precompiles without input

* remove default precompiles bech32 and move to blocked addrs function

* add all Ethereum native precompiles to blocked addresses too

* run make format

* format

* f auto-format

* add comments as suggested in code review

* add utility method for future use to convert addresses

* fix changelog

---------

Co-authored-by: MalteHerrmann <MalteHerrmann@users.noreply.github.com>
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>

* build(deps): bump the npm_and_yarn group across 3 directories with 2 updates (#2616)

Bumps the npm_and_yarn group with 1 update in the /contracts directory: [braces](https://github.com/micromatch/braces).
Bumps the npm_and_yarn group with 2 updates in the /tests/nix_tests/hardhat directory: [braces](https://github.com/micromatch/braces) and [axios](https://github.com/axios/axios).
Bumps the npm_and_yarn group with 1 update in the /tests/solidity directory: [braces](https://github.com/micromatch/braces).


Updates `braces` from 3.0.2 to 3.0.3
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3)

Updates `braces` from 3.0.2 to 3.0.3
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3)

Updates `axios` from 1.6.1 to 1.7.2
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.6.1...v1.7.2)

Updates `braces` from 3.0.2 to 3.0.3
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3)

---
updated-dependencies:
- dependency-name: braces
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: braces
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: axios
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: braces
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>

* feat(precompile): add `FundCommunityPool` precompile tx for distribution module (#2572)

* feat(precompile): add FundCommunityPool precompile tx for distribution module

* chore: update CHANGELOG.md

* chore: add nolint for TestFundCommunityPoolEvent and TestClaimRewardsEvent

* chore: add nolint for TestFundCommunityPoolEvent and TestClaimRewardsEvent

* feat(precompile): add contract can call FundCommunityPool tx

* chore: lint check

* chore: fix make lint and rename delegator to depositor

* update DistributionCaller contract

* add nix tests

* use base denom as in msg build stage

* fix gh action yml

* fix doc

* add sender post balance check

* Update precompiles/distribution/types.go

Signed-off-by: stepit <48993133+0xstepit@users.noreply.github.com>

* chore: bring back deposit and tesatFundCommunityPool methods

---------

Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com>
Signed-off-by: stepit <48993133+0xstepit@users.noreply.github.com>
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>
Co-authored-by: tom <tomasguerraalda@hotmail.com>
Co-authored-by: stepit <stefanofrancesco.pitton@gmail.com>
Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>

* build(deps): bump github.com/cosmos/ibc-go/v7 from 7.4.0 to 7.5.0 (#2556)

* build(deps): bump github.com/cosmos/ibc-go/v7 from 7.4.0 to 7.5.0

Bumps [github.com/cosmos/ibc-go/v7](https://github.com/cosmos/ibc-go) from 7.4.0 to 7.5.0.
- [Release notes](https://github.com/cosmos/ibc-go/releases)
- [Changelog](https://github.com/cosmos/ibc-go/blob/v7.5.0/CHANGELOG.md)
- [Commits](https://github.com/cosmos/ibc-go/compare/v7.4.0...v7.5.0)

---
updated-dependencies:
- dependency-name: github.com/cosmos/ibc-go/v7
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* update gomod2nix.toml file

* gomod tidy

* update go mod

* add query router to ICA host keeper

* update deps

* add changelog entry

* go mod tidy

* fix chlog

* update ICS20 precompile with new TransferAuth field

* run make format

* fix chlog

* fix chlog

* update ics20 nix tests

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>
Co-authored-by: tom <tomasguerraalda@hotmail.com>
Co-authored-by: GAtom22 <GAtom22@users.noreply.github.com>
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>

* build(deps): bump bufbuild/buf-setup-action from 1.32.2 to 1.33.0 (#2621)

Bumps [bufbuild/buf-setup-action](https://github.com/bufbuild/buf-setup-action) from 1.32.2 to 1.33.0.
- [Release notes](https://github.com/bufbuild/buf-setup-action/releases)
- [Commits](https://github.com/bufbuild/buf-setup-action/compare/v1.32.2...v1.33.0)

---
updated-dependencies:
- dependency-name: bufbuild/buf-setup-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>

* build(deps): bump github.com/gorilla/websocket from 1.5.2 to 1.5.3 (#2620)

* build(deps): bump github.com/gorilla/websocket from 1.5.2 to 1.5.3

Bumps [github.com/gorilla/websocket](https://github.com/gorilla/websocket) from 1.5.2 to 1.5.3.
- [Release notes](https://github.com/gorilla/websocket/releases)
- [Commits](https://github.com/gorilla/websocket/compare/v1.5.2...v1.5.3)

---
updated-dependencies:
- dependency-name: github.com/gorilla/websocket
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* update gomod2nix.toml file

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>
Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>

* build(deps): bump docker/build-push-action from 5 to 6 (#2622)

Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 5 to 6.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v5...v6)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump github.com/spf13/cobra from 1.8.0 to 1.8.1 (#2623)

* build(deps): bump github.com/spf13/cobra from 1.8.0 to 1.8.1

Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.8.0 to 1.8.1.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Commits](https://github.com/spf13/cobra/compare/v1.8.0...v1.8.1)

---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* update gomod2nix.toml file

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>

* Change anteutils.TxFeeChecker to authante.TxFeeChecker (#2619)

* change back to use cosmos TxFeeChecker type instead of utils type

* remove unused code

* nit

* nit

* add change log

* chore: clean changelog (#2628)

remove duplicate and fix style

* build(deps): bump github.com/cosmos/ibc-go/v7 from 7.5.2-0.20240607065443-0f1cf8bf766b to 7.6.0 (#2631)

* build(deps): bump github.com/cosmos/ibc-go/v7

Bumps [github.com/cosmos/ibc-go/v7](https://github.com/cosmos/ibc-go) from 7.5.2-0.20240607065443-0f1cf8bf766b to 7.6.0.
- [Release notes](https://github.com/cosmos/ibc-go/releases)
- [Changelog](https://github.com/cosmos/ibc-go/blob/v7.6.0/CHANGELOG.md)
- [Commits](https://github.com/cosmos/ibc-go/commits/v7.6.0)

---
updated-dependencies:
- dependency-name: github.com/cosmos/ibc-go/v7
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* update gomod2nix.toml file

* bump sdk and add chlog entry

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: tom <tomasguerraalda@hotmail.com>

* build(deps-dev): bump ws from 7.5.9 to 7.5.10 in /contracts in the npm_and_yarn group across 1 directory (#2634)

build(deps-dev): bump ws

Bumps the npm_and_yarn group with 1 update in the /contracts directory: [ws](https://github.com/websockets/ws).


Updates `ws` from 7.5.9 to 7.5.10
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/7.5.9...7.5.10)

---
updated-dependencies:
- dependency-name: ws
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* imp(tests): Add function to get ERC-20 balance to integration utils (#2635)

* add get erc20 balance util

* add changelog entry

* add missing license

* build(deps): bump bufbuild/buf-setup-action from 1.33.0 to 1.34.0 (#2637)

Bumps [bufbuild/buf-setup-action](https://github.com/bufbuild/buf-setup-action) from 1.33.0 to 1.34.0.
- [Release notes](https://github.com/bufbuild/buf-setup-action/releases)
- [Commits](https://github.com/bufbuild/buf-setup-action/compare/v1.33.0...v1.34.0)

---
updated-dependencies:
- dependency-name: bufbuild/buf-setup-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump github.com/linxGnu/grocksdb from 1.9.1 to 1.9.2 (#2638)

* build(deps): bump github.com/linxGnu/grocksdb from 1.9.1 to 1.9.2

Bumps [github.com/linxGnu/grocksdb](https://github.com/linxGnu/grocksdb) from 1.9.1 to 1.9.2.
- [Release notes](https://github.com/linxGnu/grocksdb/releases)
- [Commits](https://github.com/linxGnu/grocksdb/compare/v1.9.1...v1.9.2)

---
updated-dependencies:
- dependency-name: github.com/linxGnu/grocksdb
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* update gomod2nix.toml file

* update rocksdb version

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>
Co-authored-by: tom <tomasguerraalda@hotmail.com>

* fix(ci): Ignore Swagger docs in CheckOV linter (#2639)

* ignore client folder in checkov CI

* add changelog entry

* add minor change in go file to trigger cla flow

* Add: Support PebbleDB image (#2630)

* add: config & workflow step for building pebble images

* test: comment out GIT_DIFF condition in build workflow

* Revert "test: comment out GIT_DIFF condition in build workflow"

* test: force a workflow trigger to push test images

* Revert "test: force a workflow trigger to push test images"

* docs: update changelog

* Update: lint

* Revert: build.yml

* Update CHANGELOG.md

Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>
Signed-off-by: Amine <34750005+Aminechakr@users.noreply.github.com>

---------

Signed-off-by: Amine <34750005+Aminechakr@users.noreply.github.com>
Signed-off-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>

* fix(tests): Bump Dockerfile dependency and fix make test-e2e target in Makefile (#2642)

* fix dockerfile and makefile

* fix e2e tests

* add changelog entry

* imp(evm): Remove EthAccount type and use BaseAccount instead (#2633)

* remove use of EthAccount in repository

* remove EthAccount implementation

* add missing license

* wip adding migration logic

* fix migration

* add tests for migration

* run make format

* Update x/evm/genesis.go

Signed-off-by: MalteHerrmann <42640438+MalteHerrmann@users.noreply.github.com>

* address review comments and add test for exporting EVM genesis

* add iterator and corresponding test

* use contract iterator for exporting EVM genesis state

* address more review comments

* remove unused method from interface definition

* apply suggested renaming

* address review comments

* add changelog entry

* add gitleaks allow directive to example contract storage

* move changelog entry to breaking section

* revert change in local node script

---------

Signed-off-by: MalteHerrmann <42640438+MalteHerrmann@users.noreply.github.com>
Co-authored-by: MalteHerrmann <MalteHerrmann@users.noreply.github.com>

* imp(dist): Improve efficiency of reward claiming with distribution precompile (#2643)

* improve reward claim method

* add changelog entry

* address review comments

---------

Signed-off-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>

* build(deps): bump github.com/btcsuite/btcd from 0.24.0 to 0.24.2 (#2641)

* build(deps): bump github.com/btcsuite/btcd from 0.24.0 to 0.24.2

Bumps [github.com/btcsuite/btcd](https://github.com/btcsuite/btcd) from 0.24.0 to 0.24.2.
- [Release notes](https://github.com/btcsuite/btcd/releases)
- [Changelog](https://github.com/btcsuite/btcd/blob/master/CHANGES)
- [Commits](https://github.com/btcsuite/btcd/compare/v0.24.0...v0.24.2)

---
updated-dependencies:
- dependency-name: github.com/btcsuite/btcd
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* update gomod2nix.toml file

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>

* imp(app): Split chain configuration template into EVM config and MemIAVL config (#2644)

* separate EVM config template from full Evmos chain config template for use in other repos

* add changelog entry

* address review comments

* imp(ante): Fix typos in ante package (#2647)

* fix typos in ante package

* address review comments

* build(deps): bump github.com/cometbft/cometbft from 0.37.5 to 0.37.7 (#2646)

* build(deps): bump the go_modules group with 2 updates

Bumps the go_modules group with 2 updates: [github.com/cometbft/cometbft](https://github.com/cometbft/cometbft) and [github.com/hashicorp/go-getter](https://github.com/hashicorp/go-getter).


Updates `github.com/cometbft/cometbft` from 0.37.5 to 0.38.8
- [Release notes](https://github.com/cometbft/cometbft/releases)
- [Changelog](https://github.com/cometbft/cometbft/blob/v0.38.8/CHANGELOG.md)
- [Commits](https://github.com/cometbft/cometbft/compare/v0.37.5...v0.38.8)

Updates `github.com/hashicorp/go-getter` from 1.7.4 to 1.7.5
- [Release notes](https://github.com/hashicorp/go-getter/releases)
- [Changelog](https://github.com/hashicorp/go-getter/blob/main/.goreleaser.yml)
- [Commits](https://github.com/hashicorp/go-getter/compare/v1.7.4...v1.7.5)

---
updated-dependencies:
- dependency-name: github.com/cometbft/cometbft
  dependency-type: direct:production
  dependency-group: go_modules
- dependency-name: github.com/hashicorp/go-getter
  dependency-type: indirect
  dependency-group: go_modules
...

Signed-off-by: dependabot[bot] <support@github.com>

* update gomod2nix.toml file

* update cometbft version bump

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: tom <tomasguerraalda@hotmail.com>
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>

* imp(ante): Decouple EVM decorator utilities from decorator struct (#2648)

* decouple evm decorator utils from concrete implementation

* add changelog entry

* build(deps): bump github.com/cometbft/cometbft from 0.37.7 to 0.37.8 (#2649)

* build(deps): bump github.com/cometbft/cometbft from 0.37.7 to 0.38.9

Bumps [github.com/cometbft/cometbft](https://github.com/cometbft/cometbft) from 0.37.7 to 0.38.9.
- [Release notes](https://github.com/cometbft/cometbft/releases)
- [Changelog](https://github.com/cometbft/cometbft/blob/v0.38.9/CHANGELOG.md)
- [Commits](https://github.com/cometbft/cometbft/compare/v0.37.7...v0.38.9)

---
updated-dependencies:
- dependency-name: github.com/cometbft/cometbft
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* update gomod2nix.toml file

* update bump version

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: tom <tomasguerraalda@hotmail.com>

* imp(scripts): Adjust contract compilation util to include abi.json files (#2650)

* adjust script to include abi.json files too

* rename vesting interface file to match interface name

* adjust utils and precompile ABI loading for Hardhat setup

* clean up after compiling contracts with all target

* recompile abis

* add changelog entry

* run black formatter

* address some more linters

---------

Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>

* build(deps): bump golang from 1.22.4-alpine3.20 to 1.22.5-alpine3.20 (#2654)

Bumps golang from 1.22.4-alpine3.20 to 1.22.5-alpine3.20.

---
updated-dependencies:
- dependency-name: golang
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump google.golang.org/grpc from 1.64.0 to 1.65.0 (#2652)

* build(deps): bump google.golang.org/grpc from 1.64.0 to 1.65.0

Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.64.0 to 1.65.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.64.0...v1.65.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* update gomod2nix.toml file

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>

* Merge pull request from GHSA-68fc-7mhg-6f6c

* fix(stk-precompile): update dirty state

* add create validator tests cases

* fix(distr-precompile): update dirty state

* add additional condition in isContract

* refactor test

* add more functions to the DistrCaller.sol

* fix(ics20-precompile) update dirty state

* chore(tests): add more test cases for ics20 precompile

* add multi-transfer tx test cases

* chore(tests): add more test cases for distr precompile

* Update precompiles/common/precompile.go

Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com>

* refactor getWithdrawerHexAddr func

* chore(staking-precompile): update CreateValidator and EditValidator checks

* chore(tests): update staking precompile tests

* chore(distr-precompile): remove claimRewards method

* make format

* add back claimRewards func commented out

* comment out claimRewards from distr precompile logic

* add staking test with transfer to bonded tokens acc

* chore(ibc-transfer): add escrow account to dirties

* chore(test): add test cases for ics20 precompile and escrow addr

* Update tests/nix_tests/test_ics20_precompile.py

Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>
Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com>

* remove hardcoded exp balance

* fix(precompile): use cache ctx on stateDB

* add journal entry for precompiles

* keep only last writeFn

* add MaxPrecompileCalls limit

* refactor precompile calls logic

* remove unnecessary code

* changes based on review comments

* add StakingReverter tests

* add revert test case for distr precompile

* refactor cache ctx on stateDB

* refactor: move CommitWithCacheCtx to RunSetup

* chore: add events to snapshot

* update ICS20 tests

* fix err msg

* renamve var

* add a func on precompile cmn for journal entry

* rename var

* add comment

* update comment description

* update expected gas in ibc transfer test

* address review comments

* update comt

* tests(ics20): add helper func to setup contract

* tests(ics20): add test for nested revert

* address review comments

* add distr precompile tests

* refactor to remove UpdateDirties func

* Update precompiles/distribution/tx.go

Co-authored-by: Ramiro Carlucho <ramirocarlucho@gmail.com>
Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com>

* update vesting prec

* refactor balance change entries setter func

* add comments

* update comment

* fix sdk fork deps

* comment claimRewards method and test

* add smart contract balance check on test

* remove transient storage logic

* add edge test case with revert on storage change

* revert changes to claimRewards

* refactor var name

* refactor claimRewards logic

* refactor claimRewards logic

* update cosmos-sdk fork with latest changes (no need for store keys deep copy)

* change require with assert for invariant

* update comment

* update cosmos-sdk fork version

* update commit function with latest changes merged from main

* add changelog entry

* update commit func

* fix claimRewards comt

---------

Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com>
Signed-off-by: stepit <48993133+0xstepit@users.noreply.github.com>
Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>
Co-authored-by: Ramiro Carlucho <ramirocarlucho@gmail.com>
Co-authored-by: stepit <stefanofrancesco.pitton@gmail.com>

* chore: update changelog (#2655)

* Merge pull request from GHSA-q6hg-6m9x-5g9c

* fix(precompile): add funder and dest check to update balance

* add more test cases

* restrict funder to be origin or contract caller

* restrict dest address when calling from sc

* add test case with funds transfer within precompile call

* remove print

* add check for dirty addresses

* add UpdateDirties func

* update dirties helper func

* Update precompiles/vesting/utils_test.go

Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>
Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com>

* update comment description

* changes based on review comments

* refactor updateDirties

* add test cases for updating funder balance before and after precompile call

* add revert state test

* update tx logic

* update integration tests

* refactor auth logic

* update tests

* add comt

* fix: add funder and vest acc to dirties

* add test cases for latest changes

* address review comments

* address review comments

* address review comments

* fix FlashLoan contract compilation

* update logic

* use pointer in precompile txs

* remove unnecessary comment

---------

Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com>
Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>

* chore: update CHANGELOG & fix linter (#2657)

* add changelog entry

* run make format

* fix lint warnings

* update known exceptions

* fix lint warnings

* fix lint warnings

* fix lint warnings

* update solidity test suite deps

---------

Co-authored-by: GAtom22 <GAtom22@users.noreply.github.com>

* [Snyk] Security upgrade golang from 1.22.3-bullseye to 1.23rc1-bullseye (#2656)

fix: tests/e2e/Dockerfile.repo to reduce vulnerabilities

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-DEBIAN11-GNUTLS28-6159417
- https://snyk.io/vuln/SNYK-DEBIAN11-GNUTLS28-6159419
- https://snyk.io/vuln/SNYK-DEBIAN11-LIBSSH2-5861756
- https://snyk.io/vuln/SNYK-DEBIAN11-CURL-3320493
- https://snyk.io/vuln/SNYK-DEBIAN11-ZLIB-6008961

Co-authored-by: snyk-bot <snyk-bot@snyk.io>
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>

* feat(vm): move geth vm from fork to evmOS codebase (#2663)

* temp

* run make format

* fix unit tests

* fix imports

* add changelog entry

* exclude x/evm/core from license checker

* remove unnecessary rawdb

* remove unused runtime folder

* semgrep: skip iteration if map is empty

* add new x/evm/folder to ignored path in golangci-lint

* feat(evm): add custom EIPs to VM (#2629)

* chore: add custom eips integration tests (#2661)

* update custom eips + test

* move eips to eips package

* add eips tests

* run make format

* revert an error

* add missing license to file

* remove unused func

* enable extra eip and refactor tests

* add readme

* Apply suggestions from code review

Signed-off-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>

* update doc and remove unused default eips

* make markdown linter happy

* fix lint

---------

Signed-off-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: 0xstepit <0xstepit@users.noreply.github.com>
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>

* chore: merge main (#2662)

* chore: clean changelog (#2628)

remove duplicate and fix style

* build(deps): bump github.com/cosmos/ibc-go/v7 from 7.5.2-0.20240607065443-0f1cf8bf766b to 7.6.0 (#2631)

* build(deps): bump github.com/cosmos/ibc-go/v7

Bumps [github.com/cosmos/ibc-go/v7](https://github.com/cosmos/ibc-go) from 7.5.2-0.20240607065443-0f1cf8bf766b to 7.6.0.
- [Release notes](https://github.com/cosmos/ibc-go/releases)
- [Changelog](https://github.com/cosmos/ibc-go/blob/v7.6.0/CHANGELOG.md)
- [Commits](https://github.com/cosmos/ibc-go/commits/v7.6.0)

---
updated-dependencies:
- dependency-name: github.com/cosmos/ibc-go/v7
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* update gomod2nix.toml file

* bump sdk and add chlog entry

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: tom <tomasguerraalda@hotmail.com>

* build(deps-dev): bump ws from 7.5.9 to 7.5.10 in /contracts in the npm_and_yarn group across 1 directory (#2634)

build(deps-dev): bump ws

Bumps the npm_and_yarn group with 1 update in the /contracts directory: [ws](https://github.com/websockets/ws).


Updates `ws` from 7.5.9 to 7.5.10
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/7.5.9...7.5.10)

---
updated-dependencies:
- dependency-name: ws
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* imp(tests): Add function to get ERC-20 balance to integration utils (#2635)

* add get erc20 balance util

* add changelog entry

* add missing license

* build(deps): bump bufbuild/buf-setup-action from 1.33.0 to 1.34.0 (#2637)

Bumps [bufbuild/buf-setup-action](https://github.com/bufbuild/buf-setup-action) from 1.33.0 to 1.34.0.
- [Release notes](https://github.com/bufbuild/buf-setup-action/releases)
- [Commits](https://github.com/bufbuild/buf-setup-action/compare/v1.33.0...v1.34.0)

---
updated-dependencies:
- dependency-name: bufbuild/buf-setup-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump github.com/linxGnu/grocksdb from 1.9.1 to 1.9.2 (#2638)

* build(deps): bump github.com/linxGnu/grocksdb from 1.9.1 to 1.9.2

Bumps [github.com/linxGnu/grocksdb](https://github.com/linxGnu/grocksdb) from 1.9.1 to 1.9.2.
- [Release notes](https://github.com/linxGnu/grocksdb/releases)
- [Commits](https://github.com/linxGnu/grocksdb/compare/v1.9.1...v1.9.2)

---
updated-dependencies:
- dependency-name: github.com/linxGnu/grocksdb
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* update gomod2nix.toml file

* update rocksdb version

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>
Co-authored-by: tom <tomasguerraalda@hotmail.com>

* fix(ci): Ignore Swagger docs in CheckOV linter (#2639)

* ignore client folder in checkov CI

* add changelog entry

* add minor change in go file to trigger cla flow

* Add: Support PebbleDB image (#2630)

* add: config & workflow step for building pebble images

* test: comment out GIT_DIFF condition in build workflow

* Revert "test: comment out GIT_DIFF condition in build workflow"

* test: force a workflow trigger to push test images

* Revert "test: force a workflow trigger to push test images"

* docs: update changelog

* Update: lint

* Revert: build.yml

* Update CHANGELOG.md

Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>
Signed-off-by: Amine <34750005+Aminechakr@users.noreply.github.com>

---------

Signed-off-by: Amine <34750005+Aminechakr@users.noreply.github.com>
Signed-off-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>

* fix(tests): Bump Dockerfile dependency and fix make test-e2e target in Makefile (#2642)

* fix dockerfile and makefile

* fix e2e tests

* add changelog entry

* imp(evm): Remove EthAccount type and use BaseAccount instead (#2633)

* remove use of EthAccount in repository

* remove EthAccount implementation

* add missing license

* wip adding migration logic

* fix migration

* add tests for migration

* run make format

* Update x/evm/genesis.go

Signed-off-by: MalteHerrmann <42640438+MalteHerrmann@users.noreply.github.com>

* address review comments and add test for exporting EVM genesis

* add iterator and corresponding test

* use contract iterator for exporting EVM genesis state

* address more review comments

* remove unused method from interface definition

* apply suggested renaming

* address review comments

* add changelog entry

* add gitleaks allow directive to example contract storage

* move changelog entry to breaking section

* revert change in local node script

---------

Signed-off-by: MalteHerrmann <42640438+MalteHerrmann@users.noreply.github.com>
Co-authored-by: MalteHerrmann <MalteHerrmann@users.noreply.github.com>

* imp(dist): Improve efficiency of reward claiming with distribution precompile (#2643)

* improve reward claim method

* add changelog entry

* address review comments

---------

Signed-off-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>

* build(deps): bump github.com/btcsuite/btcd from 0.24.0 to 0.24.2 (#2641)

* build(deps): bump github.com/btcsuite/btcd from 0.24.0 to 0.24.2

Bumps [github.com/btcsuite/btcd](https://github.com/btcsuite/btcd) from 0.24.0 to 0.24.2.
- [Release notes](https://github.com/btcsuite/btcd/releases)
- [Changelog](https://github.com/btcsuite/btcd/blob/master/CHANGES)
- [Commits](https://github.com/btcsuite/btcd/compare/v0.24.0...v0.24.2)

---
updated-dependencies:
- dependency-name: github.com/btcsuite/btcd
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* update gomod2nix.toml file

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>

* imp(app): Split chain configuration template into EVM config and MemIAVL config (#2644)

* separate EVM config template from full Evmos chain config template for use in other repos

* add changelog entry

* address review comments

* imp(ante): Fix typos in ante package (#2647)

* fix typos in ante package

* address review comments

* build(deps): bump github.com/cometbft/cometbft from 0.37.5 to 0.37.7 (#2646)

* build(deps): bump the go_modules group with 2 updates

Bumps the go_modules group with 2 updates: [github.com/cometbft/cometbft](https://github.com/cometbft/cometbft) and [github.com/hashicorp/go-getter](https://github.com/hashicorp/go-getter).


Updates `github.com/cometbft/cometbft` from 0.37.5 to 0.38.8
- [Release notes](https://github.com/cometbft/cometbft/releases)
- [Changelog](https://github.com/cometbft/cometbft/blob/v0.38.8/CHANGELOG.md)
- [Commits](https://github.com/cometbft/cometbft/compare/v0.37.5...v0.38.8)

Updates `github.com/hashicorp/go-getter` from 1.7.4 to 1.7.5
- [Release notes](https://github.com/hashicorp/go-getter/releases)
- [Changelog](https://github.com/hashicorp/go-getter/blob/main/.goreleaser.yml)
- [Commits](https://github.com/hashicorp/go-getter/compare/v1.7.4...v1.7.5)

---
updated-dependencies:
- dependency-name: github.com/cometbft/cometbft
  dependency-type: direct:production
  dependency-group: go_modules
- dependency-name: github.com/hashicorp/go-getter
  dependency-type: indirect
  dependency-group: go_modules
...

Signed-off-by: dependabot[bot] <support@github.com>

* update gomod2nix.toml file

* update cometbft version bump

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: tom <tomasguerraalda@hotmail.com>
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>

* imp(ante): Decouple EVM decorator utilities from decorator struct (#2648)

* decouple evm decorator utils from concrete implementation

* add changelog entry

* build(deps): bump github.com/cometbft/cometbft from 0.37.7 to 0.37.8 (#2649)

* build(deps): bump github.com/cometbft/cometbft from 0.37.7 to 0.38.9

Bumps [github.com/cometbft/cometbft](https://github.com/cometbft/cometbft) from 0.37.7 to 0.38.9.
- [Release notes](https://github.com/cometbft/cometbft/releases)
- [Changelog](https://github.com/cometbft/cometbft/blob/v0.38.9/CHANGELOG.md)
- [Commits](https://github.com/cometbft/cometbft/compare/v0.37.7...v0.38.9)

---
updated-dependencies:
- dependency-name: github.com/cometbft/cometbft
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* update gomod2nix.toml file

* update bump version

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: tom <tomasguerraalda@hotmail.com>

* imp(scripts): Adjust contract compilation util to include abi.json files (#2650)

* adjust script to include abi.json files too

* rename vesting interface file to match interface name

* adjust utils and precompile ABI loading for Hardhat setup

* clean up after compiling contracts with all target

* recompile abis

* add changelog entry

* run black formatter

* address some more linters

---------

Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>

* build(deps): bump golang from 1.22.4-alpine3.20 to 1.22.5-alpine3.20 (#2654)

Bumps golang from 1.22.4-alpine3.20 to 1.22.5-alpine3.20.

---
updated-dependencies:
- dependency-name: golang
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump google.golang.org/grpc from 1.64.0 to 1.65.0 (#2652)

* build(deps): bump google.golang.org/grpc from 1.64.0 to 1.65.0

Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.64.0 to 1.65.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.64.0...v1.65.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* update gomod2nix.toml file

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>

* Merge pull request from GHSA-68fc-7mhg-6f6c

* fix(stk-precompile): update dirty state

* add create validator tests cases

* fix(distr-precompile): update dirty state

* add additional condition in isContract

* refactor test

* add more functions to the DistrCaller.sol

* fix(ics20-precompile) update dirty state

* chore(tests): add more test cases for ics20 precompile

* add multi-transfer tx test cases

* chore(tests): add more test cases for distr precompile

* Update precompiles/common/precompile.go

Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com>

* refactor getWithdrawerHexAddr func

* chore(staking-precompile): update CreateValidator and EditValidator checks

* chore(tests): update staking precompile tests

* chore(distr-precompile): remove claimRewards method

* make format

* add back claimRewards func commented out

* comment out claimRewards from distr precompile logic

* add staking test with transfer to bonded tokens acc

* chore(ibc-transfer): add escrow account to dirties

* chore(test): add test cases for ics20 precompile and escrow addr

* Update tests/nix_tests/test_ics20_precompile.py

Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>
Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com>

* remove hardcoded exp balance

* fix(precompile): use cache ctx on stateDB

* add journal entry for precompiles

* keep only last writeFn

* add MaxPrecompileCalls limit

* refactor precompile calls logic

* remove unnecessary code

* changes based on review comments

* add StakingReverter tests

* add revert test case for distr precompile

* refactor cache ctx on stateDB

* refactor: move CommitWithCacheCtx to RunSetup

* chore: add events to snapshot

* update ICS20 tests

* fix err msg

* renamve var

* add a func on precompile cmn for journal entry

* rename var

* add comment

* update comment description

* update expected gas in ibc transfer test

* address review comments

* update comt

* tests(ics20): add helper func to setup contract

* tests(ics20): add test for nested revert

* address review comments

* add distr precompile tests

* refactor to remove UpdateDirties func

* Update precompiles/distribution/tx.go

Co-authored-by: Ramiro Carlucho <ramirocarlucho@gmail.com>
Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com>

* update vesting prec

* refactor balance change entries setter func

* add comments

* update comment

* fix sdk fork deps

* comment claimRewards method and test

* add smart contract balance check on test

* remove transient storage logic

* add edge test case with revert on storage change

* revert changes to claimRewards

* refactor var name

* refactor claimRewards logic

* refactor claimRewards logic

* update cosmos-sdk fork with latest changes (no need for store keys deep copy)

* change require with assert for invariant

* update comment

* update cosmos-sdk fork version

* update commit function with latest changes merged from main

* add changelog entry

* update commit func

* fix claimRewards comt

---------

Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com>
Signed-off-by: stepit <48993133+0xstepit@users.noreply.github.com>
Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>
Co-authored-by: Ramiro Carlucho <ramirocarlucho@gmail.com>
Co-authored-by: stepit <stefanofrancesco.pitton@gmail.com>

* chore: update changelog (#2655)

* Merge pull request from GHSA-q6hg-6m9x-5g9c

* fix(precompile): add funder and dest check to update balance

* add more test cases

* restrict funder to be origin or contract caller

* restrict dest address when calling from sc

* add test case with funds transfer within precompile call

* remove print

* add check for dirty addresses

* add UpdateDirties func

* update dirties helper func

* Update precompiles/vesting/utils_test.go

Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>
Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com>

* update comment description

* changes based on review comments

* refactor updateDirties

* add test cases for updating funder balance before and after precompile call

* add revert state test

* update tx logic

* update integration tests

* refactor auth logic

* update tests

* add comt

* fix: add funder and vest acc to dirties

* add test cases for latest changes

* address review comments

* address review comments

* address review comments

* fix FlashLoan contract compilation

* update logic

* use pointer in precompile txs

* remove unnecessary comment

---------

Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com>
Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>

* chore: update CHANGELOG & fix linter (#2657)

* add changelog entry

* run make format

* fix lint warnings

* update known exceptions

* fix lint warnings

* fix lint warnings

* fix lint warnings

* update solidity test suite deps

---------

Co-authored-by: GAtom22 <GAtom22@users.noreply.github.com>

* [Snyk] Security upgrade golang from 1.22.3-bullseye to 1.23rc1-bullseye (#2656)

fix: tests/e2e/Dockerfile.repo to reduce vulnerabilities

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-DEBIAN11-GNUTLS28-6159417
- https://snyk.io/vuln/SNYK-DEBIAN11-GNUTLS28-6159419
- https://snyk.io/vuln/SNYK-DEBIAN11-LIBSSH2-5861756
- https://snyk.io/vuln/SNYK-DEBIAN11-CURL-3320493
- https://snyk.io/vuln/SNYK-DEBIAN11-ZLIB-6008961

Co-authored-by: snyk-bot <snyk-bot@snyk.io>
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>

* update certificate

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Amine <34750005+Aminechakr@users.noreply.github.com>
Signed-off-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
Signed-off-by: MalteHerrmann <42640438+MalteHerrmann@users.noreply.github.com>
Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com>
Signed-off-by: stepit <48993133+0xstepit@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: tom <tomasguerraalda@hotmail.com>
Co-authored-by: MalteHerrmann <42640438+MalteHerrmann@users.noreply.github.com>
Co-authored-by: Amine <34750005+Aminechakr@users.noreply.github.com>
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: MalteHerrmann <MalteHerrmann@users.noreply.github.com>
Co-authored-by: Ramiro Carlucho <ramirocarlucho@gmail.com>
Co-authored-by: GAtom22 <GAtom22@users.noreply.github.com>
Co-authored-by: snyk-bot <snyk-bot@snyk.io>

* chore: merge main again

* run make format

* Update CHANGELOG.md

Signed-off-by: Guillermo Paoletti <guillermo.paoletti@gmail.com>

* fix: remove import

* chore: ignore linter on geth code

---------

Signed-off-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Amine <34750005+Aminechakr@users.noreply.github.com>
Signed-off-by: MalteHerrmann <42640438+MalteHerrmann@users.noreply.github.com>
Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com>
Signed-off-by: stepit <48993133+0xstepit@users.noreply.github.com>
Signed-off-by: Guillermo Paoletti <guillermo.paoletti@gmail.com>
Co-authored-by: Freddy Caceres <facs95@gmail.com>
Co-authored-by: 0xstepit <0xstepit@users.noreply.github.com>
Co-authored-by: stepit <stefanofrancesco.pitton@gmail.com>
Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: tom <tomasguerraalda@hotmail.com>
Co-authored-by: MalteHerrmann <42640438+MalteHerrmann@users.noreply.github.com>
Co-authored-by: Amine <34750005+Aminechakr@users.noreply.github.com>
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>
Co-authored-by: MalteHerrmann <MalteHerrmann@users.noreply.github.com>
Co-authored-by: Ramiro Carlucho <ramirocarlucho@gmail.com>
Co-authored-by: GAtom22 <GAtom22@users.noreply.github.com>
Co-authored-by: snyk-bot <snyk-bot@snyk.io>
Co-authored-by: hanchon <hanchon@users.noreply.github.com>

* build(deps): bump golang.org/x/net from 0.26.0 to 0.27.0 (#2660)

* build(deps): bump golang.org/x/net from 0.26.0 to 0.27.0

Bumps [golang.org/x/net](https://github.com/golang/net) from 0.26.0 to 0.27.0.
- [Commits](https://github.com/golang/net/compare/v0.26.0...v0.27.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* update gomod2nix.toml file

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Vladislav Varadinov <vladislav.varadinov@gmail.com>

* build(deps): bump github.com/cometbft/cometbft from 0.37.8 to 0.37.9 (#2671)

* build(deps): bump github.com/cometbft/cometbft from 0.37.8 to 0.38.10

Bumps [github.com/cometbft/cometbft](https://github.com/cometbft/cometbft) from 0.37.8 to 0.38.10.
- [Release notes](https://github.com/cometbft/cometbft/releases)
- [Changelog](https://github.com/cometbft/cometbft/blob/v0.38.10/CHANGELOG.md)
- [Commits](https://github.com/cometbft/cometbft/compare/v0.37.8...v0.38.10)

---
updated-dependencies:
- dependency-name: github.com/cometbft/cometbft
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* update gomod2nix.toml file

* build(deps): bump github.com/cometbft/cometbft from 0.37.8 to 0.37.9

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: tom <tomasguerraalda@hotmail.com>

* feat(str): Single Token Representation V2 (#2607)

* working version

* opcode changes

* run make format

* tests compiling

* fix lint

* run make format

* fix erc20 precompiles tests

* fix genesis state

* fix some tests

* fix lint

* update erc20 contracts

* delete registercoin method. Delete proposal register. fix some tests

* add native token check on ibc transfer. fix tests.

* fix linter

* fix tests

* run make format

* add nix tests

* fix nix tests

* fix protos

* feat(str): migration code (#2632)

* minor changes

* missing tests

* run make format

* update docstring + lint

* remove redundant check

* move duplicate util to utils package

* move number to constant

* small opt + remove unused

* Update app/app.go

Signed-off-by: stepit <48993133+0xstepit@users.noreply.github.com>

* Update ibc/utils.go

Signed-off-by: stepit <48993133+0xstepit@users.noreply.github.com>

* Update x/evm/types/params.go

Signed-off-by: stepit <48993133+0xstepit@users.noreply.github.com>

* Update x/erc20/module.go

Signed-off-by: stepit <48993133+0xstepit@users.noreply.github.com>

* Update x/erc20/module.go

Signed-off-by: stepit <48993133+0xstepit@users.noreply.github.com>

* fix merge

* minor changes

* add check on errors

* add error check

* fix token factory

* run migration

* feat(str): revert test for erc20 precompile (#2670)

* wip: reverter test

* run transfer

* transfer and send tests and fix

* check sender balance

* run make format

* test with try

* lint

* lint

* lint

* add licenses

---------

Signed-off-by: Ramiro Carlucho <ramirocarlucho@gmail.com>
Co-authored-by: ramacarlucho <ramacarlucho@users.noreply.github.com>

* fix comments. Add changelog

---------

Signed-off-by: stepit <48993133+0xstepit@users.noreply.github.com>
Signed-off-by: Ramiro Carlucho <ramirocarlucho@gmail.com>
Co-authored-by: facs95 <facs95@users.noreply.github.com>
Co-authored-by: Ramiro Carlucho <ramirocarlucho@gmail.com>
Co-authored-by: ramacarlucho <ramacarlucho@users.noreply.github.com>
Co-authored-by: stepit <stefanofrancesco.pitton@gmail.com>
Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>

* chore(ci): add action to auto-format python files (#2673)

* chore(ci): add action to auto-format python files

* run make format-python

* update action job name

* run make format-python

* add job to existing yaml

* fix linter call order

* run make format-python

* add line length on black formatter

* run make format-python

* revert - add line length on black formatter

* run make format-python

* add pylint config file

* run make format-python

* fix lint err

* run make format-python

* fix lint err

* keep only changed config param

---------

Co-authored-by: GAtom22 <GAtom22@users.noreply.github.com>
Co-authored-by: dev-evmos <dev-evmos@users.noreply.github.com>

* imp(changelog): Minor changelog clean ups to fix linter (#2675)

clean changelog

* chore(app): bump version to v19 (#2674)

bump version to v19

* build(deps): bump github.com/holiman/uint256 from 1.2.1 to 1.3.0 (#2676)

* build(deps): bump github.com/holiman/uint256 from 1.2.1 to 1.3.0

Bumps [github.com/holiman/uint256](https://github.com/holiman/uint256) from 1.2.1 to 1.3.0.
- [Release notes](https://github.com/holiman/uint256/releases)
- [Commits](https://github.com/holiman/uint256/compare/v1.2.1...v1.3.0)

---
updated-dependencies:
- dependency-name: github.com/holiman/uint256
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* update gomod2nix.toml file

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: MalteHerrmann <42640438+MalteHerrmann@users.noreply.github.com>

* chore: fix some comments (#2681)

Signed-off-by: pudongair <744355276@qq.com>

* chore: migration to enable custom eips (#2667)

* add eips migration + tests

* run make format

* Apply suggestions from code review

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Signed-off-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>

* Update app/upgrades/v19/upgrades.go

Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
Signed-off-by: stepit <48993133+0xstepit@users.noreply.github.com>

* Update app/upgrades/v19/upgrades.go

Signed-off-by: stepit <48993133+0xstepit@users.noreply.github.com>

* Update app/upgrades/v19/upgrades.go

Signed-off-by: stepit <48993133+0xstepit@users.noreply.github.com>

* review comments

* better logging

* Update app/upgrades/v19/upgrades_test.go

Co-authored-by: MalteHerrmann <42640438+MalteHerrmann@users.noreply.github.com>
Signed-off-by: stepit <48993133+0xstepit@users.noreply.github.com>

* apply suggestions

* fix

* update activators type to use string keys

* move proto to v8 and update types name

* regenerate new …
GAtom22 added a commit that referenced this pull request Sep 6, 2024
* wip - bump sdk to v0.50

* update chlog

* fix Dec imports and tests NewContext

* address more issues

* refactor deliverTx abci method

* replace cometbft-db dep

* replace AccountI imports and context in Keepers interface

* update keeper instantiation and interfaces

* update more keepers interfaces

* fix keepers and modules interfaces

* fix more issues

* fix more issues

* fix more issues on return signatures

* refactor api server start func

* refactor rosetta config

* refactor rosetta start func

* fix more issues

* fix more issues

* fix more issues

* update proto

* fix migration proto types

* fix more issues

* update ibc v8

* fix more issues

* add getMsgsV2 to msgEthTx

* fix signByAddress calls

* remove deprecated Handlers

* refactor BeginBlock and EndBlock in modules

* fix context type issues

* fix testutil network setup

* fix more issues

* fix more issues

* fix more issues

* remove simapp pkg

* update sdk to evmos fork

* remove rosetta dep temprarily to compile

* fix comment

* update init cmd

* set expedited_voting_period in local_node.sh

* changes to support auto cli

* update proto with amino.proto

* fix encoding and interface registration

* add version and name

* fix genesis parsing

* run make format

* fix createTx util func

* make format

* go mod tidy and update cosmossdk pkgs imports

* fix some types

* make proto-all

* fix merge issues

* update bank mock

* address some lint issues

* fix compilation issues

* fix delegation creation

* update helper and setup functions

* update go version in gh workflows

* add pulsar proto gen and start getSigner logic

* finish customGetSigner logic

* add rosetta with patched version

* add rosetta config to configTemplate

* gomod2nix generate

* make format

* chore(tests): update testing setup for sdk v0.50 (#2193)

* update testing setup for custom genesis

* fix evm integration test

* refactor p256 integration tests

* refactor update params

* refactor v16 upgrade test

* fix comment

* add gov setup and generic type

* refactor genesis setup

* add comments

* update gen setup funcs

* funder functions refactor

* fix nextBlockAfter func

* wip - start fixing erc20 precompile integration tests

* add next block to update acc nonce

* changes based on review comments

* refactor update params funcs

* improve err msg

* remove unused imports

* add comments

* make format

* refactor based on review comments

* refactor evm integration tests based on review comments

* make format

* handle error on iterations (export.go)

* chore(test): migrate evm keeper tests (#2209)

* fix problems

* add bank genesis custom fn

* add feemkt custom gen fn

* wip - start evm test refactor

* fix bugs on setup

* refactor fees tests

* refactor statedb tests

* fix setAccount panic

* add events utils

* add new suite

* fix(evm): Fix EVM msg_server tests (#2281)

* imp(evm): Fix EVM msg_server tests

* add comment

* fix(evm): fix `state_transition` unit tests (#2283)

* fix TestGetHashFn test

* convert validator address to hex

* fix test IntrinsicGas

* fix TestApplyMessage

* fix TestApplyMessage

* reformat GasRefundTest

* TestGasRefund fix

* run format

* fix all tests

* fix imports

* target review comments

* add licenses

* update comment

* rename function

* rename file

* fix licenses

* fix(evm): Fix `grpc_query` tests (#2287)

* fix QueryAccount PR

* fix TestQueryCosmosAccount

* fix TestQuery

* fix TestQueryStorage

* fix TestQueryCode

* fix TestQueryParams

* fix TestEstimateGas

* temporary tests

* trace transaction update

* refactor TraceTx tests

* refractor traceBlock

* refractor functions

* refactor tracing tests

* refractor test query BaseFee

* refractor eth call

* refractor TestEmptyRequest

* refractor TestQueryValidatorAccount

* refractor TestEstimateGas

* refractor TestTrace

* Update x/evm/keeper/grpc_query_test.go

Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>

* fix non determinism

* fix comments

* review comments

---------

Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>

* chore(tests): update nix setup for sdk v0.50 (#2318)

* bump go version to 1.21

* comment out unsoported rocksdb build

* remove unnecessary flag

* update config and patch

* bump hermes version to v1.8.0

* run make format

* address lint issues

* address lint issues

---------

Co-authored-by: GAtom22 <GAtom22@users.noreply.github.com>

* fix(tests): Fix statedb and abci tests on the EVM module (#2325)

* fix suicide statedb test

* fix abci_test

* run make format

---------

Co-authored-by: facs95 <facs95@users.noreply.github.com>

* add missing licenses

* add wait for blocks fn using http

* Apply suggestions from code review

Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>

* changes based on review comments

* fix(tests): refactor genesis and handler tests for sdk v0.50 (#2328)

* fix(tests): refactor genesis and handler tests for sdk v0.50

* add corresponding acc number

* fund fee collector for refunds

* address lint issues

---------

Co-authored-by: Freddy Caceres <facs95@gmail.com>
Co-authored-by: GAtom22 <GAtom22@users.noreply.github.com>
Co-authored-by: facs95 <facs95@users.noreply.github.com>
Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>

* chore(tests): refactor EVM anteHandler tests (#2338)

* fix problems

* add bank genesis custom fn

* add feemkt custom gen fn

* wip - start evm test refactor

* fix bugs on setup

* refactor fees tests

* refactor statedb tests

* fix setAccount panic

* add events utils

* add new suite

* fix(evm): Fix EVM msg_server tests (#2281)

* imp(evm): Fix EVM msg_server tests

* add comment

* fix(evm): fix `state_transition` unit tests (#2283)

* fix TestGetHashFn test

* convert validator address to hex

* fix test IntrinsicGas

* fix TestApplyMessage

* fix TestApplyMessage

* reformat GasRefundTest

* TestGasRefund fix

* run format

* fix all tests

* fix imports

* target review comments

* add licenses

* update comment

* rename function

* rename file

* fix licenses

* fix(evm): Fix `grpc_query` tests (#2287)

* fix QueryAccount PR

* fix TestQueryCosmosAccount

* fix TestQuery

* fix TestQueryStorage

* fix TestQueryCode

* fix TestQueryParams

* fix TestEstimateGas

* temporary tests

* trace transaction update

* refactor TraceTx tests

* refractor traceBlock

* refractor functions

* refactor tracing tests

* refractor test query BaseFee

* refractor eth call

* refractor TestEmptyRequest

* refractor TestQueryValidatorAccount

* refractor TestEstimateGas

* refractor TestTrace

* Update x/evm/keeper/grpc_query_test.go

Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>

* fix non determinism

* fix comments

* review comments

---------

Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>

* chore(tests): update nix setup for sdk v0.50 (#2318)

* bump go version to 1.21

* comment out unsoported rocksdb build

* remove unnecessary flag

* update config and patch

* bump hermes version to v1.8.0

* run make format

* address lint issues

* address lint issues

---------

Co-authored-by: GAtom22 <GAtom22@users.noreply.github.com>

* fix(tests): Fix statedb and abci tests on the EVM module (#2325)

* fix suicide statedb test

* fix abci_test

* run make format

---------

Co-authored-by: facs95 <facs95@users.noreply.github.com>

* add missing licenses

* add wait for blocks fn using http

* Apply suggestions from code review

Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>

* changes based on review comments

* fix(tests): refactor genesis and handler tests for sdk v0.50 (#2328)

* fix(tests): refactor genesis and handler tests for sdk v0.50

* add corresponding acc number

* fund fee collector for refunds

* address lint issues

* refactor for UpdateFeemarket in gas_wanted

* refactor setup and fix compilation errors

* refactor tests

* fix string to addr convertion in vesting ante

* add regression amino testing to encoding config

* refactor denom used on tests to use suite denom

* fix eip712 get signers logic

* remove MsgEthereumTx signers annotation cause has a customGetSigners

* refactor math pkg import name

* remove redundant code in test setup

* fix EIP712 legacy verification

* fix lint warning

* add empty tx check

* fix eth tx feemarket tests

* fix sigs_tests and refactor utils funcs

* remove refactored code

* fix consensus params customization

* fix refactoring on integration test tx factory

* add comment

* update comments

* remove commented code

---------

Co-authored-by: Freddy Caceres <facs95@gmail.com>
Co-authored-by: GAtom22 <GAtom22@users.noreply.github.com>
Co-authored-by: facs95 <facs95@users.noreply.github.com>
Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>

* chore(tests): refactor cosmos anteHandler and ante utils tests (#2346)

* refactor setup to reuse in cosmos ante tests

* refactor cosmos ante setup and fix compilation errors

* refactor tests

* fix RejectMsgsInAuthz tests

* run make format

* fix lint issue

* fix ante utils tests

* changes based on review comments

---------

Co-authored-by: GAtom22 <GAtom22@users.noreply.github.com>

* chore(test): refactor anteHandler integration test (#2353)

* refactor integration test

* run make format

* run make format

* fix comment

* fix lint issue

* Update testutil/integration/common/grpc/distribution.go

Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>

---------

Co-authored-by: GAtom22 <GAtom22@users.noreply.github.com>
Co-authored-by: dev-evmos <dev-evmos@users.noreply.github.com>
Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>

* remove duplicated helper func

* chore(tests): fix EIP712 tests (#2354)

* fix eip712 test

* fix preprocess tx tests

* add comment

* chore(tests): fix bech32 precompiled tests

* chore(tests): migrate bank precompiles tests (#2363)

* fix nil pointer

* refactor ctx

* fix bank precompile unit tests

* precompiles(bank) start integration test refactor

* fix setup for integration test

* remove unnecessary code

* fix tests

* run make format

* changes based on review comments

* add missing licenses

---------

Co-authored-by: GAtom22 <GAtom22@users.noreply.github.com>

* chore(tests): migrate epochs module tests (#2369)

* refactor suite

* update suite and tests

* complete begin block and init genesis test

* complete abci test refactoring

* refactor epoch info tests

* update grpc query tests

* run make format

* remove genesis handler function check

* move frequently used names as const

* refactor test structure

* run make format

* Update x/epochs/keeper/setup_test.go

Co-authored-by: MalteHerrmann <42640438+MalteHerrmann@users.noreply.github.com>

* apply review suggestion

---------

Co-authored-by: 0xstepit <0xstepit@users.noreply.github.com>
Co-authored-by: MalteHerrmann <42640438+MalteHerrmann@users.noreply.github.com>

* chore(tests): migrate distribution precompiled tests (#2364)

* update setup and fix compilation errors

* fix testClaimRewards

* remove unnecessary code

* fix testClaimsEvents

* fix testDelegationRewards

* fix testDelegationTotalRewards

* fix lint issue

* fix WithdrawDelegatorRewards

* fix testRun

* fix validatorCommision test

* fix validatorDistrInfo test

* fix ValidatorOutstandingRewards query test

* fix ValidatorSlashes query test

* run make format

* fix WithdrawValCommission tests

* fix events tests

* fix setup for integration test

* refactor some test cases

* make format

* run make format

* add withdraw rewards to withdrawer tests

* fix flag on distr precompile and fix withdrawer tests

* fix contract as delegator tests

* fix some queries tests

* add comment

* fix slashing tests

* fix tests

* fix expected rewards

* remove unnecessary code

* run make format

* run make format

* fix account num in evm keeper test

* remove global test suite variable

* run make format

* Update precompiles/distribution/tx_test.go

Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>

* changes based on review comments

* Apply suggestions from code review

Co-authored-by: MalteHerrmann <42640438+MalteHerrmann@users.noreply.github.com>

* break on iteration error

* Update precompiles/distribution/query_test.go

Co-authored-by: MalteHerrmann <42640438+MalteHerrmann@users.noreply.github.com>

* fix issues

* refactor based on review comments

* run make format

* Revert "refactor based on review comments"

This reverts commit 8ebee30c5fc4a9299e82551409afc8b28d6cd033.

* refactor based on new factory design

* run make format

* separate unit and integration tests

---------

Co-authored-by: GAtom22 <GAtom22@users.noreply.github.com>
Co-authored-by: dev-evmos <dev-evmos@users.noreply.github.com>
Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>
Co-authored-by: MalteHerrmann <42640438+MalteHerrmann@users.noreply.github.com>

* chore(tests): migrate staking precompile tests (#2384)

* update setup and fix compilation errors

* fix testClaimRewards

* remove unnecessary code

* fix testClaimsEvents

* fix testDelegationRewards

* fix testDelegationTotalRewards

* fix lint issue

* fix WithdrawDelegatorRewards

* fix testRun

* fix validatorCommision test

* fix validatorDistrInfo test

* fix ValidatorOutstandingRewards query test

* fix ValidatorSlashes query test

* run make format

* fix WithdrawValCommission tests

* fix events tests

* fix setup for integration test

* refactor some test cases

* make format

* run make format

* add withdraw rewards to withdrawer tests

* fix flag on distr precompile and fix withdrawer tests

* fix contract as delegator tests

* fix some queries tests

* add comment

* fix slashing tests

* fix tests

* fix expected rewards

* remove unnecessary code

* run make format

* run make format

* fix account num in evm keeper test

* remove global test suite variable

* run make format

* refactor stk precompile setup and fix compilation errors

* fix events tests

* Update precompiles/distribution/tx_test.go

Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>

* refactor helper func

* changes based on review comments

* fix more tests

* Apply suggestions from code review

Co-authored-by: MalteHerrmann <42640438+MalteHerrmann@users.noreply.github.com>

* break on iteration error

* Update precompiles/distribution/query_test.go

Co-authored-by: MalteHerrmann <42640438+MalteHerrmann@users.noreply.github.com>

* fix issues

* fix testDelegate

* fix testRedelegations

* fix testRun

* fix util func check

* start refactor on int_tests

* refactor based on review comments

* run make format

* continue refactor

* Revert "refactor based on review comments"

This reverts commit 8ebee30c5fc4a9299e82551409afc8b28d6cd033.

* refactor based on new factory design

* run make format

* continue refactor int test

* refactor helper func

* fix some test cases

* refactor keepers query with grpc method

* refactor to use grpc instead of jeepers

* fix some test cases

* fix some test cases

* fix some test cases

* fix more tests

* run make format

* run make format

* remove unnecessary address conversions

* commit WIP addressing review comments

* address further review comments

* wip

* fix test

* address unhandled error linters

* fix tests and avoid self-approvals

* run make format

* address review comment

---------

Co-authored-by: GAtom22 <GAtom22@users.noreply.github.com>
Co-authored-by: dev-evmos <dev-evmos@users.noreply.github.com>
Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>
Co-authored-by: MalteHerrmann <42640438+MalteHerrmann@users.noreply.github.com>
Co-authored-by: MalteHerrmann <malte@evmos.org>
Co-authored-by: MalteHerrmann <MalteHerrmann@users.noreply.github.com>

* chore(tests): migrate vesting precompile tests (#2387)

* chore(tests): migrate feemarket module tests (#2402)

* refactor setup and fix compilation errors

* fix gen account type

* fix some test cases

* fix some test cases

* fix exp err messages

* fix setup for test cases

* fix block time bug

* remove unnecessary test case

* fix lint warnings

* fix distr tests

* fix evm keeper tests

* make format

* fix epochs tests

* use utc time

* chore(tests): start fix feemarket mod tests

* fix abci tests

* fix eip1559 tests

* grpc query tests

* keeper unit tests

* fix migrations tests

* fix msg_server tests

* fix params tests

* refactor integration test

* fix test cases

* fix integration tests

* run make format

* remove unnecessary code

---------

Co-authored-by: GAtom22 <GAtom22@users.noreply.github.com>

* chore(tests): migrate inflation module tests (#2405)

* migrate epoch info tests

* migrate gen tests

* migrate grpc query tests

* migrate infl unit tests

* migrate hooks tests

* remove utils.go

* refactor setup.go

* finish unit tests refactor

* fix integration tests

* run make format

* fix lint warnings

* Apply suggestions from code review

* remove using App in integration tests where possible

* add inflation queries to grpc handler and refactor integration tests

* address more review comments

* Update x/inflation/v1/keeper/hooks_test.go

Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>

* rename var

* Update x/inflation/v1/keeper/inflation_test.go

Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>

* refactor based on review comments

* refactor based on review comments

---------

Co-authored-by: GAtom22 <GAtom22@users.noreply.github.com>
Co-authored-by: MalteHerrmann <42640438+MalteHerrmann@users.noreply.github.com>
Co-authored-by: MalteHerrmann <malte@evmos.org>
Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>

* fix(grpc): account address return in ValidatorAccount query response (#2434)

* update files to fix build

* run make format

* remove related stuff to removed x/claims module

* fix staking precompile query tests

* update inflation mod tests with new setup exp values

* build(deps): bump cosmossdk.io/api to 0.7.4

* add missing line in IBC init params

* fix app export func test

* fix wallet tests

* fix evm initGenesis test

* fix statedb int_tests

* add store migrations in ibc transfer wrapper

* bump ibc to v8.2.0

* remove deprecated GetSigners func

* fix flaky evm keeper test

* fix CreateValidator del amount check

* fix precompile staking tests

* fix lint warnings

* build(deps): bump github.com/cometbft/cometbft to v0.38.7

* go mod tidy

* chore(tests): migrate staking module wrapper tests (#2551)

* fix msg server unit tests

* fix integration tests

* run make format

---------

Co-authored-by: GAtom22 <GAtom22@users.noreply.github.com>

* build(deps): bump cosmossdk.io/api to 0.7.5

* chore(tests): migrate vesting module tests (#2408)

* refactor unit tests

* run make format

* start refactor on int_tests

* wip - integration tests

* fix some test cases

* fix some test cases

* fix some tests and fix setup

* fix some tests

* run make format

* remove unnecessary code

* migrate some tests

* fix vesting tests

* fix BroadcastTxSync finalize block req

* fix vesting integration tests

* update comment

* Update x/vesting/keeper/integration_test.go

Co-authored-by: Ramiro Carlucho <ramirocarlucho@gmail.com>
Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com>

* address review comments

---------

Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com>
Co-authored-by: GAtom22 <GAtom22@users.noreply.github.com>
Co-authored-by: Ramiro Carlucho <ramirocarlucho@gmail.com>

* build(deps): bump github.com/spf13/viper to 1.19.0

* fix compilation issues

* refactor new tests

* chore(deps): bump to cosmos-sdk v0.50.7

* build(deps): bump github.com/cosmos/gogoproto to 1.5.0

* chore(tests): refactor ICS20 precompile tests (#2600)

* start refactor

* fix bech32 prefixes

* refactor ICS20 authorization tests

* run make format

* add events check on tests

* add denom traces query test

* refactor ICS20 queries tests

* refactor ICS20 tx tests

* remove old files

---------

Co-authored-by: GAtom22 <GAtom22@users.noreply.github.com>

* address lint issues

* build(deps): bump github.com/cometbft/cometbft from 0.38.7 to 0.38.9

* build(deps): bump github.com/cometbft/cometbft from 0.38.9 to 0.38.10

* bump ibc to v8.3.2

* chore: sync with main branch (#2678)

* build(deps): bump golang from 1.22.3-alpine3.20 to 1.22.4-alpine3.20 (#2605)

Bumps golang from 1.22.3-alpine3.20 to 1.22.4-alpine3.20.

---
updated-dependencies:
- dependency-name: golang
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump golang.org/x/net from 0.25.0 to 0.26.0 (#2604)

* build(deps): bump golang.org/x/net from 0.25.0 to 0.26.0

Bumps [golang.org/x/net](https://github.com/golang/net) from 0.25.0 to 0.26.0.
- [Commits](https://github.com/golang/net/compare/v0.25.0...v0.26.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* update gomod2nix.toml file

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>

* build(deps): bump golang.org/x/text from 0.15.0 to 0.16.0 (#2603)

* build(deps): bump golang.org/x/text from 0.15.0 to 0.16.0

Bumps [golang.org/x/text](https://github.com/golang/text) from 0.15.0 to 0.16.0.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.15.0...v0.16.0)

---
updated-dependencies:
- dependency-name: golang.org/x/text
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* update gomod2nix.toml file

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: MalteHerrmann <42640438+MalteHerrmann@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>
Co-authored-by: MalteHerrmann <42640438+MalteHerrmann@users.noreply.github.com>

* feat(evm): Add PermissionsPolicy for permissioned EVM (#2538)

* feat(evm): Add Create OpHook for permissioned contract deployment

* remove go.mod replae

* rename function

* permission policy implementaion

* remove enable create and call parmas

* add validate

* revert go.mod replace

* fix proto names

* update geth version

* fix lint

* policy unit tests

* integration tests

* fix tests

* fix test

* rename permission to accesscontrol

* fix params tests

* fix lint

* fix test

* proto lint

* add licenses

* rename param

* fix proto lint issue

* add balance checks to mint

* run make format

* gomod2nix generate

* add store migration to v7

* fix comment

* fix proto-lint issues

* fix proto names on migration

* add changelog entry

* fix migration tests

* add address list for permissionless

* add integration tests

* update tests

* adding necessary tests

* update tests

* run make format

* fix lint

* small refractor

* expect common.Address instead of string

* update comments

* fix review comments

---------

Co-authored-by: Ramiro Carlucho <ramirocarlucho@gmail.com>
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>
Co-authored-by: facs95 <facs95@users.noreply.github.com>
Co-authored-by: tom <tomasguerraalda@hotmail.com>
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>

* chore(docker): update docker dep (#2610)

update docker dep

* Revert "chore(erc20): re-add deleted erc20 evm hooks (#2502)" & remove STRv2 tracking logic (#2609)

* Revert "chore(erc20): re-add deleted erc20 evm hooks (#2502)"

This reverts commit 994f54da651a213a637f6f39ddfc551dfcd30252.

* remove strv2 tracking logic

* add changelog entry

* Revert "imp(evm): Add evm hook logic again (#2501)" (#2608)

This reverts commit d0ddd88b9ecbc7777f440aeb5feeb468148868e0.

Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com>

* imp(evm): Move OpcodeHooks into types (#2611)

* imp(evm): Move OpcodeHooks into types

* run make format

* fix lint

* update comments

* run make format

---------

Co-authored-by: facs95 <facs95@users.noreply.github.com>

* fix(contracts): Remove unused contract and make script compatible with Python <3.12 (#2613)

* remove unused contract and run make contracts-compile

* remove Union operator to support Python <3.12

* add changelog entry

* build(deps): bump github.com/gorilla/websocket from 1.5.1 to 1.5.2 (#2612)

* build(deps): bump github.com/gorilla/websocket from 1.5.1 to 1.5.2

Bumps [github.com/gorilla/websocket](https://github.com/gorilla/websocket) from 1.5.1 to 1.5.2.
- [Release notes](https://github.com/gorilla/websocket/releases)
- [Commits](https://github.com/gorilla/websocket/compare/v1.5.1...v1.5.2)

---
updated-dependencies:
- dependency-name: github.com/gorilla/websocket
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* update gomod2nix.toml file

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>

* imp: add integration test for precompile tx `CreateValidator` (#2575)

* imp: add integration test for precompile tx CreateValidator

* chore: update comment

* feat(precompile): add staking module create validator integration test

* change hardcoded tendermint pub key with util function

---------

Signed-off-by: Luke <luchenqun@qq.com>
Signed-off-by: stepit <48993133+0xstepit@users.noreply.github.com>
Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>
Co-authored-by: stepit <stefanofrancesco.pitton@gmail.com>

* chore(precompiles): update distribution precompile (#2614)

* chore(precompiles): update distribution precompile

* add changelog entry

* add more test cases

* Update CHANGELOG.md

Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>
Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com>

---------

Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com>
Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>

* build(deps): bump google.golang.org/protobuf from 1.34.1 to 1.34.2 (#2615)

* build(deps): bump google.golang.org/protobuf from 1.34.1 to 1.34.2

Bumps google.golang.org/protobuf from 1.34.1 to 1.34.2.

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* update gomod2nix.toml file

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>

* imp: add integration test for precompile tx `EditValidator` (#2576)

* imp: add integration test for precompile tx EditValidator

* imp: expected validator commission rate remain unchanged

* imp: expected validator commission rate remain unchanged

* update StakingCaller contract

* add edit validator from sc call test

* add fail test case

* add missing checks in test

* Update precompiles/staking/testdata/StakingCaller.json

Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com>

* improve specs readability

* make contracts compile

* add missing checks in tests

* chore: merge the contents of the main branch manually

---------

Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com>
Signed-off-by: stepit <48993133+0xstepit@users.noreply.github.com>
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>
Co-authored-by: tom <tomasguerraalda@hotmail.com>
Co-authored-by: stepit <stefanofrancesco.pitton@gmail.com>
Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>

* imp(precompiles): Add unit test to ensure correct Bech32 addresses for default precompiles (#2597)

* add a test case for the bech32 converted precompile addresses in the default precompiles

* run make format

* address linter

* fix some f-up during merge

* fix changelog

* fix panic when estimating gas during call to precompiles without input

* remove default precompiles bech32 and move to blocked addrs function

* add all Ethereum native precompiles to blocked addresses too

* run make format

* format

* f auto-format

* add comments as suggested in code review

* add utility method for future use to convert addresses

* fix changelog

---------

Co-authored-by: MalteHerrmann <MalteHerrmann@users.noreply.github.com>
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>

* build(deps): bump the npm_and_yarn group across 3 directories with 2 updates (#2616)

Bumps the npm_and_yarn group with 1 update in the /contracts directory: [braces](https://github.com/micromatch/braces).
Bumps the npm_and_yarn group with 2 updates in the /tests/nix_tests/hardhat directory: [braces](https://github.com/micromatch/braces) and [axios](https://github.com/axios/axios).
Bumps the npm_and_yarn group with 1 update in the /tests/solidity directory: [braces](https://github.com/micromatch/braces).


Updates `braces` from 3.0.2 to 3.0.3
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3)

Updates `braces` from 3.0.2 to 3.0.3
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3)

Updates `axios` from 1.6.1 to 1.7.2
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.6.1...v1.7.2)

Updates `braces` from 3.0.2 to 3.0.3
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3)

---
updated-dependencies:
- dependency-name: braces
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: braces
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: axios
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: braces
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>

* feat(precompile): add `FundCommunityPool` precompile tx for distribution module (#2572)

* feat(precompile): add FundCommunityPool precompile tx for distribution module

* chore: update CHANGELOG.md

* chore: add nolint for TestFundCommunityPoolEvent and TestClaimRewardsEvent

* chore: add nolint for TestFundCommunityPoolEvent and TestClaimRewardsEvent

* feat(precompile): add contract can call FundCommunityPool tx

* chore: lint check

* chore: fix make lint and rename delegator to depositor

* update DistributionCaller contract

* add nix tests

* use base denom as in msg build stage

* fix gh action yml

* fix doc

* add sender post balance check

* Update precompiles/distribution/types.go

Signed-off-by: stepit <48993133+0xstepit@users.noreply.github.com>

* chore: bring back deposit and tesatFundCommunityPool methods

---------

Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com>
Signed-off-by: stepit <48993133+0xstepit@users.noreply.github.com>
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>
Co-authored-by: tom <tomasguerraalda@hotmail.com>
Co-authored-by: stepit <stefanofrancesco.pitton@gmail.com>
Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>

* build(deps): bump github.com/cosmos/ibc-go/v7 from 7.4.0 to 7.5.0 (#2556)

* build(deps): bump github.com/cosmos/ibc-go/v7 from 7.4.0 to 7.5.0

Bumps [github.com/cosmos/ibc-go/v7](https://github.com/cosmos/ibc-go) from 7.4.0 to 7.5.0.
- [Release notes](https://github.com/cosmos/ibc-go/releases)
- [Changelog](https://github.com/cosmos/ibc-go/blob/v7.5.0/CHANGELOG.md)
- [Commits](https://github.com/cosmos/ibc-go/compare/v7.4.0...v7.5.0)

---
updated-dependencies:
- dependency-name: github.com/cosmos/ibc-go/v7
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* update gomod2nix.toml file

* gomod tidy

* update go mod

* add query router to ICA host keeper

* update deps

* add changelog entry

* go mod tidy

* fix chlog

* update ICS20 precompile with new TransferAuth field

* run make format

* fix chlog

* fix chlog

* update ics20 nix tests

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>
Co-authored-by: tom <tomasguerraalda@hotmail.com>
Co-authored-by: GAtom22 <GAtom22@users.noreply.github.com>
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>

* build(deps): bump bufbuild/buf-setup-action from 1.32.2 to 1.33.0 (#2621)

Bumps [bufbuild/buf-setup-action](https://github.com/bufbuild/buf-setup-action) from 1.32.2 to 1.33.0.
- [Release notes](https://github.com/bufbuild/buf-setup-action/releases)
- [Commits](https://github.com/bufbuild/buf-setup-action/compare/v1.32.2...v1.33.0)

---
updated-dependencies:
- dependency-name: bufbuild/buf-setup-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>

* build(deps): bump github.com/gorilla/websocket from 1.5.2 to 1.5.3 (#2620)

* build(deps): bump github.com/gorilla/websocket from 1.5.2 to 1.5.3

Bumps [github.com/gorilla/websocket](https://github.com/gorilla/websocket) from 1.5.2 to 1.5.3.
- [Release notes](https://github.com/gorilla/websocket/releases)
- [Commits](https://github.com/gorilla/websocket/compare/v1.5.2...v1.5.3)

---
updated-dependencies:
- dependency-name: github.com/gorilla/websocket
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* update gomod2nix.toml file

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>
Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>

* build(deps): bump docker/build-push-action from 5 to 6 (#2622)

Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 5 to 6.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v5...v6)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump github.com/spf13/cobra from 1.8.0 to 1.8.1 (#2623)

* build(deps): bump github.com/spf13/cobra from 1.8.0 to 1.8.1

Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.8.0 to 1.8.1.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Commits](https://github.com/spf13/cobra/compare/v1.8.0...v1.8.1)

---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* update gomod2nix.toml file

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>

* Change anteutils.TxFeeChecker to authante.TxFeeChecker (#2619)

* change back to use cosmos TxFeeChecker type instead of utils type

* remove unused code

* nit

* nit

* add change log

* chore: clean changelog (#2628)

remove duplicate and fix style

* build(deps): bump github.com/cosmos/ibc-go/v7 from 7.5.2-0.20240607065443-0f1cf8bf766b to 7.6.0 (#2631)

* build(deps): bump github.com/cosmos/ibc-go/v7

Bumps [github.com/cosmos/ibc-go/v7](https://github.com/cosmos/ibc-go) from 7.5.2-0.20240607065443-0f1cf8bf766b to 7.6.0.
- [Release notes](https://github.com/cosmos/ibc-go/releases)
- [Changelog](https://github.com/cosmos/ibc-go/blob/v7.6.0/CHANGELOG.md)
- [Commits](https://github.com/cosmos/ibc-go/commits/v7.6.0)

---
updated-dependencies:
- dependency-name: github.com/cosmos/ibc-go/v7
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* update gomod2nix.toml file

* bump sdk and add chlog entry

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: tom <tomasguerraalda@hotmail.com>

* build(deps-dev): bump ws from 7.5.9 to 7.5.10 in /contracts in the npm_and_yarn group across 1 directory (#2634)

build(deps-dev): bump ws

Bumps the npm_and_yarn group with 1 update in the /contracts directory: [ws](https://github.com/websockets/ws).


Updates `ws` from 7.5.9 to 7.5.10
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/7.5.9...7.5.10)

---
updated-dependencies:
- dependency-name: ws
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* imp(tests): Add function to get ERC-20 balance to integration utils (#2635)

* add get erc20 balance util

* add changelog entry

* add missing license

* build(deps): bump bufbuild/buf-setup-action from 1.33.0 to 1.34.0 (#2637)

Bumps [bufbuild/buf-setup-action](https://github.com/bufbuild/buf-setup-action) from 1.33.0 to 1.34.0.
- [Release notes](https://github.com/bufbuild/buf-setup-action/releases)
- [Commits](https://github.com/bufbuild/buf-setup-action/compare/v1.33.0...v1.34.0)

---
updated-dependencies:
- dependency-name: bufbuild/buf-setup-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump github.com/linxGnu/grocksdb from 1.9.1 to 1.9.2 (#2638)

* build(deps): bump github.com/linxGnu/grocksdb from 1.9.1 to 1.9.2

Bumps [github.com/linxGnu/grocksdb](https://github.com/linxGnu/grocksdb) from 1.9.1 to 1.9.2.
- [Release notes](https://github.com/linxGnu/grocksdb/releases)
- [Commits](https://github.com/linxGnu/grocksdb/compare/v1.9.1...v1.9.2)

---
updated-dependencies:
- dependency-name: github.com/linxGnu/grocksdb
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* update gomod2nix.toml file

* update rocksdb version

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>
Co-authored-by: tom <tomasguerraalda@hotmail.com>

* fix(ci): Ignore Swagger docs in CheckOV linter (#2639)

* ignore client folder in checkov CI

* add changelog entry

* add minor change in go file to trigger cla flow

* Add: Support PebbleDB image (#2630)

* add: config & workflow step for building pebble images

* test: comment out GIT_DIFF condition in build workflow

* Revert "test: comment out GIT_DIFF condition in build workflow"

* test: force a workflow trigger to push test images

* Revert "test: force a workflow trigger to push test images"

* docs: update changelog

* Update: lint

* Revert: build.yml

* Update CHANGELOG.md

Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>
Signed-off-by: Amine <34750005+Aminechakr@users.noreply.github.com>

---------

Signed-off-by: Amine <34750005+Aminechakr@users.noreply.github.com>
Signed-off-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>

* fix(tests): Bump Dockerfile dependency and fix make test-e2e target in Makefile (#2642)

* fix dockerfile and makefile

* fix e2e tests

* add changelog entry

* imp(evm): Remove EthAccount type and use BaseAccount instead (#2633)

* remove use of EthAccount in repository

* remove EthAccount implementation

* add missing license

* wip adding migration logic

* fix migration

* add tests for migration

* run make format

* Update x/evm/genesis.go

Signed-off-by: MalteHerrmann <42640438+MalteHerrmann@users.noreply.github.com>

* address review comments and add test for exporting EVM genesis

* add iterator and corresponding test

* use contract iterator for exporting EVM genesis state

* address more review comments

* remove unused method from interface definition

* apply suggested renaming

* address review comments

* add changelog entry

* add gitleaks allow directive to example contract storage

* move changelog entry to breaking section

* revert change in local node script

---------

Signed-off-by: MalteHerrmann <42640438+MalteHerrmann@users.noreply.github.com>
Co-authored-by: MalteHerrmann <MalteHerrmann@users.noreply.github.com>

* imp(dist): Improve efficiency of reward claiming with distribution precompile (#2643)

* improve reward claim method

* add changelog entry

* address review comments

---------

Signed-off-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>

* build(deps): bump github.com/btcsuite/btcd from 0.24.0 to 0.24.2 (#2641)

* build(deps): bump github.com/btcsuite/btcd from 0.24.0 to 0.24.2

Bumps [github.com/btcsuite/btcd](https://github.com/btcsuite/btcd) from 0.24.0 to 0.24.2.
- [Release notes](https://github.com/btcsuite/btcd/releases)
- [Changelog](https://github.com/btcsuite/btcd/blob/master/CHANGES)
- [Commits](https://github.com/btcsuite/btcd/compare/v0.24.0...v0.24.2)

---
updated-dependencies:
- dependency-name: github.com/btcsuite/btcd
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* update gomod2nix.toml file

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>

* imp(app): Split chain configuration template into EVM config and MemIAVL config (#2644)

* separate EVM config template from full Evmos chain config template for use in other repos

* add changelog entry

* address review comments

* imp(ante): Fix typos in ante package (#2647)

* fix typos in ante package

* address review comments

* build(deps): bump github.com/cometbft/cometbft from 0.37.5 to 0.37.7 (#2646)

* build(deps): bump the go_modules group with 2 updates

Bumps the go_modules group with 2 updates: [github.com/cometbft/cometbft](https://github.com/cometbft/cometbft) and [github.com/hashicorp/go-getter](https://github.com/hashicorp/go-getter).


Updates `github.com/cometbft/cometbft` from 0.37.5 to 0.38.8
- [Release notes](https://github.com/cometbft/cometbft/releases)
- [Changelog](https://github.com/cometbft/cometbft/blob/v0.38.8/CHANGELOG.md)
- [Commits](https://github.com/cometbft/cometbft/compare/v0.37.5...v0.38.8)

Updates `github.com/hashicorp/go-getter` from 1.7.4 to 1.7.5
- [Release notes](https://github.com/hashicorp/go-getter/releases)
- [Changelog](https://github.com/hashicorp/go-getter/blob/main/.goreleaser.yml)
- [Commits](https://github.com/hashicorp/go-getter/compare/v1.7.4...v1.7.5)

---
updated-dependencies:
- dependency-name: github.com/cometbft/cometbft
  dependency-type: direct:production
  dependency-group: go_modules
- dependency-name: github.com/hashicorp/go-getter
  dependency-type: indirect
  dependency-group: go_modules
...

Signed-off-by: dependabot[bot] <support@github.com>

* update gomod2nix.toml file

* update cometbft version bump

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: tom <tomasguerraalda@hotmail.com>
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>

* imp(ante): Decouple EVM decorator utilities from decorator struct (#2648)

* decouple evm decorator utils from concrete implementation

* add changelog entry

* build(deps): bump github.com/cometbft/cometbft from 0.37.7 to 0.37.8 (#2649)

* build(deps): bump github.com/cometbft/cometbft from 0.37.7 to 0.38.9

Bumps [github.com/cometbft/cometbft](https://github.com/cometbft/cometbft) from 0.37.7 to 0.38.9.
- [Release notes](https://github.com/cometbft/cometbft/releases)
- [Changelog](https://github.com/cometbft/cometbft/blob/v0.38.9/CHANGELOG.md)
- [Commits](https://github.com/cometbft/cometbft/compare/v0.37.7...v0.38.9)

---
updated-dependencies:
- dependency-name: github.com/cometbft/cometbft
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* update gomod2nix.toml file

* update bump version

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: tom <tomasguerraalda@hotmail.com>

* imp(scripts): Adjust contract compilation util to include abi.json files (#2650)

* adjust script to include abi.json files too

* rename vesting interface file to match interface name

* adjust utils and precompile ABI loading for Hardhat setup

* clean up after compiling contracts with all target

* recompile abis

* add changelog entry

* run black formatter

* address some more linters

---------

Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>

* build(deps): bump golang from 1.22.4-alpine3.20 to 1.22.5-alpine3.20 (#2654)

Bumps golang from 1.22.4-alpine3.20 to 1.22.5-alpine3.20.

---
updated-dependencies:
- dependency-name: golang
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump google.golang.org/grpc from 1.64.0 to 1.65.0 (#2652)

* build(deps): bump google.golang.org/grpc from 1.64.0 to 1.65.0

Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.64.0 to 1.65.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.64.0...v1.65.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* update gomod2nix.toml file

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>

* Merge pull request from GHSA-68fc-7mhg-6f6c

* fix(stk-precompile): update dirty state

* add create validator tests cases

* fix(distr-precompile): update dirty state

* add additional condition in isContract

* refactor test

* add more functions to the DistrCaller.sol

* fix(ics20-precompile) update dirty state

* chore(tests): add more test cases for ics20 precompile

* add multi-transfer tx test cases

* chore(tests): add more test cases for distr precompile

* Update precompiles/common/precompile.go

Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com>

* refactor getWithdrawerHexAddr func

* chore(staking-precompile): update CreateValidator and EditValidator checks

* chore(tests): update staking precompile tests

* chore(distr-precompile): remove claimRewards method

* make format

* add back claimRewards func commented out

* comment out claimRewards from distr precompile logic

* add staking test with transfer to bonded tokens acc

* chore(ibc-transfer): add escrow account to dirties

* chore(test): add test cases for ics20 precompile and escrow addr

* Update tests/nix_tests/test_ics20_precompile.py

Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>
Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com>

* remove hardcoded exp balance

* fix(precompile): use cache ctx on stateDB

* add journal entry for precompiles

* keep only last writeFn

* add MaxPrecompileCalls limit

* refactor precompile calls logic

* remove unnecessary code

* changes based on review comments

* add StakingReverter tests

* add revert test case for distr precompile

* refactor cache ctx on stateDB

* refactor: move CommitWithCacheCtx to RunSetup

* chore: add events to snapshot

* update ICS20 tests

* fix err msg

* renamve var

* add a func on precompile cmn for journal entry

* rename var

* add comment

* update comment description

* update expected gas in ibc transfer test

* address review comments

* update comt

* tests(ics20): add helper func to setup contract

* tests(ics20): add test for nested revert

* address review comments

* add distr precompile tests

* refactor to remove UpdateDirties func

* Update precompiles/distribution/tx.go

Co-authored-by: Ramiro Carlucho <ramirocarlucho@gmail.com>
Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com>

* update vesting prec

* refactor balance change entries setter func

* add comments

* update comment

* fix sdk fork deps

* comment claimRewards method and test

* add smart contract balance check on test

* remove transient storage logic

* add edge test case with revert on storage change

* revert changes to claimRewards

* refactor var name

* refactor claimRewards logic

* refactor claimRewards logic

* update cosmos-sdk fork with latest changes (no need for store keys deep copy)

* change require with assert for invariant

* update comment

* update cosmos-sdk fork version

* update commit function with latest changes merged from main

* add changelog entry

* update commit func

* fix claimRewards comt

---------

Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com>
Signed-off-by: stepit <48993133+0xstepit@users.noreply.github.com>
Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>
Co-authored-by: Ramiro Carlucho <ramirocarlucho@gmail.com>
Co-authored-by: stepit <stefanofrancesco.pitton@gmail.com>

* chore: update changelog (#2655)

* Merge pull request from GHSA-q6hg-6m9x-5g9c

* fix(precompile): add funder and dest check to update balance

* add more test cases

* restrict funder to be origin or contract caller

* restrict dest address when calling from sc

* add test case with funds transfer within precompile call

* remove print

* add check for dirty addresses

* add UpdateDirties func

* update dirties helper func

* Update precompiles/vesting/utils_test.go

Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>
Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com>

* update comment description

* changes based on review comments

* refactor updateDirties

* add test cases for updating funder balance before and after precompile call

* add revert state test

* update tx logic

* update integration tests

* refactor auth logic

* update tests

* add comt

* fix: add funder and vest acc to dirties

* add test cases for latest changes

* address review comments

* address review comments

* address review comments

* fix FlashLoan contract compilation

* update logic

* use pointer in precompile txs

* remove unnecessary comment

---------

Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com>
Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>

* chore: update CHANGELOG & fix linter (#2657)

* add changelog entry

* run make format

* fix lint warnings

* update known exceptions

* fix lint warnings

* fix lint warnings

* fix lint warnings

* update solidity test suite deps

---------

Co-authored-by: GAtom22 <GAtom22@users.noreply.github.com>

* merge 'main' to GAtom22/sdk50

* [Snyk] Security upgrade golang from 1.22.3-bullseye to 1.23rc1-bullseye (#2656)

fix: tests/e2e/Dockerfile.repo to reduce vulnerabilities

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-DEBIAN11-GNUTLS28-6159417
- https://snyk.io/vuln/SNYK-DEBIAN11-GNUTLS28-6159419
- https://snyk.io/vuln/SNYK-DEBIAN11-LIBSSH2-5861756
- https://snyk.io/vuln/SNYK-DEBIAN11-CURL-3320493
- https://snyk.io/vuln/SNYK-DEBIAN11-ZLIB-6008961

Co-authored-by: snyk-bot <snyk-bot@snyk.io>
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>

* feat(vm): move geth vm from fork to evmOS codebase (#2663)

* temp

* run make format

* fix unit tests

* fix imports

* add changelog entry

* exclude x/evm/core from license checker

* remove unnecessary rawdb

* remove unused runtime folder

* semgrep: skip iteration if map is empty

* add new x/evm/folder to ignored path in golangci-lint

* feat(evm): add custom EIPs to VM (#2629)

* chore: add custom eips integration tests (#2661)

* update custom eips + test

* move eips to eips package

* add eips tests

* run make format

* revert an error

* add missing license to file

* remove unused func

* enable extra eip and refactor tests

* add readme

* Apply suggestions from code review

Signed-off-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>

* update doc and remove unused default eips

* make markdown linter happy

* fix lint

---------

Signed-off-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: 0xstepit <0xstepit@users.noreply.github.com>
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>

* chore: merge main (#2662)

* chore: clean changelog (#2628)

remove duplicate and fix style

* build(deps): bump github.com/cosmos/ibc-go/v7 from 7.5.2-0.20240607065443-0f1cf8bf766b to 7.6.0 (#2631)

* build(deps): bump github.com/cosmos/ibc-go/v7

Bumps [github.com/cosmos/ibc-go/v7](https://github.com/cosmos/ibc-go) from 7.5.2-0.20240607065443-0f1cf8bf766b to 7.6.0.
- [Release notes](https://github.com/cosmos/ibc-go/releases)
- [Changelog](https://github.com/cosmos/ibc-go/blob/v7.6.0/CHANGELOG.md)
- [Commits](https://github.com/cosmos/ibc-go/commits/v7.6.0)

---
updated-dependencies:
- dependency-name: github.com/cosmos/ibc-go/v7
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* update gomod2nix.toml file

* bump sdk and add chlog entry

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: tom <tomasguerraalda@hotmail.com>

* build(deps-dev): bump ws from 7.5.9 to 7.5.10 in /contracts in the npm_and_yarn group across 1 directory (#2634)

build(deps-dev): bump ws

Bumps the npm_and_yarn group with 1 update in the /contracts directory: [ws](https://github.com/websockets/ws).


Updates `ws` from 7.5.9 to 7.5.10
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/7.5.9...7.5.10)

---
updated-dependencies:
- dependency-name: ws
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* imp(tests): Add function to get ERC-20 balance to integration utils (#2635)

* add get erc20 balance util

* add changelog entry

* add missing license

* build(deps): bump bufbuild/buf-setup-action from 1.33.0 to 1.34.0 (#2637)

Bumps [bufbuild/buf-setup-action](https://github.com/bufbuild/buf-setup-action) from 1.33.0 to 1.34.0.
- [Release notes](https://github.com/bufbuild/buf-setup-action/releases)
- [Commits](https://github.com/bufbuild/buf-setup-action/compare/v1.33.0...v1.34.0)

---
updated-dependencies:
- dependency-name: bufbuild/buf-setup-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump github.com/linxGnu/grocksdb from 1.9.1 to 1.9.2 (#2638)

* build(deps): bump github.com/linxGnu/grocksdb from 1.9.1 to 1.9.2

Bumps [github.com/linxGnu/grocksdb](https://github.com/linxGnu/grocksdb) from 1.9.1 to 1.9.2.
- [Release notes](https://github.com/linxGnu/grocksdb/releases)
- [Commits](https://github.com/linxGnu/grocksdb/compare/v1.9.1...v1.9.2)

---
updated-dependencies:
- dependency-name: github.com/linxGnu/grocksdb
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* update gomod2nix.toml file

* update rocksdb version

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>
Co-authored-by: tom <tomasguerraalda@hotmail.com>

* fix(ci): Ignore Swagger docs in CheckOV linter (#2639)

* ignore client folder in checkov CI

* add changelog entry

* add minor change in go file to trigger cla flow

* Add: Support PebbleDB image (#2630)

* add: config & workflow step for building pebble images

* test: comment out GIT_DIFF condition in build workflow

* Revert "test: comment out GIT_DIFF condition in build workflow"

* test: force a workflow trigger to push test images

* Revert "test: force a workflow trigger to push test images"

* docs: update changelog

* Update: lint

* Revert: build.yml

* Update CHANGELOG.md

Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>
Signed-off-by: Amine <34750005+Aminechakr@users.noreply.github.com>

---------

Signed-off-by: Amine <34750005+Aminechakr@users.noreply.github.com>
Signed-off-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>

* fix(tests): Bump Dockerfile dependency and fix make test-e2e target in Makefile (#2642)

* fix dockerfile and makefile

* fix e2e tests

* add changelog entry

* imp(evm): Remove EthAccount type and use BaseAccount instead (#2633)

* remove use of EthAccount in repository

* remove EthAccount implementation

* add missing license

* wip adding migration logic

* fix migration

* add tests for migration

* run make format

* Update x/evm/genesis.go

Signed-off-by: MalteHerrmann <42640438+MalteHerrmann@users.noreply.github.com>

* address review comments and add test for exporting EVM genesis

* add iterator and corresponding test

* use contract iterator for exporting EVM genesis state

* address more review comments

* remove unused method from interface definition

* apply suggested renaming

* address review comments

* add changelog entry

* add gitleaks allow directive to example contract storage

* move changelog entry to breaking section

* revert change in local node script

---------

Signed-off-by: MalteHerrmann <42640438+MalteHerrmann@users.noreply.github.com>
Co-authored-by: MalteHerrmann <MalteHerrmann@users.noreply.github.com>

* imp(dist): Improve efficiency of reward claiming with distribution precompile (#2643)

* improve reward claim method

* add changelog entry

* address review comments

---------

Signed-off-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>

* build(deps): bump github.com/btcsuite/btcd from 0.24.0 to 0.24.2 (#2641)

* build(deps): bump github.com/btcsuite/btcd from 0.24.0 to 0.24.2

Bumps [github.com/btcsuite/btcd](https://github.com/btcsuite/btcd) from 0.24.0 to 0.24.2.
- [Release notes](https://github.com/btcsuite/btcd/releases)
- [Changelog](https…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants