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

Feature: implement method registry #82

Merged
merged 10 commits into from
Apr 2, 2019
Merged

Conversation

estebanmino
Copy link
Contributor

@estebanmino estebanmino commented Apr 1, 2019

This PR adds eth-method-registry to maintain transaction four byte method signatures, using handleMethodData, a method that can be used from mobile or the extension without interfering how TransactionController currently works.
This method receives a new four byte method signature. If that signature isn't known, is going to save it in state and return it. Next time is needed query the contract won't be necessary, having only one request per signature sent to the on-chain contract.

@estebanmino estebanmino changed the title [BLOCKED] Feature: implements method registry [BLOCKED] Feature: implement method registry Apr 1, 2019
@danfinlay
Copy link
Contributor

Published as [email protected]

@estebanmino estebanmino changed the title [BLOCKED] Feature: implement method registry Feature: implement method registry Apr 1, 2019
@codecov-io
Copy link

Codecov Report

Merging #82 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master    #82   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          21     21           
  Lines        1254   1273   +19     
  Branches      156    158    +2     
=====================================
+ Hits         1254   1273   +19
Impacted Files Coverage Δ
src/TransactionController.ts 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f358dd5...4f8b6cc. Read the comment docs.

@estebanmino estebanmino merged commit 001d533 into master Apr 2, 2019
@estebanmino estebanmino deleted the feature/method-registry branch April 2, 2019 14:17
mcmire pushed a commit to mcmire/core that referenced this pull request Jul 17, 2023
MajorLift pushed a commit that referenced this pull request Oct 11, 2023
* fix requesting code for txs without tx to

* rm files

* handle method data wothout saving in state

* add test

* fix race condition

* fix includeS

* tests

* add missing doc

* use npm eth-method-registry
MajorLift pushed a commit that referenced this pull request Oct 11, 2023
* fix requesting code for txs without tx to

* rm files

* handle method data wothout saving in state

* add test

* fix race condition

* fix includeS

* tests

* add missing doc

* use npm eth-method-registry
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