chore_:Add keyUID to table when migrating from v1 to v2
This commit is contained in:
parent
631b1afe42
commit
55bde9075f
|
@ -1267,7 +1267,7 @@ func copyDir(srcFolder string, dstFolder string, t *testing.T) {
|
|||
}
|
||||
}
|
||||
|
||||
func login(t *testing.T, conf *params.NodeConfig) {
|
||||
func loginDesktopUser(t *testing.T, conf *params.NodeConfig) {
|
||||
// The following passwords and DB used in this test unit are only
|
||||
// used to determine if login process works correctly after a migration
|
||||
|
||||
|
@ -1305,7 +1305,7 @@ func login(t *testing.T, conf *params.NodeConfig) {
|
|||
|
||||
}
|
||||
|
||||
func TestLoginAndMigrationsStillWorkWithExistingUsers(t *testing.T) {
|
||||
func TestLoginAndMigrationsStillWorkWithExistingDesktopUser(t *testing.T) {
|
||||
utils.Init()
|
||||
|
||||
srcFolder := "../static/test-0.132.0-account/"
|
||||
|
@ -1317,8 +1317,38 @@ func TestLoginAndMigrationsStillWorkWithExistingUsers(t *testing.T) {
|
|||
conf, err := params.NewNodeConfig(tmpdir, 1777)
|
||||
require.NoError(t, err)
|
||||
|
||||
login(t, conf)
|
||||
login(t, conf) // Login twice to catch weird errors that only appear after logout
|
||||
loginDesktopUser(t, conf)
|
||||
loginDesktopUser(t, conf) // Login twice to catch weird errors that only appear after logout
|
||||
}
|
||||
|
||||
func loginMobileUser(t *testing.T, rootDataDir string) {
|
||||
keyUID := "0x855ab0a932e5325daab7a550b9fcd78d2a17de5e2b7a52241f82505ea9d87629"
|
||||
passwd := "0x20756cad9b728c8225fd8cedb6badaf8731e174506950219ea657cd54f35f46c" // #nosec G101
|
||||
|
||||
b := NewGethStatusBackend()
|
||||
b.UpdateRootDataDir(rootDataDir)
|
||||
require.NoError(t, b.OpenAccounts())
|
||||
|
||||
require.NoError(t, b.Login(keyUID, passwd))
|
||||
db, err := accounts.NewDB(b.appDB)
|
||||
require.NoError(t, err)
|
||||
kps, err := db.GetAllKeypairs()
|
||||
require.NoError(t, err)
|
||||
require.NotNil(t, kps)
|
||||
require.NoError(t, b.Logout())
|
||||
}
|
||||
|
||||
func TestLoginAndMigrationsStillWorkWithExistingMobileUser(t *testing.T) {
|
||||
utils.Init()
|
||||
|
||||
srcFolder := "../static/test-mobile-release-1.20.x-aa6e4b2-account/"
|
||||
|
||||
tmpdir := t.TempDir()
|
||||
|
||||
copyDir(srcFolder, tmpdir, t)
|
||||
|
||||
loginMobileUser(t, tmpdir)
|
||||
loginMobileUser(t, tmpdir) // Login twice to catch weird errors that only appear after logout
|
||||
}
|
||||
|
||||
func TestChangeDatabasePassword(t *testing.T) {
|
||||
|
|
|
@ -1,10 +1,15 @@
|
|||
package appdatabase
|
||||
|
||||
import (
|
||||
"crypto/sha256"
|
||||
"database/sql"
|
||||
"encoding/json"
|
||||
"math/big"
|
||||
|
||||
"github.com/ethereum/go-ethereum/common/hexutil"
|
||||
"github.com/ethereum/go-ethereum/crypto"
|
||||
"github.com/status-im/status-go/multiaccounts/accounts"
|
||||
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
"github.com/ethereum/go-ethereum/log"
|
||||
|
@ -20,6 +25,7 @@ import (
|
|||
const nodeCfgMigrationDate = 1640111208
|
||||
|
||||
var customSteps = []*sqlite.PostStep{
|
||||
{Version: 1662365868, CustomMigration: fixMissingKeyUIDForAccounts},
|
||||
{Version: 1674136690, CustomMigration: migrateEnsUsernames},
|
||||
{Version: 1686048341, CustomMigration: migrateWalletJSONBlobs, RollBackVersion: 1686041510},
|
||||
{Version: 1687193315, CustomMigration: migrateWalletTransferFromToAddresses, RollBackVersion: 1686825075},
|
||||
|
@ -76,6 +82,36 @@ func InitializeDB(path, password string, kdfIterationsNumber int) (*sql.DB, erro
|
|||
return db, nil
|
||||
}
|
||||
|
||||
func fixMissingKeyUIDForAccounts(sqlTx *sql.Tx) error {
|
||||
rows, err := sqlTx.Query(`SELECT address,pubkey FROM accounts WHERE pubkey IS NOT NULL`)
|
||||
if err != nil {
|
||||
log.Error("Migrating accounts: failed to query accounts", "err", err.Error())
|
||||
return err
|
||||
}
|
||||
defer rows.Close()
|
||||
for rows.Next() {
|
||||
acc := accounts.Account{}
|
||||
err = rows.Scan(&acc.Address, &acc.PublicKey)
|
||||
if err != nil {
|
||||
log.Error("Migrating accounts: failed to scan records", "err", err.Error())
|
||||
return err
|
||||
}
|
||||
pk, err := crypto.UnmarshalPubkey(acc.PublicKey)
|
||||
if err != nil {
|
||||
log.Error("Migrating accounts: failed to unmarshal pubkey", "err", err.Error(), "pubkey", string(acc.PublicKey))
|
||||
return err
|
||||
}
|
||||
pkBytes := sha256.Sum256(crypto.FromECDSAPub(pk))
|
||||
keyUIDHex := hexutil.Encode(pkBytes[:])
|
||||
_, err = sqlTx.Exec(`UPDATE accounts SET key_uid = ? WHERE address = ?`, keyUIDHex, acc.Address)
|
||||
if err != nil {
|
||||
log.Error("Migrating accounts: failed to update key_uid", "err", err.Error())
|
||||
return err
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func migrateEnsUsernames(sqlTx *sql.Tx) error {
|
||||
|
||||
// 1. Check if ens_usernames table already exist
|
||||
|
|
|
@ -121,6 +121,7 @@ import (
|
|||
"crypto/sha256"
|
||||
"fmt"
|
||||
"io"
|
||||
"io/ioutil"
|
||||
"os"
|
||||
"path/filepath"
|
||||
"strings"
|
||||
|
@ -130,7 +131,7 @@ import (
|
|||
func bindataRead(data []byte, name string) ([]byte, error) {
|
||||
gz, err := gzip.NewReader(bytes.NewBuffer(data))
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("read %q: %w", name, err)
|
||||
return nil, fmt.Errorf("read %q: %v", name, err)
|
||||
}
|
||||
|
||||
var buf bytes.Buffer
|
||||
|
@ -138,7 +139,7 @@ func bindataRead(data []byte, name string) ([]byte, error) {
|
|||
clErr := gz.Close()
|
||||
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("read %q: %w", name, err)
|
||||
return nil, fmt.Errorf("read %q: %v", name, err)
|
||||
}
|
||||
if clErr != nil {
|
||||
return nil, err
|
||||
|
@ -2511,133 +2512,239 @@ func AssetNames() []string {
|
|||
// _bindata is a table, holding each asset generator, mapped to its name.
|
||||
var _bindata = map[string]func() (*asset, error){
|
||||
"1640111208_dummy.up.sql": _1640111208_dummyUpSql,
|
||||
|
||||
"1642666031_add_removed_clock_to_bookmarks.up.sql": _1642666031_add_removed_clock_to_bookmarksUpSql,
|
||||
|
||||
"1643644541_gif_api_key_setting.up.sql": _1643644541_gif_api_key_settingUpSql,
|
||||
|
||||
"1644188994_recent_stickers.up.sql": _1644188994_recent_stickersUpSql,
|
||||
|
||||
"1646659233_add_address_to_dapp_permisssion.up.sql": _1646659233_add_address_to_dapp_permisssionUpSql,
|
||||
|
||||
"1646841105_add_emoji_account.up.sql": _1646841105_add_emoji_accountUpSql,
|
||||
|
||||
"1647278782_display_name.up.sql": _1647278782_display_nameUpSql,
|
||||
|
||||
"1647862838_reset_last_backup.up.sql": _1647862838_reset_last_backupUpSql,
|
||||
|
||||
"1647871652_add_settings_sync_clock_table.up.sql": _1647871652_add_settings_sync_clock_tableUpSql,
|
||||
|
||||
"1647880168_add_torrent_config.up.sql": _1647880168_add_torrent_configUpSql,
|
||||
|
||||
"1647882837_add_communities_settings_table.up.sql": _1647882837_add_communities_settings_tableUpSql,
|
||||
|
||||
"1647956635_add_waku_messages_table.up.sql": _1647956635_add_waku_messages_tableUpSql,
|
||||
|
||||
"1648554928_network_test.up.sql": _1648554928_network_testUpSql,
|
||||
|
||||
"1649174829_add_visitble_token.up.sql": _1649174829_add_visitble_tokenUpSql,
|
||||
|
||||
"1649882262_add_derived_from_accounts.up.sql": _1649882262_add_derived_from_accountsUpSql,
|
||||
|
||||
"1650612625_add_community_message_archive_hashes_table.up.sql": _1650612625_add_community_message_archive_hashes_tableUpSql,
|
||||
|
||||
"1650616788_add_communities_archives_info_table.up.sql": _1650616788_add_communities_archives_info_tableUpSql,
|
||||
|
||||
"1652715604_add_clock_accounts.up.sql": _1652715604_add_clock_accountsUpSql,
|
||||
|
||||
"1653037334_add_notifications_settings_table.up.sql": _1653037334_add_notifications_settings_tableUpSql,
|
||||
|
||||
"1654702119_add_mutual_contact_settings.up.sql": _1654702119_add_mutual_contact_settingsUpSql,
|
||||
|
||||
"1655375270_add_clock_field_to_communities_settings_table.up.sql": _1655375270_add_clock_field_to_communities_settings_tableUpSql,
|
||||
|
||||
"1655385721_drop_networks_config.up.sql": _1655385721_drop_networks_configUpSql,
|
||||
|
||||
"1655385724_networks_chainColor_shortName.up.sql": _1655385724_networks_chaincolor_shortnameUpSql,
|
||||
|
||||
"1655456688_add_deleted_at_field_to_bookmarks_table.up.sql": _1655456688_add_deleted_at_field_to_bookmarks_tableUpSql,
|
||||
|
||||
"1655462032_create_bookmarks_deleted_at_index.up.sql": _1655462032_create_bookmarks_deleted_at_indexUpSql,
|
||||
|
||||
"1657617291_add_multi_transactions_table.up.sql": _1657617291_add_multi_transactions_tableUpSql,
|
||||
|
||||
"1660134042_add_social_links_settings_table.up.sql": _1660134042_add_social_links_settings_tableUpSql,
|
||||
|
||||
"1660134060_settings_bio.up.sql": _1660134060_settings_bioUpSql,
|
||||
|
||||
"1660134070_add_wakuv2_store.up.sql": _1660134070_add_wakuv2_storeUpSql,
|
||||
|
||||
"1660134072_waku2_store_messages.up.sql": _1660134072_waku2_store_messagesUpSql,
|
||||
|
||||
"1662365868_add_key_uid_accounts.up.sql": _1662365868_add_key_uid_accountsUpSql,
|
||||
|
||||
"1662447680_add_keypairs_table.up.sql": _1662447680_add_keypairs_tableUpSql,
|
||||
|
||||
"1662460056_move_favourites_to_saved_addresses.up.sql": _1662460056_move_favourites_to_saved_addressesUpSql,
|
||||
|
||||
"1662738097_add_base_fee_transaction.up.sql": _1662738097_add_base_fee_transactionUpSql,
|
||||
|
||||
"1662972194_add_keypairs_table.up.sql": _1662972194_add_keypairs_tableUpSql,
|
||||
|
||||
"1664392661_add_third_party_id_to_waku_messages.up.sql": _1664392661_add_third_party_id_to_waku_messagesUpSql,
|
||||
|
||||
"1664783660_add_sync_info_to_saved_addresses.up.sql": _1664783660_add_sync_info_to_saved_addressesUpSql,
|
||||
|
||||
"1668109917_wakunodes.up.sql": _1668109917_wakunodesUpSql,
|
||||
|
||||
"1670249678_display_name_to_settings_sync_clock_table.up.sql": _1670249678_display_name_to_settings_sync_clock_tableUpSql,
|
||||
|
||||
"1670836810_add_imported_flag_to_community_archive_hashes.up.sql": _1670836810_add_imported_flag_to_community_archive_hashesUpSql,
|
||||
|
||||
"1671438731_add_magnetlink_uri_to_communities_archive_info.up.sql": _1671438731_add_magnetlink_uri_to_communities_archive_infoUpSql,
|
||||
|
||||
"1672933930_switcher_card.up.sql": _1672933930_switcher_cardUpSql,
|
||||
|
||||
"1674056187_add_price_cache.up.sql": _1674056187_add_price_cacheUpSql,
|
||||
|
||||
"1674136690_ens_usernames.up.sql": _1674136690_ens_usernamesUpSql,
|
||||
|
||||
"1674232431_add_balance_history.up.sql": _1674232431_add_balance_historyUpSql,
|
||||
|
||||
"1676368933_keypairs_to_keycards.up.sql": _1676368933_keypairs_to_keycardsUpSql,
|
||||
|
||||
"1676951398_add_currency_format_cache.up.sql": _1676951398_add_currency_format_cacheUpSql,
|
||||
|
||||
"1676968196_keycards_add_clock_column.up.sql": _1676968196_keycards_add_clock_columnUpSql,
|
||||
|
||||
"1676968197_add_fallback_rpc_to_networks.up.sql": _1676968197_add_fallback_rpc_to_networksUpSql,
|
||||
|
||||
"1677674090_add_chains_ens_istest_to_saved_addresses.up.sql": _1677674090_add_chains_ens_istest_to_saved_addressesUpSql,
|
||||
|
||||
"1677681143_accounts_table_type_column_update.up.sql": _1677681143_accounts_table_type_column_updateUpSql,
|
||||
|
||||
"1678264207_accounts_table_new_columns_added.up.sql": _1678264207_accounts_table_new_columns_addedUpSql,
|
||||
|
||||
"1680770368_add_bio_to_settings_sync_clock_table.up.sql": _1680770368_add_bio_to_settings_sync_clock_tableUpSql,
|
||||
|
||||
"1681110436_add_mnemonic_to_settings_sync_clock_table.up.sql": _1681110436_add_mnemonic_to_settings_sync_clock_tableUpSql,
|
||||
|
||||
"1681392602_9d_sync_period.up.sql": _1681392602_9d_sync_periodUpSql,
|
||||
|
||||
"1681762078_default_sync_period_9d.up.sql": _1681762078_default_sync_period_9dUpSql,
|
||||
|
||||
"1681780680_add_clock_to_social_links_settings.up.sql": _1681780680_add_clock_to_social_links_settingsUpSql,
|
||||
|
||||
"1682073779_settings_table_remove_latest_derived_path_column.up.sql": _1682073779_settings_table_remove_latest_derived_path_columnUpSql,
|
||||
|
||||
"1682146075_add_created_at_to_saved_addresses.up.sql": _1682146075_add_created_at_to_saved_addressesUpSql,
|
||||
|
||||
"1682393575_sync_ens_name.up.sql": _1682393575_sync_ens_nameUpSql,
|
||||
|
||||
"1683457503_add_blocks_ranges_sequential_table.up.sql": _1683457503_add_blocks_ranges_sequential_tableUpSql,
|
||||
|
||||
"1683627613_accounts_and_keycards_improvements.up.sql": _1683627613_accounts_and_keycards_improvementsUpSql,
|
||||
|
||||
"1685041348_settings_table_add_latest_derived_path_column.up.sql": _1685041348_settings_table_add_latest_derived_path_columnUpSql,
|
||||
|
||||
"1685440989_update_color_id_accounts.up.sql": _1685440989_update_color_id_accountsUpSql,
|
||||
|
||||
"1685463947_add_to_asset_to_multitransaction.up.sql": _1685463947_add_to_asset_to_multitransactionUpSql,
|
||||
|
||||
"1685880973_add_profile_links_settings_table.up.sql": _1685880973_add_profile_links_settings_tableUpSql,
|
||||
|
||||
"1686041510_add_idx_transfers_blkno_loaded.up.sql": _1686041510_add_idx_transfers_blkno_loadedUpSql,
|
||||
|
||||
"1686048341_transfers_receipt_json_blob_out.up.sql.down.sql": _1686048341_transfers_receipt_json_blob_outUpSqlDownSql,
|
||||
|
||||
"1686048341_transfers_receipt_json_blob_out.up.sql.up.sql": _1686048341_transfers_receipt_json_blob_outUpSqlUpSql,
|
||||
|
||||
"1686825075_cleanup_token_address.up.sql": _1686825075_cleanup_token_addressUpSql,
|
||||
|
||||
"1687193315_transfers_extract_from_to_address.down.sql": _1687193315_transfers_extract_from_to_addressDownSql,
|
||||
|
||||
"1687193315_transfers_extract_from_to_address.up.sql": _1687193315_transfers_extract_from_to_addressUpSql,
|
||||
|
||||
"1687249080_add_position_accounts.up..sql": _1687249080_add_position_accountsUpSql,
|
||||
|
||||
"1687269871_add_device_name.up.sql": _1687269871_add_device_nameUpSql,
|
||||
|
||||
"1687506642_include_watch_only_account_setting.up.sql": _1687506642_include_watch_only_account_settingUpSql,
|
||||
|
||||
"1688022264_add_include_watch_only_account_to_settings_sync_clock.up.sql": _1688022264_add_include_watch_only_account_to_settings_sync_clockUpSql,
|
||||
|
||||
"1688054680_add_columns_to_multitransaction.up.sql": _1688054680_add_columns_to_multitransactionUpSql,
|
||||
|
||||
"1688636552_keycards_table_columns_update.up.sql": _1688636552_keycards_table_columns_updateUpSql,
|
||||
|
||||
"1689248269_add_related_chain_id_networks.up.sql": _1689248269_add_related_chain_id_networksUpSql,
|
||||
|
||||
"1689340211_index_filter_columns.up.sql": _1689340211_index_filter_columnsUpSql,
|
||||
|
||||
"1689498471_make_wallet_accounts_positions_non_negative.up.sql": _1689498471_make_wallet_accounts_positions_non_negativeUpSql,
|
||||
|
||||
"1689856991_add_soft_remove_column_for_keypairs_and_accounts.up.sql": _1689856991_add_soft_remove_column_for_keypairs_and_accountsUpSql,
|
||||
|
||||
"1690225863_add_collectibles_ownership_cache.up.sql": _1690225863_add_collectibles_ownership_cacheUpSql,
|
||||
|
||||
"1690734354_add_preferred_chain_ids.up.sql": _1690734354_add_preferred_chain_idsUpSql,
|
||||
|
||||
"1691173699_add_collectibles_and_collections_data_cache.up.sql": _1691173699_add_collectibles_and_collections_data_cacheUpSql,
|
||||
|
||||
"1691753758_move_wallet_tables_to_wallet_db.up.sql": _1691753758_move_wallet_tables_to_wallet_dbUpSql,
|
||||
|
||||
"1691753800_pubsubtopic_key.up.sql": _1691753800_pubsubtopic_keyUpSql,
|
||||
|
||||
"1693900971_add_profile_migration_needed_column_to_settings_table.up.sql": _1693900971_add_profile_migration_needed_column_to_settings_tableUpSql,
|
||||
|
||||
"1694764094_add_original_to_networks.up.sql": _1694764094_add_original_to_networksUpSql,
|
||||
|
||||
"1695974515_add_is_sepolia_enabled_to_settings.up.sql": _1695974515_add_is_sepolia_enabled_to_settingsUpSql,
|
||||
|
||||
"1696259336_settings_add_url_unfurling_mode.up.sql": _1696259336_settings_add_url_unfurling_modeUpSql,
|
||||
|
||||
"1697123140_drop_include_watch_only_accounts.up.sql": _1697123140_drop_include_watch_only_accountsUpSql,
|
||||
|
||||
"1697123233_drop_include_watch_only_account_to_settings_sync_clock.up.sql": _1697123233_drop_include_watch_only_account_to_settings_sync_clockUpSql,
|
||||
|
||||
"1697623289_add_omit_transfers_history_scan_to_settings.up.sql": _1697623289_add_omit_transfers_history_scan_to_settingsUpSql,
|
||||
|
||||
"1699577175_use_shards.up.sql": _1699577175_use_shardsUpSql,
|
||||
|
||||
"1700741911_clusterID.up.sql": _1700741911_clusteridUpSql,
|
||||
|
||||
"1701084316_add_wallet_was_not_shown_to_keypairs_accounts.up.sql": _1701084316_add_wallet_was_not_shown_to_keypairs_accountsUpSql,
|
||||
|
||||
"1701084317_add_mnemonic_was_not_shown_to_settings.up.sql": _1701084317_add_mnemonic_was_not_shown_to_settingsUpSql,
|
||||
|
||||
"1701444172_token_preferences.up.sql": _1701444172_token_preferencesUpSql,
|
||||
|
||||
"1701961850_shards_test.up.sql": _1701961850_shards_testUpSql,
|
||||
|
||||
"1702395750_fix_enr_shards_test.up.sql": _1702395750_fix_enr_shards_testUpSql,
|
||||
|
||||
"1702999401_add_dns_discovery_url.up.sql": _1702999401_add_dns_discovery_urlUpSql,
|
||||
|
||||
"1704281285_tokens_advanced_settings.up.sql": _1704281285_tokens_advanced_settingsUpSql,
|
||||
|
||||
"1705338819_collectible_preferences.up.sql": _1705338819_collectible_preferencesUpSql,
|
||||
|
||||
"1706097653_migration_order_fix.up.sql": _1706097653_migration_order_fixUpSql,
|
||||
|
||||
"1706955596_community_storenodes.up.sql": _1706955596_community_storenodesUpSql,
|
||||
|
||||
"1708352924_add_peer_syncing_enabled_to_settings.up.sql": _1708352924_add_peer_syncing_enabled_to_settingsUpSql,
|
||||
|
||||
"1708416025_make_sepolia_default.up.sql": _1708416025_make_sepolia_defaultUpSql,
|
||||
|
||||
"1709203128_fix_chain_colors.up.sql": _1709203128_fix_chain_colorsUpSql,
|
||||
|
||||
"1709795716_migration_order_fix.up.sql": _1709795716_migration_order_fixUpSql,
|
||||
|
||||
"1715756976_network_short_names_update.up.sql": _1715756976_network_short_names_updateUpSql,
|
||||
|
||||
"doc.go": docGo,
|
||||
}
|
||||
|
||||
// AssetDebug is true if the assets were built with the debug flag enabled.
|
||||
const AssetDebug = false
|
||||
|
||||
// AssetDir returns the file names below a certain
|
||||
// directory embedded in the file by go-bindata.
|
||||
// For example if you run go-bindata on data/... and data contains the
|
||||
// following hierarchy:
|
||||
//
|
||||
// data/
|
||||
// foo.txt
|
||||
// img/
|
||||
// a.png
|
||||
// b.png
|
||||
//
|
||||
// then AssetDir("data") would return []string{"foo.txt", "img"},
|
||||
// AssetDir("data/img") would return []string{"a.png", "b.png"},
|
||||
// AssetDir("foo.txt") and AssetDir("notexist") would return an error, and
|
||||
|
@ -2670,118 +2777,118 @@ type bintree struct {
|
|||
}
|
||||
|
||||
var _bintree = &bintree{nil, map[string]*bintree{
|
||||
"1640111208_dummy.up.sql": {_1640111208_dummyUpSql, map[string]*bintree{}},
|
||||
"1642666031_add_removed_clock_to_bookmarks.up.sql": {_1642666031_add_removed_clock_to_bookmarksUpSql, map[string]*bintree{}},
|
||||
"1643644541_gif_api_key_setting.up.sql": {_1643644541_gif_api_key_settingUpSql, map[string]*bintree{}},
|
||||
"1644188994_recent_stickers.up.sql": {_1644188994_recent_stickersUpSql, map[string]*bintree{}},
|
||||
"1646659233_add_address_to_dapp_permisssion.up.sql": {_1646659233_add_address_to_dapp_permisssionUpSql, map[string]*bintree{}},
|
||||
"1646841105_add_emoji_account.up.sql": {_1646841105_add_emoji_accountUpSql, map[string]*bintree{}},
|
||||
"1647278782_display_name.up.sql": {_1647278782_display_nameUpSql, map[string]*bintree{}},
|
||||
"1647862838_reset_last_backup.up.sql": {_1647862838_reset_last_backupUpSql, map[string]*bintree{}},
|
||||
"1647871652_add_settings_sync_clock_table.up.sql": {_1647871652_add_settings_sync_clock_tableUpSql, map[string]*bintree{}},
|
||||
"1647880168_add_torrent_config.up.sql": {_1647880168_add_torrent_configUpSql, map[string]*bintree{}},
|
||||
"1647882837_add_communities_settings_table.up.sql": {_1647882837_add_communities_settings_tableUpSql, map[string]*bintree{}},
|
||||
"1647956635_add_waku_messages_table.up.sql": {_1647956635_add_waku_messages_tableUpSql, map[string]*bintree{}},
|
||||
"1648554928_network_test.up.sql": {_1648554928_network_testUpSql, map[string]*bintree{}},
|
||||
"1649174829_add_visitble_token.up.sql": {_1649174829_add_visitble_tokenUpSql, map[string]*bintree{}},
|
||||
"1649882262_add_derived_from_accounts.up.sql": {_1649882262_add_derived_from_accountsUpSql, map[string]*bintree{}},
|
||||
"1650612625_add_community_message_archive_hashes_table.up.sql": {_1650612625_add_community_message_archive_hashes_tableUpSql, map[string]*bintree{}},
|
||||
"1650616788_add_communities_archives_info_table.up.sql": {_1650616788_add_communities_archives_info_tableUpSql, map[string]*bintree{}},
|
||||
"1652715604_add_clock_accounts.up.sql": {_1652715604_add_clock_accountsUpSql, map[string]*bintree{}},
|
||||
"1653037334_add_notifications_settings_table.up.sql": {_1653037334_add_notifications_settings_tableUpSql, map[string]*bintree{}},
|
||||
"1654702119_add_mutual_contact_settings.up.sql": {_1654702119_add_mutual_contact_settingsUpSql, map[string]*bintree{}},
|
||||
"1655375270_add_clock_field_to_communities_settings_table.up.sql": {_1655375270_add_clock_field_to_communities_settings_tableUpSql, map[string]*bintree{}},
|
||||
"1655385721_drop_networks_config.up.sql": {_1655385721_drop_networks_configUpSql, map[string]*bintree{}},
|
||||
"1655385724_networks_chainColor_shortName.up.sql": {_1655385724_networks_chaincolor_shortnameUpSql, map[string]*bintree{}},
|
||||
"1655456688_add_deleted_at_field_to_bookmarks_table.up.sql": {_1655456688_add_deleted_at_field_to_bookmarks_tableUpSql, map[string]*bintree{}},
|
||||
"1655462032_create_bookmarks_deleted_at_index.up.sql": {_1655462032_create_bookmarks_deleted_at_indexUpSql, map[string]*bintree{}},
|
||||
"1657617291_add_multi_transactions_table.up.sql": {_1657617291_add_multi_transactions_tableUpSql, map[string]*bintree{}},
|
||||
"1660134042_add_social_links_settings_table.up.sql": {_1660134042_add_social_links_settings_tableUpSql, map[string]*bintree{}},
|
||||
"1660134060_settings_bio.up.sql": {_1660134060_settings_bioUpSql, map[string]*bintree{}},
|
||||
"1660134070_add_wakuv2_store.up.sql": {_1660134070_add_wakuv2_storeUpSql, map[string]*bintree{}},
|
||||
"1660134072_waku2_store_messages.up.sql": {_1660134072_waku2_store_messagesUpSql, map[string]*bintree{}},
|
||||
"1662365868_add_key_uid_accounts.up.sql": {_1662365868_add_key_uid_accountsUpSql, map[string]*bintree{}},
|
||||
"1662447680_add_keypairs_table.up.sql": {_1662447680_add_keypairs_tableUpSql, map[string]*bintree{}},
|
||||
"1662460056_move_favourites_to_saved_addresses.up.sql": {_1662460056_move_favourites_to_saved_addressesUpSql, map[string]*bintree{}},
|
||||
"1662738097_add_base_fee_transaction.up.sql": {_1662738097_add_base_fee_transactionUpSql, map[string]*bintree{}},
|
||||
"1662972194_add_keypairs_table.up.sql": {_1662972194_add_keypairs_tableUpSql, map[string]*bintree{}},
|
||||
"1664392661_add_third_party_id_to_waku_messages.up.sql": {_1664392661_add_third_party_id_to_waku_messagesUpSql, map[string]*bintree{}},
|
||||
"1664783660_add_sync_info_to_saved_addresses.up.sql": {_1664783660_add_sync_info_to_saved_addressesUpSql, map[string]*bintree{}},
|
||||
"1668109917_wakunodes.up.sql": {_1668109917_wakunodesUpSql, map[string]*bintree{}},
|
||||
"1670249678_display_name_to_settings_sync_clock_table.up.sql": {_1670249678_display_name_to_settings_sync_clock_tableUpSql, map[string]*bintree{}},
|
||||
"1670836810_add_imported_flag_to_community_archive_hashes.up.sql": {_1670836810_add_imported_flag_to_community_archive_hashesUpSql, map[string]*bintree{}},
|
||||
"1671438731_add_magnetlink_uri_to_communities_archive_info.up.sql": {_1671438731_add_magnetlink_uri_to_communities_archive_infoUpSql, map[string]*bintree{}},
|
||||
"1672933930_switcher_card.up.sql": {_1672933930_switcher_cardUpSql, map[string]*bintree{}},
|
||||
"1674056187_add_price_cache.up.sql": {_1674056187_add_price_cacheUpSql, map[string]*bintree{}},
|
||||
"1674136690_ens_usernames.up.sql": {_1674136690_ens_usernamesUpSql, map[string]*bintree{}},
|
||||
"1674232431_add_balance_history.up.sql": {_1674232431_add_balance_historyUpSql, map[string]*bintree{}},
|
||||
"1676368933_keypairs_to_keycards.up.sql": {_1676368933_keypairs_to_keycardsUpSql, map[string]*bintree{}},
|
||||
"1676951398_add_currency_format_cache.up.sql": {_1676951398_add_currency_format_cacheUpSql, map[string]*bintree{}},
|
||||
"1676968196_keycards_add_clock_column.up.sql": {_1676968196_keycards_add_clock_columnUpSql, map[string]*bintree{}},
|
||||
"1676968197_add_fallback_rpc_to_networks.up.sql": {_1676968197_add_fallback_rpc_to_networksUpSql, map[string]*bintree{}},
|
||||
"1677674090_add_chains_ens_istest_to_saved_addresses.up.sql": {_1677674090_add_chains_ens_istest_to_saved_addressesUpSql, map[string]*bintree{}},
|
||||
"1677681143_accounts_table_type_column_update.up.sql": {_1677681143_accounts_table_type_column_updateUpSql, map[string]*bintree{}},
|
||||
"1678264207_accounts_table_new_columns_added.up.sql": {_1678264207_accounts_table_new_columns_addedUpSql, map[string]*bintree{}},
|
||||
"1680770368_add_bio_to_settings_sync_clock_table.up.sql": {_1680770368_add_bio_to_settings_sync_clock_tableUpSql, map[string]*bintree{}},
|
||||
"1681110436_add_mnemonic_to_settings_sync_clock_table.up.sql": {_1681110436_add_mnemonic_to_settings_sync_clock_tableUpSql, map[string]*bintree{}},
|
||||
"1681392602_9d_sync_period.up.sql": {_1681392602_9d_sync_periodUpSql, map[string]*bintree{}},
|
||||
"1681762078_default_sync_period_9d.up.sql": {_1681762078_default_sync_period_9dUpSql, map[string]*bintree{}},
|
||||
"1681780680_add_clock_to_social_links_settings.up.sql": {_1681780680_add_clock_to_social_links_settingsUpSql, map[string]*bintree{}},
|
||||
"1682073779_settings_table_remove_latest_derived_path_column.up.sql": {_1682073779_settings_table_remove_latest_derived_path_columnUpSql, map[string]*bintree{}},
|
||||
"1682146075_add_created_at_to_saved_addresses.up.sql": {_1682146075_add_created_at_to_saved_addressesUpSql, map[string]*bintree{}},
|
||||
"1682393575_sync_ens_name.up.sql": {_1682393575_sync_ens_nameUpSql, map[string]*bintree{}},
|
||||
"1683457503_add_blocks_ranges_sequential_table.up.sql": {_1683457503_add_blocks_ranges_sequential_tableUpSql, map[string]*bintree{}},
|
||||
"1683627613_accounts_and_keycards_improvements.up.sql": {_1683627613_accounts_and_keycards_improvementsUpSql, map[string]*bintree{}},
|
||||
"1685041348_settings_table_add_latest_derived_path_column.up.sql": {_1685041348_settings_table_add_latest_derived_path_columnUpSql, map[string]*bintree{}},
|
||||
"1685440989_update_color_id_accounts.up.sql": {_1685440989_update_color_id_accountsUpSql, map[string]*bintree{}},
|
||||
"1685463947_add_to_asset_to_multitransaction.up.sql": {_1685463947_add_to_asset_to_multitransactionUpSql, map[string]*bintree{}},
|
||||
"1685880973_add_profile_links_settings_table.up.sql": {_1685880973_add_profile_links_settings_tableUpSql, map[string]*bintree{}},
|
||||
"1686041510_add_idx_transfers_blkno_loaded.up.sql": {_1686041510_add_idx_transfers_blkno_loadedUpSql, map[string]*bintree{}},
|
||||
"1686048341_transfers_receipt_json_blob_out.up.sql.down.sql": {_1686048341_transfers_receipt_json_blob_outUpSqlDownSql, map[string]*bintree{}},
|
||||
"1686048341_transfers_receipt_json_blob_out.up.sql.up.sql": {_1686048341_transfers_receipt_json_blob_outUpSqlUpSql, map[string]*bintree{}},
|
||||
"1686825075_cleanup_token_address.up.sql": {_1686825075_cleanup_token_addressUpSql, map[string]*bintree{}},
|
||||
"1687193315_transfers_extract_from_to_address.down.sql": {_1687193315_transfers_extract_from_to_addressDownSql, map[string]*bintree{}},
|
||||
"1687193315_transfers_extract_from_to_address.up.sql": {_1687193315_transfers_extract_from_to_addressUpSql, map[string]*bintree{}},
|
||||
"1687249080_add_position_accounts.up..sql": {_1687249080_add_position_accountsUpSql, map[string]*bintree{}},
|
||||
"1687269871_add_device_name.up.sql": {_1687269871_add_device_nameUpSql, map[string]*bintree{}},
|
||||
"1687506642_include_watch_only_account_setting.up.sql": {_1687506642_include_watch_only_account_settingUpSql, map[string]*bintree{}},
|
||||
"1688022264_add_include_watch_only_account_to_settings_sync_clock.up.sql": {_1688022264_add_include_watch_only_account_to_settings_sync_clockUpSql, map[string]*bintree{}},
|
||||
"1688054680_add_columns_to_multitransaction.up.sql": {_1688054680_add_columns_to_multitransactionUpSql, map[string]*bintree{}},
|
||||
"1688636552_keycards_table_columns_update.up.sql": {_1688636552_keycards_table_columns_updateUpSql, map[string]*bintree{}},
|
||||
"1689248269_add_related_chain_id_networks.up.sql": {_1689248269_add_related_chain_id_networksUpSql, map[string]*bintree{}},
|
||||
"1689340211_index_filter_columns.up.sql": {_1689340211_index_filter_columnsUpSql, map[string]*bintree{}},
|
||||
"1689498471_make_wallet_accounts_positions_non_negative.up.sql": {_1689498471_make_wallet_accounts_positions_non_negativeUpSql, map[string]*bintree{}},
|
||||
"1689856991_add_soft_remove_column_for_keypairs_and_accounts.up.sql": {_1689856991_add_soft_remove_column_for_keypairs_and_accountsUpSql, map[string]*bintree{}},
|
||||
"1690225863_add_collectibles_ownership_cache.up.sql": {_1690225863_add_collectibles_ownership_cacheUpSql, map[string]*bintree{}},
|
||||
"1690734354_add_preferred_chain_ids.up.sql": {_1690734354_add_preferred_chain_idsUpSql, map[string]*bintree{}},
|
||||
"1691173699_add_collectibles_and_collections_data_cache.up.sql": {_1691173699_add_collectibles_and_collections_data_cacheUpSql, map[string]*bintree{}},
|
||||
"1691753758_move_wallet_tables_to_wallet_db.up.sql": {_1691753758_move_wallet_tables_to_wallet_dbUpSql, map[string]*bintree{}},
|
||||
"1691753800_pubsubtopic_key.up.sql": {_1691753800_pubsubtopic_keyUpSql, map[string]*bintree{}},
|
||||
"1693900971_add_profile_migration_needed_column_to_settings_table.up.sql": {_1693900971_add_profile_migration_needed_column_to_settings_tableUpSql, map[string]*bintree{}},
|
||||
"1694764094_add_original_to_networks.up.sql": {_1694764094_add_original_to_networksUpSql, map[string]*bintree{}},
|
||||
"1695974515_add_is_sepolia_enabled_to_settings.up.sql": {_1695974515_add_is_sepolia_enabled_to_settingsUpSql, map[string]*bintree{}},
|
||||
"1696259336_settings_add_url_unfurling_mode.up.sql": {_1696259336_settings_add_url_unfurling_modeUpSql, map[string]*bintree{}},
|
||||
"1697123140_drop_include_watch_only_accounts.up.sql": {_1697123140_drop_include_watch_only_accountsUpSql, map[string]*bintree{}},
|
||||
"1697123233_drop_include_watch_only_account_to_settings_sync_clock.up.sql": {_1697123233_drop_include_watch_only_account_to_settings_sync_clockUpSql, map[string]*bintree{}},
|
||||
"1697623289_add_omit_transfers_history_scan_to_settings.up.sql": {_1697623289_add_omit_transfers_history_scan_to_settingsUpSql, map[string]*bintree{}},
|
||||
"1699577175_use_shards.up.sql": {_1699577175_use_shardsUpSql, map[string]*bintree{}},
|
||||
"1700741911_clusterID.up.sql": {_1700741911_clusteridUpSql, map[string]*bintree{}},
|
||||
"1701084316_add_wallet_was_not_shown_to_keypairs_accounts.up.sql": {_1701084316_add_wallet_was_not_shown_to_keypairs_accountsUpSql, map[string]*bintree{}},
|
||||
"1701084317_add_mnemonic_was_not_shown_to_settings.up.sql": {_1701084317_add_mnemonic_was_not_shown_to_settingsUpSql, map[string]*bintree{}},
|
||||
"1701444172_token_preferences.up.sql": {_1701444172_token_preferencesUpSql, map[string]*bintree{}},
|
||||
"1701961850_shards_test.up.sql": {_1701961850_shards_testUpSql, map[string]*bintree{}},
|
||||
"1702395750_fix_enr_shards_test.up.sql": {_1702395750_fix_enr_shards_testUpSql, map[string]*bintree{}},
|
||||
"1702999401_add_dns_discovery_url.up.sql": {_1702999401_add_dns_discovery_urlUpSql, map[string]*bintree{}},
|
||||
"1704281285_tokens_advanced_settings.up.sql": {_1704281285_tokens_advanced_settingsUpSql, map[string]*bintree{}},
|
||||
"1705338819_collectible_preferences.up.sql": {_1705338819_collectible_preferencesUpSql, map[string]*bintree{}},
|
||||
"1706097653_migration_order_fix.up.sql": {_1706097653_migration_order_fixUpSql, map[string]*bintree{}},
|
||||
"1706955596_community_storenodes.up.sql": {_1706955596_community_storenodesUpSql, map[string]*bintree{}},
|
||||
"1708352924_add_peer_syncing_enabled_to_settings.up.sql": {_1708352924_add_peer_syncing_enabled_to_settingsUpSql, map[string]*bintree{}},
|
||||
"1708416025_make_sepolia_default.up.sql": {_1708416025_make_sepolia_defaultUpSql, map[string]*bintree{}},
|
||||
"1709203128_fix_chain_colors.up.sql": {_1709203128_fix_chain_colorsUpSql, map[string]*bintree{}},
|
||||
"1709795716_migration_order_fix.up.sql": {_1709795716_migration_order_fixUpSql, map[string]*bintree{}},
|
||||
"1715756976_network_short_names_update.up.sql": {_1715756976_network_short_names_updateUpSql, map[string]*bintree{}},
|
||||
"doc.go": {docGo, map[string]*bintree{}},
|
||||
"1640111208_dummy.up.sql": &bintree{_1640111208_dummyUpSql, map[string]*bintree{}},
|
||||
"1642666031_add_removed_clock_to_bookmarks.up.sql": &bintree{_1642666031_add_removed_clock_to_bookmarksUpSql, map[string]*bintree{}},
|
||||
"1643644541_gif_api_key_setting.up.sql": &bintree{_1643644541_gif_api_key_settingUpSql, map[string]*bintree{}},
|
||||
"1644188994_recent_stickers.up.sql": &bintree{_1644188994_recent_stickersUpSql, map[string]*bintree{}},
|
||||
"1646659233_add_address_to_dapp_permisssion.up.sql": &bintree{_1646659233_add_address_to_dapp_permisssionUpSql, map[string]*bintree{}},
|
||||
"1646841105_add_emoji_account.up.sql": &bintree{_1646841105_add_emoji_accountUpSql, map[string]*bintree{}},
|
||||
"1647278782_display_name.up.sql": &bintree{_1647278782_display_nameUpSql, map[string]*bintree{}},
|
||||
"1647862838_reset_last_backup.up.sql": &bintree{_1647862838_reset_last_backupUpSql, map[string]*bintree{}},
|
||||
"1647871652_add_settings_sync_clock_table.up.sql": &bintree{_1647871652_add_settings_sync_clock_tableUpSql, map[string]*bintree{}},
|
||||
"1647880168_add_torrent_config.up.sql": &bintree{_1647880168_add_torrent_configUpSql, map[string]*bintree{}},
|
||||
"1647882837_add_communities_settings_table.up.sql": &bintree{_1647882837_add_communities_settings_tableUpSql, map[string]*bintree{}},
|
||||
"1647956635_add_waku_messages_table.up.sql": &bintree{_1647956635_add_waku_messages_tableUpSql, map[string]*bintree{}},
|
||||
"1648554928_network_test.up.sql": &bintree{_1648554928_network_testUpSql, map[string]*bintree{}},
|
||||
"1649174829_add_visitble_token.up.sql": &bintree{_1649174829_add_visitble_tokenUpSql, map[string]*bintree{}},
|
||||
"1649882262_add_derived_from_accounts.up.sql": &bintree{_1649882262_add_derived_from_accountsUpSql, map[string]*bintree{}},
|
||||
"1650612625_add_community_message_archive_hashes_table.up.sql": &bintree{_1650612625_add_community_message_archive_hashes_tableUpSql, map[string]*bintree{}},
|
||||
"1650616788_add_communities_archives_info_table.up.sql": &bintree{_1650616788_add_communities_archives_info_tableUpSql, map[string]*bintree{}},
|
||||
"1652715604_add_clock_accounts.up.sql": &bintree{_1652715604_add_clock_accountsUpSql, map[string]*bintree{}},
|
||||
"1653037334_add_notifications_settings_table.up.sql": &bintree{_1653037334_add_notifications_settings_tableUpSql, map[string]*bintree{}},
|
||||
"1654702119_add_mutual_contact_settings.up.sql": &bintree{_1654702119_add_mutual_contact_settingsUpSql, map[string]*bintree{}},
|
||||
"1655375270_add_clock_field_to_communities_settings_table.up.sql": &bintree{_1655375270_add_clock_field_to_communities_settings_tableUpSql, map[string]*bintree{}},
|
||||
"1655385721_drop_networks_config.up.sql": &bintree{_1655385721_drop_networks_configUpSql, map[string]*bintree{}},
|
||||
"1655385724_networks_chainColor_shortName.up.sql": &bintree{_1655385724_networks_chaincolor_shortnameUpSql, map[string]*bintree{}},
|
||||
"1655456688_add_deleted_at_field_to_bookmarks_table.up.sql": &bintree{_1655456688_add_deleted_at_field_to_bookmarks_tableUpSql, map[string]*bintree{}},
|
||||
"1655462032_create_bookmarks_deleted_at_index.up.sql": &bintree{_1655462032_create_bookmarks_deleted_at_indexUpSql, map[string]*bintree{}},
|
||||
"1657617291_add_multi_transactions_table.up.sql": &bintree{_1657617291_add_multi_transactions_tableUpSql, map[string]*bintree{}},
|
||||
"1660134042_add_social_links_settings_table.up.sql": &bintree{_1660134042_add_social_links_settings_tableUpSql, map[string]*bintree{}},
|
||||
"1660134060_settings_bio.up.sql": &bintree{_1660134060_settings_bioUpSql, map[string]*bintree{}},
|
||||
"1660134070_add_wakuv2_store.up.sql": &bintree{_1660134070_add_wakuv2_storeUpSql, map[string]*bintree{}},
|
||||
"1660134072_waku2_store_messages.up.sql": &bintree{_1660134072_waku2_store_messagesUpSql, map[string]*bintree{}},
|
||||
"1662365868_add_key_uid_accounts.up.sql": &bintree{_1662365868_add_key_uid_accountsUpSql, map[string]*bintree{}},
|
||||
"1662447680_add_keypairs_table.up.sql": &bintree{_1662447680_add_keypairs_tableUpSql, map[string]*bintree{}},
|
||||
"1662460056_move_favourites_to_saved_addresses.up.sql": &bintree{_1662460056_move_favourites_to_saved_addressesUpSql, map[string]*bintree{}},
|
||||
"1662738097_add_base_fee_transaction.up.sql": &bintree{_1662738097_add_base_fee_transactionUpSql, map[string]*bintree{}},
|
||||
"1662972194_add_keypairs_table.up.sql": &bintree{_1662972194_add_keypairs_tableUpSql, map[string]*bintree{}},
|
||||
"1664392661_add_third_party_id_to_waku_messages.up.sql": &bintree{_1664392661_add_third_party_id_to_waku_messagesUpSql, map[string]*bintree{}},
|
||||
"1664783660_add_sync_info_to_saved_addresses.up.sql": &bintree{_1664783660_add_sync_info_to_saved_addressesUpSql, map[string]*bintree{}},
|
||||
"1668109917_wakunodes.up.sql": &bintree{_1668109917_wakunodesUpSql, map[string]*bintree{}},
|
||||
"1670249678_display_name_to_settings_sync_clock_table.up.sql": &bintree{_1670249678_display_name_to_settings_sync_clock_tableUpSql, map[string]*bintree{}},
|
||||
"1670836810_add_imported_flag_to_community_archive_hashes.up.sql": &bintree{_1670836810_add_imported_flag_to_community_archive_hashesUpSql, map[string]*bintree{}},
|
||||
"1671438731_add_magnetlink_uri_to_communities_archive_info.up.sql": &bintree{_1671438731_add_magnetlink_uri_to_communities_archive_infoUpSql, map[string]*bintree{}},
|
||||
"1672933930_switcher_card.up.sql": &bintree{_1672933930_switcher_cardUpSql, map[string]*bintree{}},
|
||||
"1674056187_add_price_cache.up.sql": &bintree{_1674056187_add_price_cacheUpSql, map[string]*bintree{}},
|
||||
"1674136690_ens_usernames.up.sql": &bintree{_1674136690_ens_usernamesUpSql, map[string]*bintree{}},
|
||||
"1674232431_add_balance_history.up.sql": &bintree{_1674232431_add_balance_historyUpSql, map[string]*bintree{}},
|
||||
"1676368933_keypairs_to_keycards.up.sql": &bintree{_1676368933_keypairs_to_keycardsUpSql, map[string]*bintree{}},
|
||||
"1676951398_add_currency_format_cache.up.sql": &bintree{_1676951398_add_currency_format_cacheUpSql, map[string]*bintree{}},
|
||||
"1676968196_keycards_add_clock_column.up.sql": &bintree{_1676968196_keycards_add_clock_columnUpSql, map[string]*bintree{}},
|
||||
"1676968197_add_fallback_rpc_to_networks.up.sql": &bintree{_1676968197_add_fallback_rpc_to_networksUpSql, map[string]*bintree{}},
|
||||
"1677674090_add_chains_ens_istest_to_saved_addresses.up.sql": &bintree{_1677674090_add_chains_ens_istest_to_saved_addressesUpSql, map[string]*bintree{}},
|
||||
"1677681143_accounts_table_type_column_update.up.sql": &bintree{_1677681143_accounts_table_type_column_updateUpSql, map[string]*bintree{}},
|
||||
"1678264207_accounts_table_new_columns_added.up.sql": &bintree{_1678264207_accounts_table_new_columns_addedUpSql, map[string]*bintree{}},
|
||||
"1680770368_add_bio_to_settings_sync_clock_table.up.sql": &bintree{_1680770368_add_bio_to_settings_sync_clock_tableUpSql, map[string]*bintree{}},
|
||||
"1681110436_add_mnemonic_to_settings_sync_clock_table.up.sql": &bintree{_1681110436_add_mnemonic_to_settings_sync_clock_tableUpSql, map[string]*bintree{}},
|
||||
"1681392602_9d_sync_period.up.sql": &bintree{_1681392602_9d_sync_periodUpSql, map[string]*bintree{}},
|
||||
"1681762078_default_sync_period_9d.up.sql": &bintree{_1681762078_default_sync_period_9dUpSql, map[string]*bintree{}},
|
||||
"1681780680_add_clock_to_social_links_settings.up.sql": &bintree{_1681780680_add_clock_to_social_links_settingsUpSql, map[string]*bintree{}},
|
||||
"1682073779_settings_table_remove_latest_derived_path_column.up.sql": &bintree{_1682073779_settings_table_remove_latest_derived_path_columnUpSql, map[string]*bintree{}},
|
||||
"1682146075_add_created_at_to_saved_addresses.up.sql": &bintree{_1682146075_add_created_at_to_saved_addressesUpSql, map[string]*bintree{}},
|
||||
"1682393575_sync_ens_name.up.sql": &bintree{_1682393575_sync_ens_nameUpSql, map[string]*bintree{}},
|
||||
"1683457503_add_blocks_ranges_sequential_table.up.sql": &bintree{_1683457503_add_blocks_ranges_sequential_tableUpSql, map[string]*bintree{}},
|
||||
"1683627613_accounts_and_keycards_improvements.up.sql": &bintree{_1683627613_accounts_and_keycards_improvementsUpSql, map[string]*bintree{}},
|
||||
"1685041348_settings_table_add_latest_derived_path_column.up.sql": &bintree{_1685041348_settings_table_add_latest_derived_path_columnUpSql, map[string]*bintree{}},
|
||||
"1685440989_update_color_id_accounts.up.sql": &bintree{_1685440989_update_color_id_accountsUpSql, map[string]*bintree{}},
|
||||
"1685463947_add_to_asset_to_multitransaction.up.sql": &bintree{_1685463947_add_to_asset_to_multitransactionUpSql, map[string]*bintree{}},
|
||||
"1685880973_add_profile_links_settings_table.up.sql": &bintree{_1685880973_add_profile_links_settings_tableUpSql, map[string]*bintree{}},
|
||||
"1686041510_add_idx_transfers_blkno_loaded.up.sql": &bintree{_1686041510_add_idx_transfers_blkno_loadedUpSql, map[string]*bintree{}},
|
||||
"1686048341_transfers_receipt_json_blob_out.up.sql.down.sql": &bintree{_1686048341_transfers_receipt_json_blob_outUpSqlDownSql, map[string]*bintree{}},
|
||||
"1686048341_transfers_receipt_json_blob_out.up.sql.up.sql": &bintree{_1686048341_transfers_receipt_json_blob_outUpSqlUpSql, map[string]*bintree{}},
|
||||
"1686825075_cleanup_token_address.up.sql": &bintree{_1686825075_cleanup_token_addressUpSql, map[string]*bintree{}},
|
||||
"1687193315_transfers_extract_from_to_address.down.sql": &bintree{_1687193315_transfers_extract_from_to_addressDownSql, map[string]*bintree{}},
|
||||
"1687193315_transfers_extract_from_to_address.up.sql": &bintree{_1687193315_transfers_extract_from_to_addressUpSql, map[string]*bintree{}},
|
||||
"1687249080_add_position_accounts.up..sql": &bintree{_1687249080_add_position_accountsUpSql, map[string]*bintree{}},
|
||||
"1687269871_add_device_name.up.sql": &bintree{_1687269871_add_device_nameUpSql, map[string]*bintree{}},
|
||||
"1687506642_include_watch_only_account_setting.up.sql": &bintree{_1687506642_include_watch_only_account_settingUpSql, map[string]*bintree{}},
|
||||
"1688022264_add_include_watch_only_account_to_settings_sync_clock.up.sql": &bintree{_1688022264_add_include_watch_only_account_to_settings_sync_clockUpSql, map[string]*bintree{}},
|
||||
"1688054680_add_columns_to_multitransaction.up.sql": &bintree{_1688054680_add_columns_to_multitransactionUpSql, map[string]*bintree{}},
|
||||
"1688636552_keycards_table_columns_update.up.sql": &bintree{_1688636552_keycards_table_columns_updateUpSql, map[string]*bintree{}},
|
||||
"1689248269_add_related_chain_id_networks.up.sql": &bintree{_1689248269_add_related_chain_id_networksUpSql, map[string]*bintree{}},
|
||||
"1689340211_index_filter_columns.up.sql": &bintree{_1689340211_index_filter_columnsUpSql, map[string]*bintree{}},
|
||||
"1689498471_make_wallet_accounts_positions_non_negative.up.sql": &bintree{_1689498471_make_wallet_accounts_positions_non_negativeUpSql, map[string]*bintree{}},
|
||||
"1689856991_add_soft_remove_column_for_keypairs_and_accounts.up.sql": &bintree{_1689856991_add_soft_remove_column_for_keypairs_and_accountsUpSql, map[string]*bintree{}},
|
||||
"1690225863_add_collectibles_ownership_cache.up.sql": &bintree{_1690225863_add_collectibles_ownership_cacheUpSql, map[string]*bintree{}},
|
||||
"1690734354_add_preferred_chain_ids.up.sql": &bintree{_1690734354_add_preferred_chain_idsUpSql, map[string]*bintree{}},
|
||||
"1691173699_add_collectibles_and_collections_data_cache.up.sql": &bintree{_1691173699_add_collectibles_and_collections_data_cacheUpSql, map[string]*bintree{}},
|
||||
"1691753758_move_wallet_tables_to_wallet_db.up.sql": &bintree{_1691753758_move_wallet_tables_to_wallet_dbUpSql, map[string]*bintree{}},
|
||||
"1691753800_pubsubtopic_key.up.sql": &bintree{_1691753800_pubsubtopic_keyUpSql, map[string]*bintree{}},
|
||||
"1693900971_add_profile_migration_needed_column_to_settings_table.up.sql": &bintree{_1693900971_add_profile_migration_needed_column_to_settings_tableUpSql, map[string]*bintree{}},
|
||||
"1694764094_add_original_to_networks.up.sql": &bintree{_1694764094_add_original_to_networksUpSql, map[string]*bintree{}},
|
||||
"1695974515_add_is_sepolia_enabled_to_settings.up.sql": &bintree{_1695974515_add_is_sepolia_enabled_to_settingsUpSql, map[string]*bintree{}},
|
||||
"1696259336_settings_add_url_unfurling_mode.up.sql": &bintree{_1696259336_settings_add_url_unfurling_modeUpSql, map[string]*bintree{}},
|
||||
"1697123140_drop_include_watch_only_accounts.up.sql": &bintree{_1697123140_drop_include_watch_only_accountsUpSql, map[string]*bintree{}},
|
||||
"1697123233_drop_include_watch_only_account_to_settings_sync_clock.up.sql": &bintree{_1697123233_drop_include_watch_only_account_to_settings_sync_clockUpSql, map[string]*bintree{}},
|
||||
"1697623289_add_omit_transfers_history_scan_to_settings.up.sql": &bintree{_1697623289_add_omit_transfers_history_scan_to_settingsUpSql, map[string]*bintree{}},
|
||||
"1699577175_use_shards.up.sql": &bintree{_1699577175_use_shardsUpSql, map[string]*bintree{}},
|
||||
"1700741911_clusterID.up.sql": &bintree{_1700741911_clusteridUpSql, map[string]*bintree{}},
|
||||
"1701084316_add_wallet_was_not_shown_to_keypairs_accounts.up.sql": &bintree{_1701084316_add_wallet_was_not_shown_to_keypairs_accountsUpSql, map[string]*bintree{}},
|
||||
"1701084317_add_mnemonic_was_not_shown_to_settings.up.sql": &bintree{_1701084317_add_mnemonic_was_not_shown_to_settingsUpSql, map[string]*bintree{}},
|
||||
"1701444172_token_preferences.up.sql": &bintree{_1701444172_token_preferencesUpSql, map[string]*bintree{}},
|
||||
"1701961850_shards_test.up.sql": &bintree{_1701961850_shards_testUpSql, map[string]*bintree{}},
|
||||
"1702395750_fix_enr_shards_test.up.sql": &bintree{_1702395750_fix_enr_shards_testUpSql, map[string]*bintree{}},
|
||||
"1702999401_add_dns_discovery_url.up.sql": &bintree{_1702999401_add_dns_discovery_urlUpSql, map[string]*bintree{}},
|
||||
"1704281285_tokens_advanced_settings.up.sql": &bintree{_1704281285_tokens_advanced_settingsUpSql, map[string]*bintree{}},
|
||||
"1705338819_collectible_preferences.up.sql": &bintree{_1705338819_collectible_preferencesUpSql, map[string]*bintree{}},
|
||||
"1706097653_migration_order_fix.up.sql": &bintree{_1706097653_migration_order_fixUpSql, map[string]*bintree{}},
|
||||
"1706955596_community_storenodes.up.sql": &bintree{_1706955596_community_storenodesUpSql, map[string]*bintree{}},
|
||||
"1708352924_add_peer_syncing_enabled_to_settings.up.sql": &bintree{_1708352924_add_peer_syncing_enabled_to_settingsUpSql, map[string]*bintree{}},
|
||||
"1708416025_make_sepolia_default.up.sql": &bintree{_1708416025_make_sepolia_defaultUpSql, map[string]*bintree{}},
|
||||
"1709203128_fix_chain_colors.up.sql": &bintree{_1709203128_fix_chain_colorsUpSql, map[string]*bintree{}},
|
||||
"1709795716_migration_order_fix.up.sql": &bintree{_1709795716_migration_order_fixUpSql, map[string]*bintree{}},
|
||||
"1715756976_network_short_names_update.up.sql": &bintree{_1715756976_network_short_names_updateUpSql, map[string]*bintree{}},
|
||||
"doc.go": &bintree{docGo, map[string]*bintree{}},
|
||||
}}
|
||||
|
||||
// RestoreAsset restores an asset under the given directory.
|
||||
|
@ -2798,7 +2905,7 @@ func RestoreAsset(dir, name string) error {
|
|||
if err != nil {
|
||||
return err
|
||||
}
|
||||
err = os.WriteFile(_filePath(dir, name), data, info.Mode())
|
||||
err = ioutil.WriteFile(_filePath(dir, name), data, info.Mode())
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
|
@ -63,6 +63,7 @@ import (
|
|||
"crypto/sha256"
|
||||
"fmt"
|
||||
"io"
|
||||
"io/ioutil"
|
||||
"os"
|
||||
"path/filepath"
|
||||
"strings"
|
||||
|
@ -72,7 +73,7 @@ import (
|
|||
func bindataRead(data []byte, name string) ([]byte, error) {
|
||||
gz, err := gzip.NewReader(bytes.NewBuffer(data))
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("read %q: %w", name, err)
|
||||
return nil, fmt.Errorf("read %q: %v", name, err)
|
||||
}
|
||||
|
||||
var buf bytes.Buffer
|
||||
|
@ -80,7 +81,7 @@ func bindataRead(data []byte, name string) ([]byte, error) {
|
|||
clErr := gz.Close()
|
||||
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("read %q: %w", name, err)
|
||||
return nil, fmt.Errorf("read %q: %v", name, err)
|
||||
}
|
||||
if clErr != nil {
|
||||
return nil, err
|
||||
|
@ -1293,75 +1294,123 @@ func AssetNames() []string {
|
|||
// _bindata is a table, holding each asset generator, mapped to its name.
|
||||
var _bindata = map[string]func() (*asset, error){
|
||||
"0001_app.down.sql": _0001_appDownSql,
|
||||
|
||||
"0001_app.up.sql": _0001_appUpSql,
|
||||
|
||||
"0002_tokens.down.sql": _0002_tokensDownSql,
|
||||
|
||||
"0002_tokens.up.sql": _0002_tokensUpSql,
|
||||
|
||||
"0003_settings.down.sql": _0003_settingsDownSql,
|
||||
|
||||
"0003_settings.up.sql": _0003_settingsUpSql,
|
||||
|
||||
"0004_pending_stickers.down.sql": _0004_pending_stickersDownSql,
|
||||
|
||||
"0004_pending_stickers.up.sql": _0004_pending_stickersUpSql,
|
||||
|
||||
"0005_waku_mode.down.sql": _0005_waku_modeDownSql,
|
||||
|
||||
"0005_waku_mode.up.sql": _0005_waku_modeUpSql,
|
||||
|
||||
"0006_appearance.up.sql": _0006_appearanceUpSql,
|
||||
|
||||
"0007_enable_waku_default.up.sql": _0007_enable_waku_defaultUpSql,
|
||||
|
||||
"0008_add_push_notifications.up.sql": _0008_add_push_notificationsUpSql,
|
||||
|
||||
"0009_enable_sending_push_notifications.down.sql": _0009_enable_sending_push_notificationsDownSql,
|
||||
|
||||
"0009_enable_sending_push_notifications.up.sql": _0009_enable_sending_push_notificationsUpSql,
|
||||
|
||||
"0010_add_block_mentions.down.sql": _0010_add_block_mentionsDownSql,
|
||||
|
||||
"0010_add_block_mentions.up.sql": _0010_add_block_mentionsUpSql,
|
||||
|
||||
"0011_allow_webview_permission_requests.down.sql": _0011_allow_webview_permission_requestsDownSql,
|
||||
|
||||
"0011_allow_webview_permission_requests.up.sql": _0011_allow_webview_permission_requestsUpSql,
|
||||
|
||||
"0012_pending_transactions.down.sql": _0012_pending_transactionsDownSql,
|
||||
|
||||
"0012_pending_transactions.up.sql": _0012_pending_transactionsUpSql,
|
||||
|
||||
"0013_favourites.down.sql": _0013_favouritesDownSql,
|
||||
|
||||
"0013_favourites.up.sql": _0013_favouritesUpSql,
|
||||
|
||||
"0014_add_use_mailservers.down.sql": _0014_add_use_mailserversDownSql,
|
||||
|
||||
"0014_add_use_mailservers.up.sql": _0014_add_use_mailserversUpSql,
|
||||
|
||||
"0015_link_previews.down.sql": _0015_link_previewsDownSql,
|
||||
|
||||
"0015_link_previews.up.sql": _0015_link_previewsUpSql,
|
||||
|
||||
"0016_local_notifications_preferences.down.sql": _0016_local_notifications_preferencesDownSql,
|
||||
|
||||
"0016_local_notifications_preferences.up.sql": _0016_local_notifications_preferencesUpSql,
|
||||
|
||||
"0017_bookmarks.down.sql": _0017_bookmarksDownSql,
|
||||
|
||||
"0017_bookmarks.up.sql": _0017_bookmarksUpSql,
|
||||
|
||||
"0018_profile_pictures_visibility.up.sql": _0018_profile_pictures_visibilityUpSql,
|
||||
|
||||
"0019_blocks_ranges_extra_data.up.sql": _0019_blocks_ranges_extra_dataUpSql,
|
||||
|
||||
"0020_metrics.up.sql": _0020_metricsUpSql,
|
||||
|
||||
"0021_add_session_id_to_metrics.up.sql": _0021_add_session_id_to_metricsUpSql,
|
||||
|
||||
"0022_pending_transfers.up.sql": _0022_pending_transfersUpSql,
|
||||
|
||||
"1618237885_settings_anon_metrics_should_send.up.sql": _1618237885_settings_anon_metrics_should_sendUpSql,
|
||||
|
||||
"1618395756_contacts_only.up.sql": _1618395756_contacts_onlyUpSql,
|
||||
|
||||
"1622184614_add_default_sync_period.up.sql": _1622184614_add_default_sync_periodUpSql,
|
||||
|
||||
"1625872445_user_status.up.sql": _1625872445_user_statusUpSql,
|
||||
|
||||
"1627983977_add_gif_to_settings.up.sql": _1627983977_add_gif_to_settingsUpSql,
|
||||
|
||||
"1628580203_add_hidden_account.up.sql": _1628580203_add_hidden_accountUpSql,
|
||||
|
||||
"1629123384_add_id_to_app_metrics.up.sql": _1629123384_add_id_to_app_metricsUpSql,
|
||||
|
||||
"1630401853_add_opensea_enabled_to_settings.up.sql": _1630401853_add_opensea_enabled_to_settingsUpSql,
|
||||
|
||||
"1630464455_create-saved_addresses-table.down.sql": _1630464455_createSaved_addressesTableDownSql,
|
||||
|
||||
"1630464455_create-saved_addresses-table.up.sql": _1630464455_createSaved_addressesTableUpSql,
|
||||
|
||||
"1630485153_networks.down.sql": _1630485153_networksDownSql,
|
||||
|
||||
"1630485153_networks.up.sql": _1630485153_networksUpSql,
|
||||
|
||||
"1632262444_profile_pictures_show_to.up.sql": _1632262444_profile_pictures_show_toUpSql,
|
||||
|
||||
"1635942153_add_telemetry_server_url_to_settings.up.sql": _1635942153_add_telemetry_server_url_to_settingsUpSql,
|
||||
|
||||
"1635942154_add_backup_setting.up.sql": _1635942154_add_backup_settingUpSql,
|
||||
|
||||
"1637745568_add_auto_message_setting.up.sql": _1637745568_add_auto_message_settingUpSql,
|
||||
|
||||
"1640111208_nodeconfig.up.sql": _1640111208_nodeconfigUpSql,
|
||||
|
||||
"doc.go": docGo,
|
||||
}
|
||||
|
||||
// AssetDebug is true if the assets were built with the debug flag enabled.
|
||||
const AssetDebug = false
|
||||
|
||||
// AssetDir returns the file names below a certain
|
||||
// directory embedded in the file by go-bindata.
|
||||
// For example if you run go-bindata on data/... and data contains the
|
||||
// following hierarchy:
|
||||
//
|
||||
// data/
|
||||
// foo.txt
|
||||
// img/
|
||||
// a.png
|
||||
// b.png
|
||||
//
|
||||
// then AssetDir("data") would return []string{"foo.txt", "img"},
|
||||
// AssetDir("data/img") would return []string{"a.png", "b.png"},
|
||||
// AssetDir("foo.txt") and AssetDir("notexist") would return an error, and
|
||||
|
@ -1394,60 +1443,60 @@ type bintree struct {
|
|||
}
|
||||
|
||||
var _bintree = &bintree{nil, map[string]*bintree{
|
||||
"0001_app.down.sql": {_0001_appDownSql, map[string]*bintree{}},
|
||||
"0001_app.up.sql": {_0001_appUpSql, map[string]*bintree{}},
|
||||
"0002_tokens.down.sql": {_0002_tokensDownSql, map[string]*bintree{}},
|
||||
"0002_tokens.up.sql": {_0002_tokensUpSql, map[string]*bintree{}},
|
||||
"0003_settings.down.sql": {_0003_settingsDownSql, map[string]*bintree{}},
|
||||
"0003_settings.up.sql": {_0003_settingsUpSql, map[string]*bintree{}},
|
||||
"0004_pending_stickers.down.sql": {_0004_pending_stickersDownSql, map[string]*bintree{}},
|
||||
"0004_pending_stickers.up.sql": {_0004_pending_stickersUpSql, map[string]*bintree{}},
|
||||
"0005_waku_mode.down.sql": {_0005_waku_modeDownSql, map[string]*bintree{}},
|
||||
"0005_waku_mode.up.sql": {_0005_waku_modeUpSql, map[string]*bintree{}},
|
||||
"0006_appearance.up.sql": {_0006_appearanceUpSql, map[string]*bintree{}},
|
||||
"0007_enable_waku_default.up.sql": {_0007_enable_waku_defaultUpSql, map[string]*bintree{}},
|
||||
"0008_add_push_notifications.up.sql": {_0008_add_push_notificationsUpSql, map[string]*bintree{}},
|
||||
"0009_enable_sending_push_notifications.down.sql": {_0009_enable_sending_push_notificationsDownSql, map[string]*bintree{}},
|
||||
"0009_enable_sending_push_notifications.up.sql": {_0009_enable_sending_push_notificationsUpSql, map[string]*bintree{}},
|
||||
"0010_add_block_mentions.down.sql": {_0010_add_block_mentionsDownSql, map[string]*bintree{}},
|
||||
"0010_add_block_mentions.up.sql": {_0010_add_block_mentionsUpSql, map[string]*bintree{}},
|
||||
"0011_allow_webview_permission_requests.down.sql": {_0011_allow_webview_permission_requestsDownSql, map[string]*bintree{}},
|
||||
"0011_allow_webview_permission_requests.up.sql": {_0011_allow_webview_permission_requestsUpSql, map[string]*bintree{}},
|
||||
"0012_pending_transactions.down.sql": {_0012_pending_transactionsDownSql, map[string]*bintree{}},
|
||||
"0012_pending_transactions.up.sql": {_0012_pending_transactionsUpSql, map[string]*bintree{}},
|
||||
"0013_favourites.down.sql": {_0013_favouritesDownSql, map[string]*bintree{}},
|
||||
"0013_favourites.up.sql": {_0013_favouritesUpSql, map[string]*bintree{}},
|
||||
"0014_add_use_mailservers.down.sql": {_0014_add_use_mailserversDownSql, map[string]*bintree{}},
|
||||
"0014_add_use_mailservers.up.sql": {_0014_add_use_mailserversUpSql, map[string]*bintree{}},
|
||||
"0015_link_previews.down.sql": {_0015_link_previewsDownSql, map[string]*bintree{}},
|
||||
"0015_link_previews.up.sql": {_0015_link_previewsUpSql, map[string]*bintree{}},
|
||||
"0016_local_notifications_preferences.down.sql": {_0016_local_notifications_preferencesDownSql, map[string]*bintree{}},
|
||||
"0016_local_notifications_preferences.up.sql": {_0016_local_notifications_preferencesUpSql, map[string]*bintree{}},
|
||||
"0017_bookmarks.down.sql": {_0017_bookmarksDownSql, map[string]*bintree{}},
|
||||
"0017_bookmarks.up.sql": {_0017_bookmarksUpSql, map[string]*bintree{}},
|
||||
"0018_profile_pictures_visibility.up.sql": {_0018_profile_pictures_visibilityUpSql, map[string]*bintree{}},
|
||||
"0019_blocks_ranges_extra_data.up.sql": {_0019_blocks_ranges_extra_dataUpSql, map[string]*bintree{}},
|
||||
"0020_metrics.up.sql": {_0020_metricsUpSql, map[string]*bintree{}},
|
||||
"0021_add_session_id_to_metrics.up.sql": {_0021_add_session_id_to_metricsUpSql, map[string]*bintree{}},
|
||||
"0022_pending_transfers.up.sql": {_0022_pending_transfersUpSql, map[string]*bintree{}},
|
||||
"1618237885_settings_anon_metrics_should_send.up.sql": {_1618237885_settings_anon_metrics_should_sendUpSql, map[string]*bintree{}},
|
||||
"1618395756_contacts_only.up.sql": {_1618395756_contacts_onlyUpSql, map[string]*bintree{}},
|
||||
"1622184614_add_default_sync_period.up.sql": {_1622184614_add_default_sync_periodUpSql, map[string]*bintree{}},
|
||||
"1625872445_user_status.up.sql": {_1625872445_user_statusUpSql, map[string]*bintree{}},
|
||||
"1627983977_add_gif_to_settings.up.sql": {_1627983977_add_gif_to_settingsUpSql, map[string]*bintree{}},
|
||||
"1628580203_add_hidden_account.up.sql": {_1628580203_add_hidden_accountUpSql, map[string]*bintree{}},
|
||||
"1629123384_add_id_to_app_metrics.up.sql": {_1629123384_add_id_to_app_metricsUpSql, map[string]*bintree{}},
|
||||
"1630401853_add_opensea_enabled_to_settings.up.sql": {_1630401853_add_opensea_enabled_to_settingsUpSql, map[string]*bintree{}},
|
||||
"1630464455_create-saved_addresses-table.down.sql": {_1630464455_createSaved_addressesTableDownSql, map[string]*bintree{}},
|
||||
"1630464455_create-saved_addresses-table.up.sql": {_1630464455_createSaved_addressesTableUpSql, map[string]*bintree{}},
|
||||
"1630485153_networks.down.sql": {_1630485153_networksDownSql, map[string]*bintree{}},
|
||||
"1630485153_networks.up.sql": {_1630485153_networksUpSql, map[string]*bintree{}},
|
||||
"1632262444_profile_pictures_show_to.up.sql": {_1632262444_profile_pictures_show_toUpSql, map[string]*bintree{}},
|
||||
"1635942153_add_telemetry_server_url_to_settings.up.sql": {_1635942153_add_telemetry_server_url_to_settingsUpSql, map[string]*bintree{}},
|
||||
"1635942154_add_backup_setting.up.sql": {_1635942154_add_backup_settingUpSql, map[string]*bintree{}},
|
||||
"1637745568_add_auto_message_setting.up.sql": {_1637745568_add_auto_message_settingUpSql, map[string]*bintree{}},
|
||||
"1640111208_nodeconfig.up.sql": {_1640111208_nodeconfigUpSql, map[string]*bintree{}},
|
||||
"doc.go": {docGo, map[string]*bintree{}},
|
||||
"0001_app.down.sql": &bintree{_0001_appDownSql, map[string]*bintree{}},
|
||||
"0001_app.up.sql": &bintree{_0001_appUpSql, map[string]*bintree{}},
|
||||
"0002_tokens.down.sql": &bintree{_0002_tokensDownSql, map[string]*bintree{}},
|
||||
"0002_tokens.up.sql": &bintree{_0002_tokensUpSql, map[string]*bintree{}},
|
||||
"0003_settings.down.sql": &bintree{_0003_settingsDownSql, map[string]*bintree{}},
|
||||
"0003_settings.up.sql": &bintree{_0003_settingsUpSql, map[string]*bintree{}},
|
||||
"0004_pending_stickers.down.sql": &bintree{_0004_pending_stickersDownSql, map[string]*bintree{}},
|
||||
"0004_pending_stickers.up.sql": &bintree{_0004_pending_stickersUpSql, map[string]*bintree{}},
|
||||
"0005_waku_mode.down.sql": &bintree{_0005_waku_modeDownSql, map[string]*bintree{}},
|
||||
"0005_waku_mode.up.sql": &bintree{_0005_waku_modeUpSql, map[string]*bintree{}},
|
||||
"0006_appearance.up.sql": &bintree{_0006_appearanceUpSql, map[string]*bintree{}},
|
||||
"0007_enable_waku_default.up.sql": &bintree{_0007_enable_waku_defaultUpSql, map[string]*bintree{}},
|
||||
"0008_add_push_notifications.up.sql": &bintree{_0008_add_push_notificationsUpSql, map[string]*bintree{}},
|
||||
"0009_enable_sending_push_notifications.down.sql": &bintree{_0009_enable_sending_push_notificationsDownSql, map[string]*bintree{}},
|
||||
"0009_enable_sending_push_notifications.up.sql": &bintree{_0009_enable_sending_push_notificationsUpSql, map[string]*bintree{}},
|
||||
"0010_add_block_mentions.down.sql": &bintree{_0010_add_block_mentionsDownSql, map[string]*bintree{}},
|
||||
"0010_add_block_mentions.up.sql": &bintree{_0010_add_block_mentionsUpSql, map[string]*bintree{}},
|
||||
"0011_allow_webview_permission_requests.down.sql": &bintree{_0011_allow_webview_permission_requestsDownSql, map[string]*bintree{}},
|
||||
"0011_allow_webview_permission_requests.up.sql": &bintree{_0011_allow_webview_permission_requestsUpSql, map[string]*bintree{}},
|
||||
"0012_pending_transactions.down.sql": &bintree{_0012_pending_transactionsDownSql, map[string]*bintree{}},
|
||||
"0012_pending_transactions.up.sql": &bintree{_0012_pending_transactionsUpSql, map[string]*bintree{}},
|
||||
"0013_favourites.down.sql": &bintree{_0013_favouritesDownSql, map[string]*bintree{}},
|
||||
"0013_favourites.up.sql": &bintree{_0013_favouritesUpSql, map[string]*bintree{}},
|
||||
"0014_add_use_mailservers.down.sql": &bintree{_0014_add_use_mailserversDownSql, map[string]*bintree{}},
|
||||
"0014_add_use_mailservers.up.sql": &bintree{_0014_add_use_mailserversUpSql, map[string]*bintree{}},
|
||||
"0015_link_previews.down.sql": &bintree{_0015_link_previewsDownSql, map[string]*bintree{}},
|
||||
"0015_link_previews.up.sql": &bintree{_0015_link_previewsUpSql, map[string]*bintree{}},
|
||||
"0016_local_notifications_preferences.down.sql": &bintree{_0016_local_notifications_preferencesDownSql, map[string]*bintree{}},
|
||||
"0016_local_notifications_preferences.up.sql": &bintree{_0016_local_notifications_preferencesUpSql, map[string]*bintree{}},
|
||||
"0017_bookmarks.down.sql": &bintree{_0017_bookmarksDownSql, map[string]*bintree{}},
|
||||
"0017_bookmarks.up.sql": &bintree{_0017_bookmarksUpSql, map[string]*bintree{}},
|
||||
"0018_profile_pictures_visibility.up.sql": &bintree{_0018_profile_pictures_visibilityUpSql, map[string]*bintree{}},
|
||||
"0019_blocks_ranges_extra_data.up.sql": &bintree{_0019_blocks_ranges_extra_dataUpSql, map[string]*bintree{}},
|
||||
"0020_metrics.up.sql": &bintree{_0020_metricsUpSql, map[string]*bintree{}},
|
||||
"0021_add_session_id_to_metrics.up.sql": &bintree{_0021_add_session_id_to_metricsUpSql, map[string]*bintree{}},
|
||||
"0022_pending_transfers.up.sql": &bintree{_0022_pending_transfersUpSql, map[string]*bintree{}},
|
||||
"1618237885_settings_anon_metrics_should_send.up.sql": &bintree{_1618237885_settings_anon_metrics_should_sendUpSql, map[string]*bintree{}},
|
||||
"1618395756_contacts_only.up.sql": &bintree{_1618395756_contacts_onlyUpSql, map[string]*bintree{}},
|
||||
"1622184614_add_default_sync_period.up.sql": &bintree{_1622184614_add_default_sync_periodUpSql, map[string]*bintree{}},
|
||||
"1625872445_user_status.up.sql": &bintree{_1625872445_user_statusUpSql, map[string]*bintree{}},
|
||||
"1627983977_add_gif_to_settings.up.sql": &bintree{_1627983977_add_gif_to_settingsUpSql, map[string]*bintree{}},
|
||||
"1628580203_add_hidden_account.up.sql": &bintree{_1628580203_add_hidden_accountUpSql, map[string]*bintree{}},
|
||||
"1629123384_add_id_to_app_metrics.up.sql": &bintree{_1629123384_add_id_to_app_metricsUpSql, map[string]*bintree{}},
|
||||
"1630401853_add_opensea_enabled_to_settings.up.sql": &bintree{_1630401853_add_opensea_enabled_to_settingsUpSql, map[string]*bintree{}},
|
||||
"1630464455_create-saved_addresses-table.down.sql": &bintree{_1630464455_createSaved_addressesTableDownSql, map[string]*bintree{}},
|
||||
"1630464455_create-saved_addresses-table.up.sql": &bintree{_1630464455_createSaved_addressesTableUpSql, map[string]*bintree{}},
|
||||
"1630485153_networks.down.sql": &bintree{_1630485153_networksDownSql, map[string]*bintree{}},
|
||||
"1630485153_networks.up.sql": &bintree{_1630485153_networksUpSql, map[string]*bintree{}},
|
||||
"1632262444_profile_pictures_show_to.up.sql": &bintree{_1632262444_profile_pictures_show_toUpSql, map[string]*bintree{}},
|
||||
"1635942153_add_telemetry_server_url_to_settings.up.sql": &bintree{_1635942153_add_telemetry_server_url_to_settingsUpSql, map[string]*bintree{}},
|
||||
"1635942154_add_backup_setting.up.sql": &bintree{_1635942154_add_backup_settingUpSql, map[string]*bintree{}},
|
||||
"1637745568_add_auto_message_setting.up.sql": &bintree{_1637745568_add_auto_message_settingUpSql, map[string]*bintree{}},
|
||||
"1640111208_nodeconfig.up.sql": &bintree{_1640111208_nodeconfigUpSql, map[string]*bintree{}},
|
||||
"doc.go": &bintree{docGo, map[string]*bintree{}},
|
||||
}}
|
||||
|
||||
// RestoreAsset restores an asset under the given directory.
|
||||
|
@ -1464,7 +1513,7 @@ func RestoreAsset(dir, name string) error {
|
|||
if err != nil {
|
||||
return err
|
||||
}
|
||||
err = os.WriteFile(_filePath(dir, name), data, info.Mode())
|
||||
err = ioutil.WriteFile(_filePath(dir, name), data, info.Mode())
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,2 @@
|
|||
The account data files in this directory are generated with this draft PR(https://github.com/status-im/status-mobile/pull/20123) build.
|
||||
Only used to determine if we can log in with older status-go accounts in the latest version of status-go.
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1 @@
|
|||
886b7a7084fc8cc719d4ba60f52163c63ddb78df9c1d7f85d9854704ceff6a06
|
Binary file not shown.
|
@ -0,0 +1 @@
|
|||
MANIFEST-000000
|
|
@ -0,0 +1,6 @@
|
|||
=============== Feb 24, 2024 (UTC) ===============
|
||||
02:40:01.365769 log@legend F·NumFile S·FileSize N·Entry C·BadEntry B·BadBlock Ke·KeyError D·DroppedEntry L·Level Q·SeqNum T·TimeElapsed
|
||||
02:40:01.368349 db@open opening
|
||||
02:40:01.368537 version@stat F·[] S·0B[] Sc·[]
|
||||
02:40:01.369290 db@janitor F·2 G·0
|
||||
02:40:01.369299 db@open done T·941.5µs
|
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1 @@
|
|||
MANIFEST-000000
|
|
@ -0,0 +1,6 @@
|
|||
=============== Feb 24, 2024 (UTC) ===============
|
||||
02:40:01.360114 log@legend F·NumFile S·FileSize N·Entry C·BadEntry B·BadBlock Ke·KeyError D·DroppedEntry L·Level Q·SeqNum T·TimeElapsed
|
||||
02:40:01.362646 db@open opening
|
||||
02:40:01.362982 version@stat F·[] S·0B[] Sc·[]
|
||||
02:40:01.363922 db@janitor F·2 G·0
|
||||
02:40:01.363970 db@open done T·1.305458ms
|
Binary file not shown.
|
@ -0,0 +1 @@
|
|||
{"address":"e9d528df96508faad172b2ff2bd39bebc946905a","crypto":{"cipher":"aes-128-ctr","ciphertext":"bf4b9d4e50ce9ec00dd3fe99f6b9c9c58742e31ed8e43f786cef044b59035f19","cipherparams":{"iv":"8092e06c72687a256d262baabb1ebb8b"},"kdf":"scrypt","kdfparams":{"dklen":32,"n":4096,"p":6,"r":8,"salt":"062e75b16bf899fb3ce55d5aca3be8287dae3e2c9bec011a0f30e0436b990f61"},"mac":"6bd18fe1c3e3a8c143b8b693c83fc848c89d37117876474f8580d2e49e5359cb"},"id":"cb0f4290-bf31-4d6c-99a4-e8eb29e18be5","version":3,"extendedkey":{"cipher":"aes-128-ctr","ciphertext":"d714cc3c2cbea0094d6883d861c81a5d8ab6cb5205b074bcfb2814e69fe6f2b0cf82eefbf6ce7ab8bd1edfedff67561202aeab814dcb19bcd510fcae82277ee17b3a19d85f5cfcba224f9bdebaad21a72d4ab6716f5ef2e18e029f522cd4875b2e3fd1ce14da5184301bdfee1efe88","cipherparams":{"iv":"726aa04b655eb59f7ceb261227715b1b"},"kdf":"scrypt","kdfparams":{"dklen":32,"n":4096,"p":6,"r":8,"salt":"1872adbe046742deabff47d7a42709e1a3b59f43a8e92924e86b83bf88f863ac"},"mac":"884fe4c0501fab81f126fcdf2ab2118c2eb8769ada9413390cd173ca9dc25b11"},"subaccountindex":0}
|
|
@ -0,0 +1 @@
|
|||
{"address":"4851276e2b7dc3b8bef1749127031bcb3578492d","crypto":{"cipher":"aes-128-ctr","ciphertext":"4db60b4fee1361156113429b64a1ad2d9c839e0c9bf04e7e3f68440c8c226a9a","cipherparams":{"iv":"ae23ca12c977378e7e1c6a30402efc18"},"kdf":"scrypt","kdfparams":{"dklen":32,"n":4096,"p":6,"r":8,"salt":"5fb33752a4fee55d7f9199700404744ce6276f016ac85c49a03bac60a206ce34"},"mac":"3c5ed0bf90d7ba2abe3a1c78c61c1f36c6e5ccd559768be76af9b838dc7e34bd"},"id":"1662393e-aaa5-4edc-b1c3-00ebe1241662","version":3,"extendedkey":{"cipher":"aes-128-ctr","ciphertext":"6bca4e4cc171d6725d4c1a9bb6c55b217708f02d031e25ecc23329fb857767704ccec1ab9a173788acaf3600a444ca738e73608831a53c5c96612e0fd2669804de12c2d666a1d683bb04fbcac61c4362a987313fe7c2328839e278efab2717c30f0ff468890d2d26ead8b02a31e739","cipherparams":{"iv":"abe144e6e16f2357d226c49da24941ef"},"kdf":"scrypt","kdfparams":{"dklen":32,"n":4096,"p":6,"r":8,"salt":"51666b2a3f509aefcf31b87efd8dc8164a5d7ec904071364c010c1cd75ed6775"},"mac":"9df52633cf9bf516f81d945ea5525e9b0b0fedd2fa6c2a4f24ed13fe3e01330c"},"subaccountindex":0}
|
|
@ -0,0 +1 @@
|
|||
{"address":"23a5cef34b18920785f4b895849936f65cbdef73","crypto":{"cipher":"aes-128-ctr","ciphertext":"f87c1610acb144d3acda30315342e9876e12592c793c3647f28ad6279c55b4a9","cipherparams":{"iv":"b6b1d6ce9549e9cc5a7cbdfca06c106d"},"kdf":"scrypt","kdfparams":{"dklen":32,"n":4096,"p":6,"r":8,"salt":"8f5e41f3b87162960cb5d057141c54b579b65947a28acbb731194c8016979cc4"},"mac":"8e47d7095800034b0fb7f07dd9d41782913ddc60cd7d1eafc560aef0f12906b2"},"id":"c7d828d0-c518-4da1-a1d4-32beb75e5dc6","version":3,"extendedkey":{"cipher":"aes-128-ctr","ciphertext":"70238ba9ce4691aecf0288f8f35bf52d813fc169708d8a0a4a06fae0fe7ee2fdf3775d105c0369db4d8b7525c52f6c5594c25a30025277d116d08234296c2b0a3979650540053626a5544f11cc9ce59b895ff7ad31a3bfaf83df860010410f951f7bbf0c61f49d4e81466cc17c2d8f","cipherparams":{"iv":"d19fed3cf79700428631f2f3fc256075"},"kdf":"scrypt","kdfparams":{"dklen":32,"n":4096,"p":6,"r":8,"salt":"ea093f542be48d3fcd64bbbae03fbd3b5e1b2c884d4e390a04fa129d8b1786e6"},"mac":"354b089b1862d62c3d72dc521d0cc2cce446eb80eb8ebcb70f3d62ab36ea7aa1"},"subaccountindex":0}
|
|
@ -0,0 +1 @@
|
|||
{"address":"0bdde731ff10376de7bb89d4fbd9106f5b13439c","crypto":{"cipher":"aes-128-ctr","ciphertext":"91c4bb707034a5978cb8ff3205efc83345340ff58d30726337e9989ddf26845b","cipherparams":{"iv":"d006f39a30cb3d613a5f723baa55a02e"},"kdf":"scrypt","kdfparams":{"dklen":32,"n":4096,"p":6,"r":8,"salt":"c27259d3adba9f238b6ea1daa2b6bbbc021d6aa77a2791733d53b56025ce7246"},"mac":"0301aca543c6253102511b97f5341e3bdc66ddf6bc59056bcc811794cd9f24d3"},"id":"6e463622-abc6-46a4-92c8-976cc1617d68","version":3,"extendedkey":{"cipher":"aes-128-ctr","ciphertext":"c2c5a88e23494da81c2fb096aea626b2ba00c612cfa75d9f1a98dda2eb9512f19b6eb6a611adb2814367074acbc2f77e2f72656272c4050ff5ac8005f815a8bc0855e357a2caae1e8cf77b641eb083909457a514d50cf655f58612ce12b93398fefeb68d3d3fdbf041b8d68559d92d","cipherparams":{"iv":"ba6d34d09676e7fed5fa2e42e0eb7b5c"},"kdf":"scrypt","kdfparams":{"dklen":32,"n":4096,"p":6,"r":8,"salt":"4c95925d0f56caaca1795332eaea712c4e5cb752511cc8a06c61a0f7ae44f8ac"},"mac":"7d07fb3ed2d5b18697dc09540a0543fa8eb2fd97382bba0854f31fc2ab241d67"},"subaccountindex":0}
|
|
@ -0,0 +1 @@
|
|||
{"address":"4d26e5c2f85ba5d10bda6b031e1c1579f8ecfa1f","crypto":{"cipher":"aes-128-ctr","ciphertext":"bcec274bcdcabcf6d5eb57d846e79af07f319091e80b72fdd34efa5271591708","cipherparams":{"iv":"985c2530f3a5f96a0e32d56814d66200"},"kdf":"scrypt","kdfparams":{"dklen":32,"n":4096,"p":6,"r":8,"salt":"58b3479981727d86ac5ba20b97e5df4c4a0c29741b6080bbad763f6bce4a82f0"},"mac":"c8d0cd21bb52263d2515befdf8eef0233e0241e8efdbc0a05e17c8f22614ca0e"},"id":"d4165ca3-a2ac-4c44-b1ac-daeac720a202","version":3,"extendedkey":{"cipher":"aes-128-ctr","ciphertext":"216da2ff902322bb6f6bf11ab9f11bd1386d2f229944b70de6d0d9d9a32e3250a616e817d2eb9fce8ad86ff1a3b271929566cd0633bb93b659cc07a2f87d941787a72b03adc636fd61591ee1af326f589bd2c94ac2e183bf58cee9f170da839618851e1fbc0db5742a5ff4665e84d0","cipherparams":{"iv":"e317cb2a3dc5c70135a576a7d21f197a"},"kdf":"scrypt","kdfparams":{"dklen":32,"n":4096,"p":6,"r":8,"salt":"840d784b756dc095b4e507516d018acb0742f044cda435a858f24101fcbcbc73"},"mac":"d38bf3929b9b780883b398da659d2242a3ec4b04dde4e8fdf6db65cbaeec9244"},"subaccountindex":0}
|
|
@ -0,0 +1 @@
|
|||
{"address":"b7a1233d1309ce665a3a4db088e4a046eb333545","crypto":{"cipher":"aes-128-ctr","ciphertext":"ef91dae294ac7b3b67f15dd020f8c30bc5c7facd172efd8bb5fc09f1ae4d677a","cipherparams":{"iv":"90ba41ce86c970beff89b0c4047b9040"},"kdf":"scrypt","kdfparams":{"dklen":32,"n":4096,"p":6,"r":8,"salt":"32abae4439c8aa4be1efea779c6a25b9e74f0656fa4bc935179309e356af80d7"},"mac":"c8655494766013953fd98e0f3cdb1e819d2647f452ceb6e72b9cc08b1ebe58d6"},"id":"175f41fd-a7c0-4144-8c32-f2d28f63d0d4","version":3,"extendedkey":{"cipher":"aes-128-ctr","ciphertext":"4677038916dfa396ee68d71398aa96fdca409f47cd08515cec742979bfea39342354be621c42e7c70002c9062b0b4b617ccf29002708b6c1965e19fed59bf47ccd9baddf84088dda449f77fad79f387dca548650bad96c3835d5d9938e209d706c904d9350f716027525a41beb16eb","cipherparams":{"iv":"20a6123703bd4dc524529c9e0fdc0f8d"},"kdf":"scrypt","kdfparams":{"dklen":32,"n":4096,"p":6,"r":8,"salt":"7f5ce01f0ee5b014584ff8d1761cac8172c1732e8a2980231883355e661bf7d0"},"mac":"4dfa703f63ffa98ffbb794837f0233fa6002dd66dd011528dae794cbc7adc2f6"},"subaccountindex":0}
|
|
@ -0,0 +1 @@
|
|||
{"address":"516312d69737c5e6ef16f22e0097ff5d9f0c4196","crypto":{"cipher":"aes-128-ctr","ciphertext":"938ead44cb49309af57a39109960b50541bb51b26befd7550e616696c0ac52fd","cipherparams":{"iv":"33262f4ca6f218f78502cac5d9e62606"},"kdf":"scrypt","kdfparams":{"dklen":32,"n":4096,"p":6,"r":8,"salt":"3454928aa473134d93a9b33f8a88df6477d088c64c225e065ce07a23cdf176ee"},"mac":"f8abcd6ee4b8d61525ba310ffd16cd94364bbc3a266b1f49b25cef37040c9f67"},"id":"4120832f-249e-44cd-88fd-481cc5c8e4bf","version":3,"extendedkey":{"cipher":"","ciphertext":"","cipherparams":{"iv":""},"kdf":"","kdfparams":null,"mac":""},"subaccountindex":0}
|
Loading…
Reference in New Issue