Closed oday0311 closed 2 years ago
I test about 7.5 MB file for upload to arweave is ok your case return 400, means your transaction signature verify failed. please check your tx signature, you can use utils.VerifyTransaction() function to check your sign
I am using the same code and account just change the data part from data := make([]byte, 255 1024) to data := make([]byte, 255 1024 * 10),
can you try this sample? func TestWallet_SendDataSpeedUp01(t *testing.T) {
it is ok
I have the same error. @oday0311, how did you solve it?
@dmitrymomot , I skip this , I still think there maybe some bug in this, but not that important to me , so I turn to some other place.
sample 1), data is less than one chunk, will success
func TestWallet_SendDataSpeedUp01(t *testing.T) { // arNode := "https://arweave.net" // w, err := NewWalletFromPath("./example/testKey.json", arNode) // your wallet private key // assert.NoError(t, err)
}
==========================
sample 2) data size 10 chunks. return with the following error: Unable to upload Transaction: 400,, Transaction verification failed.
func TestWallet_SendDataSpeedUp01(t *testing.T) { // arNode := "https://arweave.net" // w, err := NewWalletFromPath("./example/testKey.json", arNode) // your wallet private key // assert.NoError(t, err)
}