-
Notifications
You must be signed in to change notification settings - Fork 187
Implemented KAS repoistory to load contracts data #588
Implemented KAS repoistory to load contracts data #588
Conversation
482908f
to
692dfe6
Compare
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.
Please make tests for possible cases.
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
692dfe6
to
1e8e379
Compare
b4b0cc2
to
950fa34
Compare
if isInvalid, err := f.supportsInterface(contract, opts, InvalidId); err != nil { | ||
logger.Error("supportsInterface is failed", "contract", contract.String(), "blockNumber", blockNumber, "interfaceID", hexutil.Encode(InvalidId[:])) | ||
return false, err | ||
} else if isInvalid { | ||
return false, nil | ||
} |
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.
Is checking for InvalidId
mandatory?
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.
Yes, according to the KIP-13
specification, it is required.
ref: https://kips.klaytn.com/KIPs/kip-13#how-to-query-if-a-contract-implements-kip-13
Please, consider another way of executing a contract without |
6f0026f
6fe2202
to
6f0026f
Compare
@aidan-kwon Under the circumstance, I will consider |
cbbc865
6f0026f
to
cbbc865
Compare
8e5950d
to
e101e5c
Compare
Sorry to bother you, but I resolved conflicts. Please take another look. @ehnuje @KimKyungup |
Proposed changes
Types of changes
Please put an x in the boxes related to your change.
Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.
$ make test
)