fix: use bigint for gas_used in message receipt

- prevents overflows
This commit is contained in:
frrist
2020-07-21 08:49:27 -07:00
parent e21ea5355f
commit 08006bce3d
+1 -1
View File
@@ -74,7 +74,7 @@ create table if not exists receipts
state text not null,
idx int not null,
exit int not null,
gas_used int not null,
gas_used bigint not null,
return bytea,
constraint receipts_pk
primary key (msg, state)