File tree Expand file tree Collapse file tree 3 files changed +8
-4
lines changed
Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " @agoric/react-components" ,
3- "version" : " 0.5.1 " ,
3+ "version" : " 0.5.2 " ,
44 "repository" : {
55 "type" : " git" ,
66 "url" : " https://github.com/agoric/ui-kit"
Original file line number Diff line number Diff line change 33 "description" : " Webcomponents for Agoric dapps" ,
44 "license" : " Apache-2.0" ,
55 "author" : " Agoric" ,
6- "version" : " 0.17.1 " ,
6+ "version" : " 0.17.2 " ,
77 "main" : " dist/index.js" ,
88 "scripts" : {
99 "prepack" : " tsc --build tsconfig.build.json" ,
Original file line number Diff line number Diff line change @@ -18,11 +18,15 @@ const PowerFlags = {
1818 SMART_WALLET : 'SMART_WALLET' ,
1919} ;
2020
21+ // Empirically Keplr seems to use 15000 ubld and 300000 gas for medium fee preset.
22+ const defaultFeeAmount = '15000' ;
23+ const defaultFeeGas = '300000' ;
24+
2125const defaultFee = ( ) : StdFee => {
2226 const { coinMinimalDenom : denom } = stakeCurrency ;
2327 const fee = {
24- amount : [ { amount : '15000' , denom } ] ,
25- gas : '300000' , // TODO: estimate gas?
28+ amount : [ { amount : defaultFeeAmount , denom } ] ,
29+ gas : defaultFeeGas , // TODO: estimate gas?
2630 } ;
2731 return fee ;
2832} ;
You can’t perform that action at this time.
0 commit comments