Skip to content

Conversation

@rymnc
Copy link
Member

@rymnc rymnc commented Dec 9, 2025

No description provided.

@rymnc rymnc requested a review from a team as a code owner December 9, 2025 00:41
@cursor
Copy link

cursor bot commented Dec 9, 2025

PR Summary

Adds multicall simulation API simulate_vec (with get_response_vec) to return a Vec<T> when all call return types are the same, plus an e2e test; minor formatting tweak in retryable client.

  • Multicall API (programs):
    • Add CallHandler<Vec<ContractCall>, ()>::simulate_vec<T>() to simulate multicalls and return CallResponse<Vec<T>> when all calls share the same return type.
    • Add helper get_response_vec<T>() to parse receipts into a homogeneous Vec<T>.
  • E2E Tests:
    • Add test_multi_call_simulate_vec in e2e/tests/contracts.rs validating simulate_vec returning Vec<u64> across three calls.
  • Provider:
    • Minor formatting of RetryableClient::connect_with_fallbacks signature in packages/fuels-accounts/src/provider/retryable_client.rs.

Written by Cursor Bugbot for commit 42d7afd. This will update automatically on new commits. Configure here.

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.

3 participants