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
Not fixed yet: I added a fix to the lib.rs (created contract_id, inserted contract to GetContractByID and emitted an event). Event now does log, but there's a new error (maybe related to me not fixing this in the correct way)
Fix: Had to change the data type for NoiseKey in lib.rs to H512 and it works. Updates types and also agreggated new types locally. Tried also with Public type but it didn't work. I guess because the value of the NoiseKey is <Buffer 26 6f 1c df f6 c0 e6 98 c9 36 60 8f 50 b4 8d ad a4 53 82 1f 5c 46 9c 9d b5 6a bc 91 a1 47 54 3b, secure: true>
Error 3
Update
Date: July 8
Not fixed yet: I added a fix to the lib.rs (created contract_id, inserted contract to GetContractByID and emitted an event). Event now does log, but there's a new error (maybe related to me not fixing this in the correct way)
Date: July 8
Scenario:
alice([user, publisher])
bob([user, hoster, attestor])
charlie([user, hoster, attestor])
dave([user, hoster, encoder])
eve([user, encoder, attestor])
Error: NewContract event doesn't get emited
Output:
Error 2
Update
Date: July 8
Fix: Had to change the data type for NoiseKey in lib.rs to
H512
and it works. Updates types and also agreggated new types locally. Tried also withPublic
type but it didn't work. I guess because the value of the NoiseKey is<Buffer 26 6f 1c df f6 c0 e6 98 c9 36 60 8f 50 b4 8d ad a4 53 82 1f 5c 46 9c 9d b5 6a bc 91 a1 47 54 3b, secure: true>
Logs after the fix and a rebuild
Date: July 8
Scenario:
alice([user, publisher])
bob([user, hoster, attestor])
charlie([user, hoster, attestor])
dave([user, hoster, encoder])
eve([user, encoder, attestor])
Error: Struct: failed on 'noise_key'
Output:
Error 1
Update:
Date: July 8
Fix: Error was related to the nonce we were passing => need to decide where nonce is created (locally and passed with the tx or on chain).
Date: July 7
Scenario:
log('start scenario')
alice([user, hoster])
bob([user, hoster])
Output:
Date: July 7
Scenario:
log('start scenario')
alice([user])
bob([user, publisher])
Output:
The text was updated successfully, but these errors were encountered: