-
Notifications
You must be signed in to change notification settings - Fork 45
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
perf: unnecessary call to arweave.networkInfo when block height is re… #71
Conversation
@@ -86,7 +86,6 @@ | |||
"2caOW6ol9T8LHCMO8tVAx4GHRwv1q3fFc79KzKOtoww", | |||
"HdZBZa0GfOEUYCubwvoSyxGUUgPmgy7RJb5l77T21bE", | |||
"7Dp5r-UpZLDvHqsDbZbqWhCBwbYdJMKBuC3tFC-FF7U", | |||
"YLVpmhSq5JmLltfg6R-5fL04rIRPrlSU22f6RQ6VyYE", |
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.
removing. Slowing down the whole SDK just because of this one, abandoned contract, is not very wise :-)
original issue: ArweaveTeam/SmartWeave#92
f58b651
to
8616257
Compare
8616257
to
a33210b
Compare
@@ -49,13 +51,13 @@ describe('readState', () => { | |||
const contractTxId = 'CbGCxBJn6jLeezqDl1w3o8oCSeRCb-MmtZNKPodla-0'; | |||
const blockHeight = 707892; | |||
const result = await readContract(arweave, contractTxId, blockHeight); | |||
const resultString = JSON.stringify(result).trim(); | |||
const resultString = stringify(result).trim(); |
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.
for the t9T7DIOGxx4VWXoCEeYYarFYeERTpWIC1V3y-BPZgKE
contract the JSON.stringify turned to be non-deterministic.
f225ce1
to
6858537
Compare
…quest from client #70