fix: remove procs that are no longer spec'd by libstatus.h

This commit is contained in:
Michael Bradley, Jr 2021-01-05 14:52:12 -06:00 committed by Michael Bradley
parent 363857461e
commit a56aca1ab1
4 changed files with 0 additions and 40 deletions

View File

@ -25,8 +25,6 @@ from nim_status/go/shim as go_shim import
logout,
verifyAccountPassword,
validateMnemonic,
recoverAccount,
startOnboarding,
saveAccountAndLoginWithKeycard,
hashTransaction,
extractGroupMembershipSignatures,
@ -37,8 +35,6 @@ from nim_status/go/shim as go_shim import
loginWithKeycard,
recover,
writeHeapProfile,
importOnboardingAccount,
removeOnboarding,
hashTypedData,
resetChainData,
signMessage,
@ -48,7 +44,6 @@ from nim_status/go/shim as go_shim import
exportNodeLogs,
chaosModeUpdate,
signHash,
createAccount,
sendTransactionWithSignature,
startCPUProfile,
appStateChange,
@ -83,8 +78,6 @@ export
logout,
verifyAccountPassword,
validateMnemonic,
recoverAccount,
startOnboarding,
saveAccountAndLoginWithKeycard,
hashTransaction,
extractGroupMembershipSignatures,
@ -95,8 +88,6 @@ export
loginWithKeycard,
recover,
writeHeapProfile,
importOnboardingAccount,
removeOnboarding,
hashTypedData,
resetChainData,
signMessage,
@ -106,7 +97,6 @@ export
exportNodeLogs,
chaosModeUpdate,
signHash,
createAccount,
sendTransactionWithSignature,
startCPUProfile,
appStateChange,

View File

@ -45,10 +45,6 @@ proc verifyAccountPassword*(keyStoreDir: cstring, address: cstring, password: cs
proc validateMnemonic*(mnemonic: cstring): cstring {.importc: "ValidateMnemonic".}
proc recoverAccount*(password: cstring, mnemonic: cstring): cstring {.importc: "RecoverAccount".}
proc startOnboarding*(n: cint, mnemonicPhraseLength: cint): cstring {.importc: "StartOnboarding".}
proc saveAccountAndLoginWithKeycard*(accountData: cstring, password: cstring, settingsJSON: cstring, configJSON: cstring, subaccountData: cstring, keyHex: cstring): cstring {.importc: "SaveAccountAndLoginWithKeycard".}
proc hashTransaction*(txArgsJSON: cstring): cstring {.importc: "HashTransaction".}
@ -69,10 +65,6 @@ proc recover*(rpcParams: cstring): cstring {.importc: "Recover".}
proc writeHeapProfile*(dataDir: cstring): cstring {.importc: "WriteHeapProfile".}
proc importOnboardingAccount*(id: cstring, password: cstring): cstring {.importc: "ImportOnboardingAccount".}
proc removeOnboarding*() {.importc: "RemoveOnboarding".}
proc hashTypedData*(data: cstring): cstring {.importc: "HashTypedData".}
proc resetChainData*(): cstring {.importc: "ResetChainData".}
@ -91,8 +83,6 @@ proc chaosModeUpdate*(on: cint): cstring {.importc: "ChaosModeUpdate".}
proc signHash*(hexEncodedHash: cstring): cstring {.importc: "SignHash".}
proc createAccount*(password: cstring): cstring {.importc: "CreateAccount".}
proc sendTransactionWithSignature*(txtArgsJSON: cstring, sigString: cstring): cstring {.importc: "SendTransactionWithSignature".}
proc startCPUProfile*(dataDir: cstring): cstring {.importc: "StartCPUProfile".}

View File

@ -23,8 +23,6 @@ let login {.exportc.} = go_shim.login
let logout {.exportc.} = go_shim.logout
let verifyAccountPassword {.exportc.} = go_shim.verifyAccountPassword
let validateMnemonic {.exportc.} = go_shim.validateMnemonic
let recoverAccount {.exportc.} = go_shim.recoverAccount
let startOnboarding {.exportc.} = go_shim.startOnboarding
let saveAccountAndLoginWithKeycard {.exportc.} = go_shim.saveAccountAndLoginWithKeycard
let hashTransaction {.exportc.} = go_shim.hashTransaction
let extractGroupMembershipSignatures {.exportc.} = go_shim.extractGroupMembershipSignatures
@ -35,8 +33,6 @@ let validateNodeConfig {.exportc.} = go_shim.validateNodeConfig
let loginWithKeycard {.exportc.} = go_shim.loginWithKeycard
let recover {.exportc.} = go_shim.recover
let writeHeapProfile {.exportc.} = go_shim.writeHeapProfile
let importOnboardingAccount {.exportc.} = go_shim.importOnboardingAccount
let removeOnboarding {.exportc.} = go_shim.removeOnboarding
let hashTypedData {.exportc.} = go_shim.hashTypedData
let resetChainData {.exportc.} = go_shim.resetChainData
let signMessage {.exportc.} = go_shim.signMessage
@ -46,7 +42,6 @@ let getNodesFromContract {.exportc.} = go_shim.getNodesFromContract
let exportNodeLogs {.exportc.} = go_shim.exportNodeLogs
let chaosModeUpdate {.exportc.} = go_shim.chaosModeUpdate
let signHash {.exportc.} = go_shim.signHash
let createAccount {.exportc.} = go_shim.createAccount
let sendTransactionWithSignature {.exportc.} = go_shim.sendTransactionWithSignature
let startCPUProfile {.exportc.} = go_shim.startCPUProfile
let appStateChange {.exportc.} = go_shim.appStateChange

View File

@ -69,12 +69,6 @@ proc verifyAccountPassword*(keyStoreDir: string, address: string, password: stri
proc validateMnemonic*(mnemonic: string): string =
$go_shim.validateMnemonic(mnemonic.cstring)
proc recoverAccount*(password: string, mnemonic: string): string =
$go_shim.recoverAccount(password.cstring, mnemonic.cstring)
proc startOnboarding*(n: int, mnemonicPhraseLength: int): string =
$go_shim.startOnboarding(n.cint, mnemonicPhraseLength.cint)
proc saveAccountAndLoginWithKeycard*(accountData: string, password: string, settingsJSON: string, configJSON: string, subaccountData: string, keyHex: string): string =
$go_shim.saveAccountAndLoginWithKeycard(accountData.cstring, password.cstring, settingsJSON.cstring, configJSON.cstring, subaccountData.cstring, keyHex.cstring)
@ -105,12 +99,6 @@ proc recover*(rpcParams: string): string =
proc writeHeapProfile*(dataDir: string): string =
$go_shim.writeHeapProfile(dataDir.cstring)
proc importOnboardingAccount*(id: string, password: string): string =
$go_shim.importOnboardingAccount(id.cstring, password.cstring)
proc removeOnboarding*() =
go_shim.removeOnboarding()
proc hashTypedData*(data: string): string =
$go_shim.hashTypedData(data.cstring)
@ -138,9 +126,6 @@ proc chaosModeUpdate*(on: int): string =
proc signHash*(hexEncodedHash: string): string =
$go_shim.signHash(hexEncodedHash.cstring)
proc createAccount*(password: string): string =
$go_shim.createAccount(password.cstring)
proc sendTransactionWithSignature*(txtArgsJSON: string, sigString: string): string =
$go_shim.sendTransactionWithSignature(txtArgsJSON.cstring, sigString.cstring)