This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"contractName": "HeadTail", | |
"abi": [ | |
{ | |
"inputs": [], | |
"name": "stake", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.0; | |
// import '@openzeppelin/contracts/utils/cryptography/ECDSA.sol'; | |
contract HeadTail { | |
address payable public userOneAddress; | |
bytes public userOneSignedChoiceHash; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
godwoken_1 | sync new block #1138 success | |
godwoken_1 | [contract debug]: BEGIN parse_message() | |
godwoken_1 | [contract debug]: args_len => 226 | |
godwoken_1 | [contract debug]: [kind] => 0 | |
godwoken_1 | [contract debug]: [flags] => 0 | |
godwoken_1 | [contract debug]: [gas_limit] => 21000000 | |
godwoken_1 | [contract debug]: [gas_price] => 50 | |
godwoken_1 | [contract debug]: [value] 0x0000000000000000000000000000000000000000000000000000000000000000 | |
godwoken_1 | [contract debug]: [input_size] => 164 | |
godwoken_1 | [contract debug]: [input_data] 0xd536ac9500000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000002d3331326433356173643435346173646461736464643233343431323434343434343466796775696a6b6664723400000000000000000000000000000000000000 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ force-bridge-eth git:(main) ✗ make local-ci | |
git submodule update --init | |
# make close-dev-env | |
rm -rf ~/.force-bridge/eth-rocksdb | |
rm -rf ~/.force-bridge/ckb-rocksdb | |
test -f ~/.force-bridge/config.toml && mv ~/.force-bridge/config.toml ~/.force-bridge/config_bak_`date "+%Y%m%d-%H%M%S"`.toml || echo 'config not exist' | |
cd offchain-modules && cargo build | |
Compiling force-eth-lib v0.1.0 (/home/kuzi/projects/force-bridge-eth/offchain-modules/lib) | |
Compiling force-eth-cli v0.1.0 (/home/kuzi/projects/force-bridge-eth/offchain-modules/cli) | |
Finished dev [unoptimized + debuginfo] target(s) in 16.63s |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.0; | |
import '@openzeppelin/contracts/utils/cryptography/ECDSA.sol'; | |
contract HeadTail { | |
address payable public userOneAddress; | |
bytes public userOneSignedChoiceHash; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"contractName": "HeadTail", | |
"abi": [ | |
{ | |
"inputs": [], | |
"name": "stake", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.0; | |
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; | |
contract HeadTail { | |
address payable public userOneAddress; | |
bytes public userOneSignedChoiceHash; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.0; | |
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; | |
contract HeadTail { | |
address payable public userOneAddress; | |
bytes public userOneSignedChoiceHash; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ ckb | |
ckb 0.42.0 | |
Nervos Core Dev <[email protected]> | |
Nervos CKB - The Common Knowledge Base | |
USAGE: | |
ckb [OPTIONS] <SUBCOMMAND> | |
FLAGS: | |
-h, --help Prints help information |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"custodian_lock": { | |
"script_type_hash": "0xa759e018be424a5bbc89c405cbb9dfb4d3b9c659df7783220c824d1c34d448eb", | |
"cell_dep": { | |
"out_point": { | |
"tx_hash": "0xc26256482613d7ccc9ef6ccf3f6461fc357b337a8fd8c24dbb1cef4764c7a2ca", | |
"index": "0x0" | |
}, | |
"dep_type": "code" | |
} |