Skip to content

Commit 196646e

Browse files
authored
cleanup precompile contracts (#53)
1 parent 92a867f commit 196646e

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

src/SovaL1Block.sol

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,20 @@ import "./interfaces/ISovaL1Block.sol";
1313
* @author Sova Labs
1414
*
1515
* SovaL1Block provides information about the state of the Bitcoin chain.
16-
* Values stored in this contract are used by validators to verify block execution.
16+
* Values stored in this contract are used by validators to verify BTC block execution.
1717
* The primary values used here are the Bitcoin block height and trailing block hash.
1818
*/
1919
contract SovaL1Block is ISovaL1Block, Ownable {
2020
uint64 private currentBlockHeight;
2121
bytes32 private blockHashSixBlocksBack;
2222
uint256 private lastUpdatedBlock;
2323

24-
address private constant SYSTEM_ACCOUNT_ADDRESS = 0xDeaDDEaDDeAdDeAdDEAdDEaddeAddEAdDEAd0001;
25-
2624
constructor() Ownable() {
2725
_initializeOwner(msg.sender);
2826
}
2927

3028
function version() external pure virtual returns (string memory) {
31-
return "0.1.0-beta.1";
29+
return "0.1.0-beta.2";
3230
}
3331

3432
function setBitcoinBlockData(uint64 _blockHeight, bytes32 _blockHash) external {

src/lib/SovaBitcoin.sol

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ library SovaBitcoin {
1212
address public constant BROADCAST_TRANSACTION_PRECOMPILE_ADDRESS = address(0x999);
1313
address public constant DECODE_TRANSACTION_PRECOMPILE_ADDRESS = address(0x998);
1414
address public constant CONVERT_ADDRESS_PRECOMPILE_ADDRESS = address(0x997);
15-
address public constant VAULT_SPEND_PRECOMPILE_ADDRESS = address(0x996);
1615

1716
/// @notice Bitcoin context contract address
1817
address public constant SOVA_L1_BLOCK_ADDRESS = 0x2100000000000000000000000000000000000015;
@@ -46,9 +45,9 @@ library SovaBitcoin {
4645
error InsufficientInput();
4746
error InvalidLocktime();
4847

49-
/// @custom:semver 0.1.0-beta.1
48+
/// @custom:semver 0.1.0-beta.2
5049
function version() public pure returns (string memory) {
51-
return "0.1.0-beta.1";
50+
return "0.1.0-beta.2";
5251
}
5352

5453
/**

0 commit comments

Comments
 (0)