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
{{ message }}
This repository has been archived by the owner on Mar 29, 2023. It is now read-only.
e => TransactionError: Program failed to complete
at parseTransactionError (/Users/admin/Documents/workspace/tumulus/tumulus/Contracts/Solana/node_modules/@solana/solidity/lib/logs.js:161:31)
at /Users/admin/Documents/workspace/tumulus/tumulus/Contracts/Solana/node_modules/@solana/solidity/lib/logs.js:123:27
at Generator.throw (<anonymous>)
at rejected (/Users/admin/Documents/workspace/tumulus/tumulus/Contracts/Solana/node_modules/@solana/solidity/lib/logs.js:6:65)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
logs: [
'Program 34vt7Bz8tAtVYPUJ6seKZGLgRGWENFNJKgUvreFjo4wt invoke [1]',
'Program 34vt7Bz8tAtVYPUJ6seKZGLgRGWENFNJKgUvreFjo4wt consumed 1489 of 200000 compute units',
**'Program failed to complete: Access violation in input section at address 0x47a70e3ca of size 8 by instruction #11821',**
'Program 34vt7Bz8tAtVYPUJ6seKZGLgRGWENFNJKgUvreFjo4wt failed: Program failed to complete'
],
computeUnitsUsed: 1489
maybe, string type has some problems?
The text was updated successfully, but these errors were encountered:
blockdev723
changed the title
Second writing data failed
Second data writing failed
Jul 27, 2022
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
To write data, the first calling write function is working well.
but if call it again to write second data, it is failed.
Solidity contract:
mapping(address => uint256) public transactionCount;
mapping( address => mapping(uint256 => uint256)) public timestamps;
mapping( address => mapping(uint256 => string)) public txTypes;
mapping( address => mapping(uint256 => string)) public txDatas;
deploy contract and call "write" function:
const writeTx = await contract.writeTransaction('1000000000000000000', 'TestTx', 'tx data');
!!!!!!!!!!! success
Error content:
maybe, string type has some problems?
The text was updated successfully, but these errors were encountered: