Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deploy precharge address is different from sender address #1

Open
jimscarver opened this issue Oct 28, 2021 · 0 comments
Open

deploy precharge address is different from sender address #1

jimscarver opened this issue Oct 28, 2021 · 0 comments

Comments

@jimscarver
Copy link

There appears to be a bug in rchainwallet @shokre
GSJ — Yesterday at 10:03 PM
Jim, something is not right with the deploy philo calculation in the rchainwallet.com. Users are getting Deploy failure 'Deploy payment failed: Insufficient funds' error.
Also, we need wallet to provide feedback when this error does occur
it doesn't appear to be philo limit issue. It appears the deploy precharge address is different from sender address. See below example
Oct 27, 2021 @ 22:58:16.590 mainnet-node10 Received DeployData #1635375496593 --
new rl(rho:registry:lookup), RevVaultCh in {
rl!(rho:rchain:revVault, *RevVaultCh) |
for (@(, RevVault) <- RevVaultCh) {
new vaultCh, vaultTo, revVaultkeyCh,
deployerId(rho:rchain:deployerId),
deployId(rho:rchain:deployId)
in {
match ("1111Bzi8rFmWpWUtttJeQtiwqQWcQyiv24LwYq3cqBYmUYNut76MS", "1111q6k2PkUqLfVNJudnkpNx6pxoFQeVbzeuPUDRKkBzWjxbPz1XE", 100000000) {
(revAddrFrom, revAddrTo, amount) => {
@RevVault!("findOrCreate", revAddrFrom, *vaultCh) |
@RevVault!("findOrCreate", revAddrTo, *vaultTo) |
@RevVault!("deployerAuthKey", *deployerId, *revVaultkeyCh) |
for (@vault <- vaultCh; key <- revVaultkeyCh; <- vaultTo) {
match vault {
(true, vault) => {
new resultCh in {
@vault!("transfer", revAddrTo, amount, *key, *resultCh) |
for (@Result <- resultCh) {
match result {
(true , _ ) => deployId!((true, "Transfer successful (not yet finalized)."))
(false, err) => deployId!((false, err))
}
}
}
}
err => {
deployId!((false, "REV vault cannot be found or created."))
}
}
}
}
}
}
}
}
, Sig: 3045022100e8286956ee...01696f303a387c7d3582, SigAlgorithm: secp256k1, ValidAfterBlockNumber: 1124711
Oct 27, 2021 @ 23:03:56.559 mainnet-node10 PreCharging 040ca56dd5e4de76fa7a133d867c39a50a5be046e2a3ea13e2b137173f716751c1d9769d28bd85602e384c6151ab9f392647dc54420ef35225fa9a197737f675b4 for 250000
Oct 27, 2021 @ 23:03:57.792 mainnet-node10 Deploy failure 'Deploy payment failed: Insufficient funds'

Public address 040ca56dd5e4de76fa7a133d867c39a50a5be046e2a3ea13e2b137173f716751c1d9769d28bd85602e384c6151ab9f392647dc54420ef35225fa9a197737f675b4 is related to 11112wJCEc1wCiYBTeztkYx6H4NBJ2hp6kJ4Caui1JK1xYt6hFDAnM not the sender address

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant