Skip to content

Commit

Permalink
Merge pull request #2223 from nervosnetwork/develop
Browse files Browse the repository at this point in the history
Deploy to testnet
  • Loading branch information
zmcNotafraid authored Oct 10, 2024
2 parents 16cc7d4 + faa0ed3 commit 4e2bcb8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
6 changes: 1 addition & 5 deletions app/models/ckb_sync/api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,7 @@ def xudt_code_hash
end

def xudt_compatible_code_hashes
if mode == CKB::MODE::MAINNET
[Settings.xudt_compatible_code_hash]
else
[Settings.xudt_compatible_code_hash, Settings.xudt_compatible2_code_hash]
end
[Settings.xudt_compatible_code_hash, Settings.xudt_compatible2_code_hash]
end

def unique_cell_code_hash
Expand Down
1 change: 1 addition & 0 deletions config/settings.mainnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ xudt_code_hash: "0x50bd8d6680b8b9cf98b73f3c08faf8b2a21914311954118ad6609be6e78a1

# xudt compatible
xudt_compatible_code_hash: "0x092c2c4a26ea475a8e860c29cf00502103add677705e2ccd8d6fe5af3caa5ae3"
xudt_compatible2_code_hash: "0x26a33e0815888a4a0614a0b7d09fa951e0993ff21e55905510104a0b1312032b"

unique_cell_code_hash: "0x2c8c11c985da60b0a330c61a85507416d6382c130ba67f0c47ab071e00aec628"

Expand Down

0 comments on commit 4e2bcb8

Please sign in to comment.