Daniel Porteous (dport)

Results 207 issues of Daniel Porteous (dport)

### Description In this PR I add the API spec explorer directly to the docs site. I use the Stoplight elements packages directly to do this. This isn't ready to...

### Description In this PR I make it clearer which endpoints return transactions in which states. I also remove a todo about `/encode_submission`. We shouldn't be encouraging people to use...

### Description We're experimenting with moving to pnpm over yarn: https://aptos-org.slack.com/archives/C03N83P7QUC/p1667514786627619. Starting from the top with the dev docs site. I used `pnpm import`. ### Test Plan I tested locally,...

This works: ``` $ curl https://fullnode.devnet.aptoslabs.com/v1/accounts/0xba2fd5c5f69a58231d9fedb50ee6f5b136b3d5e592e7448fc0f3f46ad5c61966/resource/0xba2fd5c5f69a58231d9fedb50ee6f5b136b3d5e592e7448fc0f3f46ad5c61966::nicknames::Nicknames {"type":"0xba2fd5c5f69a58231d9fedb50ee6f5b136b3d5e592e7448fc0f3f46ad5c61966::nicknames::Nicknames","data":{"nickname_to_addr":{"handle":"0x2194fda9c44a531b857f998de6b3130dcc3ed98fd43a7b34dad2178bd354ff8e"}}} ``` Whereas this does not: ``` $ curl https://fullnode.devnet.aptoslabs.com/v1/accounts/0xba2fd5c5f69a58231d9fedb50ee6f5b136b3d5e592e7448fc0f3f46ad5c61966/resource/ba2fd5c5f69a58231d9fedb50ee6f5b136b3d5e592e7448fc0f3f46ad5c61966::nicknames::Nicknames {"message":"failed to parse path `resource_type`: failed to parse \"string(MoveStructTag)\": invalid struct tag: ba2fd5c5f69a58231d9fedb50ee6f5b136b3d5e592e7448fc0f3f46ad5c61966::nicknames::Nicknames, unexpected...

bug
interface

Currently you have to construct a nasty event key yourself when using the API that looks like this: ``` 0x000000000000000088fbd33f54e1126269769780feb24480428179f552e2313fbe571b72e62a1ca1 ``` Really this is a concatenation of the creation number...

enhancement
interface

if the client hangs up mid request, the future stops getting polled and instead gets dropped. This means the middleware logging never happens. Instead we need to do the logging...

bug
interface

For example, if we assume adding a new variant to the error enum returned as JSON is non-breaking, write a test that asserts that the client can indeed read the...

enhancement
interface

The node API, in the error case, invariably returns an AptosError, no matter what. The TS SDK however only returns an ApiError in the non 2xx case. This means the...

enhancement
interface

We have a few places already where we duplicate the functionality of parsing a `EntryFunctionId`. We should add a helper that does this, like this: ``` class EntryFunctionIdStruct { address,...

enhancement
interface

As it is today, in both v0 and v1 APIs, the size limit checking only checks that the Content-Length header is present and its value is below a configured maximum....

bug
interface