Skip to content

fix: casper v2 compatibility + php 8.4 deprecations#33

Open
KunBojiMan wants to merge 2 commits intomake-software:2.0.0-beta1from
KunBojiMan:fix/php84-casper2
Open

fix: casper v2 compatibility + php 8.4 deprecations#33
KunBojiMan wants to merge 2 commits intomake-software:2.0.0-beta1from
KunBojiMan:fix/php84-casper2

Conversation

@KunBojiMan
Copy link

Summary

  • Make RPC handling robust for Casper v2 responses (missing/renamed keys).
  • Fix serializers for v2 payloads (delegator/transform/initiator).
  • Improve error handling on invalid/non‑JSON RPC responses.
  • Remove PHP 8.4 implicit‑nullable deprecation warnings.
  • Update functional tests to use HttpHandler and v2 shapes.

TODO

Checklist

  • Code is properly formatted
  • All commits are signed
  • Tests included/updated or not needed
  • Documentation (manuals or wiki) has been updated or is not required

Signed-off-by: Erwin Walter <erwinwalter@gmx.de>
@KunBojiMan
Copy link
Author

@RomanovSci
Thanks for the SDK! Could you please take a look and merge if everything looks good?

Note: php-cs-fixer and phpstan haven’t been added to this repo; it might be useful to run them in the project later.

Signed-off-by: Erwin Walter <erwinwalter@gmx.de>
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