Skip to content

Move generate_only and simulate to baseReq in REST txs #3056

@fedekunze

Description

@fedekunze

Summary

Move generate_only and simulate from query params to baseReq in POST endpoints

Proposal and Problem Definition

Currently they are set as query parameters, it'd be much simpler to move them within the baseReq with default value false. Then we won't need to parse them or have functions like HasGenerateOnlyArg and HasDryRunArg.

cc: @jackzampolin @alexanderbez @alessio


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions