Skip to content

Update makefile targets#23

Merged
boris merged 1 commit intomainfrom
tooling
Mar 10, 2026
Merged

Update makefile targets#23
boris merged 1 commit intomainfrom
tooling

Conversation

@boris
Copy link
Copy Markdown
Collaborator

@boris boris commented Mar 10, 2026

This pull request adds support for customizing transaction gas and fee parameters in the Makefile for Ethereum smart contract operations. The main improvement is the introduction of new environment variables and logic to allow users to specify gas limit, max fee, and priority fee for relevant contract interactions.

Transaction fee customization:

  • Introduced new environment variables: TX_GAS_LIMIT, TX_MAX_FEE, and TX_PRIORITY_FEE to allow users to set custom values for transaction gas and fees.
  • Added the TX_FEE_OPTS variable, which conditionally includes the appropriate command-line flags for cast send based on the provided environment variables.

Integration with contract commands:

  • Updated the send target to include $(TX_FEE_OPTS), enabling custom gas and fee options when sending CLPc tokens.
  • Updated the claim-direct target to include $(TX_FEE_OPTS), allowing users to customize gas and fee options when claiming tokens directly.

@boris boris merged commit 1a2834c into main Mar 10, 2026
1 check passed
@boris boris deleted the tooling branch March 10, 2026 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant