#Reinstalling Contracts not being indexed by Stellar.Expert or StellarChain

5 messages · Page 1 of 1 (latest)

frank sonnet
#

I was experimenting reinstalling some contracts, and I realize that this type of transctions are not currently being shown in Stellar.Expert, nor at StellarChain

I created a new account and funded it with 120 XLM: https://stellar.expert/explorer/public/account/GCFQZHQO555QMHBUBUR7ZUOHX22ZPG2BUHMBQCTPW3POTMFME5GWVPVH

I ran the soroban install command, I got a wasm hash as a result, but nothing is bein shown at the Explorer level.,
However, I see that now, the account balance is around 90.. so the install command did spent around 30 XLM

To reproduce:

git clone https://github.com/soroswap/core

cd core

soroban keys add --secret-key reinstaller
# paste secret key

soroban keys address reinstaller
#check address and fund if necesary


soroban contract install --wasm ./public/mainnet-deployment-2024-03/soroswap_router.optimized.wasm  --source-account reinstaller --rpc-url $MAINNET_RPC --network-passphrase 'Public Global Stellar Network ; September 2015' --network mainnet

The wsm hash output I got, which is indeed the wasm hash of the previously installed contract

4c3db3ebd2d6a2ab23de1f622eaabb39501539b4611b68622ec4e47f76c4ba07
#

Context: At Soroswap we deployed our contrcats before Stellar.Expert was linlking contracts with source codes.

We did implement all the github workflow... but is working only for new deployed smart contracts ...
Ans as Soroswap contracts are not upreadable... I was lookin for workarounds

If you check https://stellar.expert/explorer/testnet/contract/CCPEDSWPNWJTRIODNYO3THDJ6RYTMMAMDCGAIORRISXKGYU632Y475IF you can see that the source code is linked

I was testing if maybe I reinstalled the contracts this would work

frank sonnet
#

@viscid geyser

viscid geyser
# frank sonnet <@788100508463398974>

I don't quite understand what you expect to see. All your transactions. The last one is the contract code deployment. You deployed the source code, but didn't update the contract with the new hash. Could you please point out what I'm missing here?

frank sonnet