core: adjust storage update fees

Follow neo-project/neo#2033.
This commit is contained in:
Roman Khimov 2020-11-03 22:50:40 +03:00
parent 7121686571
commit d7502debba
2 changed files with 9 additions and 3 deletions

View file

@ -364,7 +364,9 @@ func TestStoragePut(t *testing.T) {
err := storagePut(ic)
require.True(t, errors.Is(err, errGasLimitExceeded), "got: %v", err)
})
initVM(t, []byte{4}, []byte{5, 6, 7, 8}, 2*StoragePrice)
initVM(t, []byte{4}, []byte{5, 6, 7, 8}, 3*StoragePrice)
require.NoError(t, storagePut(ic))
initVM(t, []byte{4}, []byte{5, 6}, StoragePrice)
require.NoError(t, storagePut(ic))
})
}