-
Notifications
You must be signed in to change notification settings - Fork 16
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
feat: upgrade to solc 0.6.10 and added GsnCapableDocumentStore #76
Conversation
@@ -2,6 +2,9 @@ | |||
"extends": ["solhint:recommended"], | |||
"plugins": ["prettier"], | |||
"rules": { | |||
"indent": ["error", 2] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't have a good understanding of how GSN works yet, just a very brief idea. I was looking out for a test that can show that one party can fund another's transaction but dont find the test in there.
import "@opengsn/gsn/contracts/BaseRelayRecipient.sol"; | ||
import "@opengsn/gsn/contracts/interfaces/IKnowForwarderAddress.sol"; | ||
|
||
contract GsnCapableDocumentStore is BaseRelayRecipient, IKnowForwarderAddress, GsnCapable { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why not extend the base document store too?
test/GsnCapableDocumentStore.js
Outdated
|
||
const issue = documentMerkleRoot => instance.issue(documentMerkleRoot); | ||
|
||
describe("constructor", () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if inheriting from document store base contract can remove these test?
* fix: bytecode * fix: refactored data * fix: lint Co-authored-by: Raymond Yeh <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm.
can help to tidy up the dependent code in another PR?
🎉 This PR is included in version 2.1.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This PR includes:
Removed:
Todo: