#Getting TxSorobanInvalid when trying to restore contract via CLI

4 messages · Page 1 of 1 (latest)

true frigate
#

I'm trying to restore a contract that I deployed on the public network a while back, but I'm getting TxSorobanInvalid errors. There doesn't seem to be much information in the error result. Anyone have a clue what could be causing this?

Transaction XDR: AAAAAgAAAAAeh3zIMV6ujfg+0jNnnwYK6+VNilU7TS0/XXZyz/BJQACYloADA/K3AAAAbAAAAAAAAAAAAAAAAQAAAAAAAAAaAAAAAAAAAAEAAAAAAAAAAAAAAAEAAAAHi2tfspcJEwD6MDoiR1vvDeJhH94zrXN2XWEhIRXS2W4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=

woeful gull
#

I'm not sure why is there no diagnostic events that clarify the error (typically there should be some). but just from looking at your transaction I can tell that it hasn't been simulated properly - your resource fee is 0, as well as your read/write bytes

#

not sure why did RPC not properly simulate it though