feat: initialize Kurdistan SDK - independent fork of Polkadot SDK

This commit is contained in:
2025-12-13 15:44:15 +03:00
commit e4778b4576
6838 changed files with 1847450 additions and 0 deletions
@@ -0,0 +1,16 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.24;
contract HostTransientMemory {
function transientMemoryTest(uint64 slot, uint64 a) public returns (uint64) {
uint256 value;
assembly {
tstore(slot, a)
}
value = 1;
assembly {
value := tload(slot)
}
return uint64(value - a);
}
}