feat: initialize Kurdistan SDK - independent fork of Polkadot SDK
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
// SPDX-License-Identifier: MIT
|
||||
pragma solidity >=0.8.0;
|
||||
|
||||
contract CallerWithConstructor {
|
||||
CallerWithConstructorCallee callee;
|
||||
|
||||
constructor() {
|
||||
callee = new CallerWithConstructorCallee();
|
||||
}
|
||||
|
||||
function callBar() public view returns (uint64) {
|
||||
return callee.bar();
|
||||
}
|
||||
}
|
||||
|
||||
contract CallerWithConstructorCallee {
|
||||
function bar() public pure returns (uint64) {
|
||||
return 42;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user