Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change account reading err handling and fix get token prices for a non loop call #1079 #1078

Merged
merged 14 commits into from
Feb 20, 2025

Conversation

ilija42
Copy link
Contributor

@ilija42 ilija42 commented Feb 15, 2025

Description

PDAs are often not initialised immediately, on EVM this corresponded do method calls that returned empty data. Mimick this behaviour by not returning an error when an account address is not found.

Also fix get token prices for a non loop call

…on loop call (#1079)

* Handle get token prices for map params

* Fix getPDAsForGetTokenPrices handling for non Loop call

* Fix getPDAsForGetTokenPrices handling for non Loop call

* Tidy

* lint
@ilija42 ilija42 changed the title Change CR account reading err handling Change account reading err handling and fix get token prices for a non loop call #1079 Feb 17, 2025
@chris-de-leon-cll chris-de-leon-cll enabled auto-merge (squash) February 19, 2025 20:55
@cl-sonarqube-production
Copy link

Quality Gate failed Quality Gate failed

Failed conditions
11.3% Coverage on New Code (required ≥ 75%)

See analysis details on SonarQube

@chris-de-leon-cll chris-de-leon-cll merged commit 8953ce7 into develop Feb 20, 2025
35 of 36 checks passed
@chris-de-leon-cll chris-de-leon-cll deleted the change-cr-batch-err-handling branch February 20, 2025 02:06
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.

4 participants