fix: use bigint for gas_used in message receipt
- prevents overflows
This commit is contained in:
parent
e21ea5355f
commit
08006bce3d
@ -74,7 +74,7 @@ create table if not exists receipts
|
|||||||
state text not null,
|
state text not null,
|
||||||
idx int not null,
|
idx int not null,
|
||||||
exit int not null,
|
exit int not null,
|
||||||
gas_used int not null,
|
gas_used bigint not null,
|
||||||
return bytea,
|
return bytea,
|
||||||
constraint receipts_pk
|
constraint receipts_pk
|
||||||
primary key (msg, state)
|
primary key (msg, state)
|
||||||
|
Loading…
Reference in New Issue
Block a user