You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<!-- Reference any GitHub issues resolved by this PR -->
Closes#410
## Introduced changes
<!-- A brief description of the changes -->
- display `max_fee` as int unless `--hex-format` is specified for it
## Breaking changes
<!-- List of all breaking changes, if applicable -->
## Checklist
<!-- Make sure all of these are complete -->
- [x] Linked relevant issue
- [x] Updated relevant documentation
- [x] Added relevant tests
- [x] Performed self-review of the code
- [x] Added changes to `CHANGELOG.md`
println!("Account successfully created. Prefund generated address with at least {max_fee} tokens. It is good to send more in the case of higher demand, max_fee * 2 = {}", max_fee *2);
97
-
output.push(("max_fee",format!("{max_fee:#x}")));
100
+
// For default and Int it should be in int
101
+
let max_fee_str = value_format.format_u64(max_fee);
102
+
output.push(("max_fee", max_fee_str));
98
103
}
99
104
100
105
if add_profile {
@@ -106,7 +111,7 @@ pub async fn create(
106
111
107
112
Ok(AccountCreateResponse{
108
113
address,
109
-
max_fee:FieldElement::from(max_fee),
114
+
max_fee,
110
115
add_profile:if add_profile {
111
116
"Profile successfully added to Scarb.toml".to_string()
0 commit comments