-
Notifications
You must be signed in to change notification settings - Fork 441
Open
Labels
🐞 bugSomething isn't workingSomething isn't working
Description
Weird RPC error when uploading package with huge string variable
Description
This was tested with a big string variable, but I'll try with other combinations
several variables with shorter strings.
When trying to publish a package I got the following error:
gnokey maketx addpkg \
-gas-fee 100000ugnot \
-gas-wanted 100_000_000 \
-broadcast \
-chainid "dev" \
-pkgdir "." \
-pkgpath "gno.land/p/samcrew/testbug/hugepkg" \
-remote "http://localhost:26657" \
MyKey
Enter password.
--= Error =--
Data: unable to call RPC method abci_query, http request / response ID mismatch
Msg Traces:
0 gno/tm2/pkg/crypto/keys/client/broadcast.go:174 - simulate tx
1 gno/tm2/pkg/crypto/keys/client/maketx.go:215 - broadcast tx
--= /Error =--The file that produces this output
package main
import "fmt"
var text = `
sdsdsdsdsdsdsdsdsdsdsdsdsdsdsdsdsdsdsdsdsdsdsdsdsdsdsdsd
sdsdsdsdsdsdsdsdsdsdsdsdsdsdsdsdsdsdsdsdsdsdsdsdsdsdsdsd
sdsdsdsdsdsdsdsdsdsdsdsdsdsdsdsdsdsdsdsdsdsdsdsdsdsdsdsd
...
// totaling 24k lines
`
func main() {
fmt.Println(text)
}This works fine on Golang when doing go run
Metadata
Metadata
Assignees
Labels
🐞 bugSomething isn't workingSomething isn't working
Type
Projects
Status
Triage