You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After the 0.6.0 version we can print the data sources with logDataSources. I would like to be able to retrieve the data source information to test whether the values are correct.
I would like to add a test that checks if the context is correct.
Something like:
logDataSources('GraphTokenLockWallet')letdataSource=getDataSource('GraphTokenLockWallet')assert.bigIntEquals(dataSource[0xa16081f360e3847006db660bae1c6d1b2e17ec2a].context.contextVal.data,325)// other assert for checking the data source context etc.
The text was updated successfully, but these errors were encountered:
Hi,
After the
0.6.0
version we can print the data sources withlogDataSources
. I would like to be able to retrieve the data source information to test whether the values are correct.example:
let's say I have this
logDataSource
output:I would like to add a test that checks if the context is correct.
Something like:
The text was updated successfully, but these errors were encountered: