Skip to content

Conversation

@gonzalo-smtv
Copy link

This pull request includes several updates to error handling and balance checking mechanisms in MachineSmartAccount and MachineStationFactory contracts. The most important changes include adding additional parameters to the TargetCallFailed error, introducing a new InsufficientFactoryBalance error, and implementing balance checks before funding machine addresses.

Error Handling Enhancements:

  • src/libs/Errors.sol: Updated the TargetCallFailed error to include bytes data as an additional parameter and added a new InsufficientFactoryBalance error.

Contract Updates:

Agung Contract Updates:

ABI Update

@gonzalo-smtv gonzalo-smtv self-assigned this Feb 24, 2025
@gonzalo-smtv gonzalo-smtv force-pushed the feat/check-factory-balance branch from 552ec1f to c936496 Compare February 24, 2025 22:03
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.

2 participants