mirror of
https://github.com/pezkuwichain/revive.git
synced 2026-04-29 03:07:57 +00:00
ad805543b3
- polkadot-sdk#6890 companion - Adjust the gas price constant for the required polkadot-sdk version as a drive-by
32 lines
527 B
Solidity
32 lines
527 B
Solidity
// SPDX-License-Identifier: MIT
|
|
|
|
pragma solidity ^0.8;
|
|
|
|
/* runner.json
|
|
{
|
|
"differential": false,
|
|
"actions": [
|
|
{
|
|
"Instantiate": {
|
|
"code": {
|
|
"Solidity": {
|
|
"contract": "GasPrice"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"VerifyCall": {
|
|
"success": true
|
|
}
|
|
}
|
|
]
|
|
}
|
|
*/
|
|
|
|
contract GasPrice {
|
|
constructor() payable {
|
|
assert(tx.gasprice == 1000);
|
|
}
|
|
}
|