Increase low gas limits everywhere to 10000
This commit is contained in:
parent
bb7820cfd7
commit
838a50be39
@ -62,7 +62,7 @@ var sendCmd = &cli.Command{
|
|||||||
From: fromAddr,
|
From: fromAddr,
|
||||||
To: toAddr,
|
To: toAddr,
|
||||||
Value: types.BigInt(val),
|
Value: types.BigInt(val),
|
||||||
GasLimit: 1000,
|
GasLimit: 10000,
|
||||||
GasPrice: types.NewInt(0),
|
GasPrice: types.NewInt(0),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -190,7 +190,7 @@ func (h *handler) send(w http.ResponseWriter, r *http.Request) {
|
|||||||
To: to,
|
To: to,
|
||||||
|
|
||||||
GasPrice: types.NewInt(0),
|
GasPrice: types.NewInt(0),
|
||||||
GasLimit: 1000,
|
GasLimit: 10000,
|
||||||
})
|
})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
w.WriteHeader(400)
|
w.WriteHeader(400)
|
||||||
@ -256,7 +256,7 @@ func (h *handler) mkminer(w http.ResponseWriter, r *http.Request) {
|
|||||||
To: owner,
|
To: owner,
|
||||||
|
|
||||||
GasPrice: types.NewInt(0),
|
GasPrice: types.NewInt(0),
|
||||||
GasLimit: 1000,
|
GasLimit: 10000,
|
||||||
})
|
})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
w.WriteHeader(400)
|
w.WriteHeader(400)
|
||||||
|
@ -89,7 +89,7 @@ var noncefix = &cli.Command{
|
|||||||
From: addr,
|
From: addr,
|
||||||
To: addr,
|
To: addr,
|
||||||
Value: types.NewInt(1),
|
Value: types.NewInt(1),
|
||||||
GasLimit: 1000,
|
GasLimit: 10000,
|
||||||
GasPrice: types.NewInt(1),
|
GasPrice: types.NewInt(1),
|
||||||
Nonce: i,
|
Nonce: i,
|
||||||
}
|
}
|
||||||
|
@ -4,7 +4,7 @@ import { Tagged } from 'borc'
|
|||||||
|
|
||||||
async function pushMessage(client, from, inmsg) {
|
async function pushMessage(client, from, inmsg) {
|
||||||
if(!inmsg.GasLimit) {
|
if(!inmsg.GasLimit) {
|
||||||
inmsg.GasLimit = "1000"
|
inmsg.GasLimit = "10000"
|
||||||
}
|
}
|
||||||
if(!inmsg.GasPrice) {
|
if(!inmsg.GasPrice) {
|
||||||
inmsg.GasPrice = "0"
|
inmsg.GasPrice = "0"
|
||||||
|
@ -125,7 +125,7 @@ func (a *PaychAPI) PaychClose(ctx context.Context, addr address.Address) (cid.Ci
|
|||||||
Method: builtin.MethodsPaych.Settle,
|
Method: builtin.MethodsPaych.Settle,
|
||||||
Nonce: nonce,
|
Nonce: nonce,
|
||||||
|
|
||||||
GasLimit: 500,
|
GasLimit: 10000,
|
||||||
GasPrice: types.NewInt(0),
|
GasPrice: types.NewInt(0),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user