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

Remove AeSdk:initializeContract #1915

Merged
merged 1 commit into from
May 29, 2024
Merged

Conversation

davidyuk
Copy link
Member

@davidyuk davidyuk commented Nov 20, 2023

AeSdk:initializeContract makes AeSdk to depend on Contract, and to depend on @aeternity/aepp-calldata eventually.

closes partially #1839

This PR is supported by the Æternity Crypto Foundation

Copy link

codecov bot commented Nov 20, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.29%. Comparing base (10a97f1) to head (00b4f86).
Report is 4 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1915      +/-   ##
===========================================
- Coverage    80.33%   80.29%   -0.04%     
===========================================
  Files          104      104              
  Lines         3570     3568       -2     
  Branches       771      771              
===========================================
- Hits          2868     2865       -3     
  Misses         384      384              
- Partials       318      319       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@davidyuk davidyuk marked this pull request as ready for review November 20, 2023 12:38
@davidyuk davidyuk force-pushed the feature/remove-initialize-contract branch from c71edf2 to 5c9fb9b Compare December 7, 2023 05:16
@davidyuk davidyuk force-pushed the feature/remove-initialize-contract branch from 5c9fb9b to bf84fca Compare December 7, 2023 05:58
BREAKING CHANGE: `AeSdk:initializeContract` removed
Use `Contract.initialize` instead:
```diff
- aeSdk.initializeContract(options)
+ Contract.initialize({ ...aeSdk.getContext(), ...options })
```
@davidyuk davidyuk force-pushed the feature/remove-initialize-contract branch from bf84fca to 00b4f86 Compare May 29, 2024 05:41
@davidyuk davidyuk merged commit 9653784 into develop May 29, 2024
4 of 5 checks passed
@davidyuk davidyuk deleted the feature/remove-initialize-contract branch May 29, 2024 06:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant