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

Clean up native code #1389

Merged
merged 8 commits into from
Sep 10, 2024
Merged

Clean up native code #1389

merged 8 commits into from
Sep 10, 2024

Conversation

fan-zhang-sv
Copy link
Contributor

@fan-zhang-sv fan-zhang-sv commented Sep 9, 2024

Summary

We moved native code to a different repo, removing them here

How did you test your changes?

  • diff'd against 4.0.4, confirmed all diff are wanted
  • tested against playground, SCW/WL both work as expected

@cb-heimdall
Copy link
Collaborator

cb-heimdall commented Sep 9, 2024

✅ Heimdall Review Status

Requirement Status More Info
Reviews 1/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 0
Sum 1

@@ -28,7 +28,7 @@ export class CoinbaseWalletProvider extends ProviderEventEmitter implements Prov
super();
this.metadata = metadata;
this.preference = preference;
this.communicator = Communicator.getInstance(keysUrl, metadata);
this.communicator = new Communicator(keysUrl, metadata);

// Async initialize
this.initPromise = this.initialize();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

was this initialize part of the mobile work?

// default values
this.accounts = [];
this.chain = {
this.storage = new ScopedLocalStorage('CBWSDK', 'SCWStateManager');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this.storage is defined twice here. L48 and L50

@fan-zhang-sv fan-zhang-sv merged commit d7646ae into master Sep 10, 2024
8 checks passed
@fan-zhang-sv fan-zhang-sv deleted the felix/remove-mobile-code branch September 10, 2024 20:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants