Insufficient funds of the fee payer for gas * price 오류가 발생하였습니다

안녕하세요.

baobab에서 transfer를 호출 했을 때 오류가 발생하였는데 그때 문구는
"insufficient funds of the fee payer for gas * price"로 오류 응답이 발생했습니다

feePayer지갑(0xe6cb02f70943e3fe3565ec75ca36c3bc466e1a57)에 클레이 잔고는 “9.299499925” Klay가 있었는데도 해당 오류가 발생했습니다

현재 가스비 증가에 따른 문제인거 같았는데 메일에 적힌 "klay_gasPrice"도 호출되는것을 확인했는데도 오류가 발생하였습니다. 아래는 JUnit 테스트로 돌렸을 때 오류로그 입니다.

어떤 부분을 수정해야할 지 문의드립니다.

DEBUG org.web3j.protocol.http.HttpService:176 - Content-Type: application/json; charset=utf-8
DEBUG org.web3j.protocol.http.HttpService:179 - Content-Length: 126
DEBUG org.web3j.protocol.http.HttpService:294 - Authorization: Basic S0FTS09HTTVMMkoyTFZFSVlKVzhZS01DOmo4RFpISG5SZktkZzdub3EzR3JwWld0WGhJYjZ0SEQ2YitUeFcrVXo=
DEBUG org.web3j.protocol.http.HttpService:294 - x-chain-id: 1001
DEBUG org.web3j.protocol.http.HttpService:208 - 
DEBUG org.web3j.protocol.http.HttpService:210 - {"jsonrpc":"2.0","method":"klay_getTransactionCount","params":["0xfe774270cdc6b546cefbc4f31a3b8bab0f2cf4c0","pending"],"id":1}
DEBUG org.web3j.protocol.http.HttpService:211 - --> END POST (126-byte body)
DEBUG org.web3j.protocol.http.HttpService:233 - <-- 200 OK https://node-api.klaytnapi.com/v1/klaytn (20ms)
DEBUG org.web3j.protocol.http.HttpService:294 - content-length: 40
DEBUG org.web3j.protocol.http.HttpService:294 - content-type: application/json
DEBUG org.web3j.protocol.http.HttpService:294 - date: Mon, 07 Mar 2022 08:01:17 GMT
DEBUG org.web3j.protocol.http.HttpService:294 - server: istio-envoy
DEBUG org.web3j.protocol.http.HttpService:294 - vary: Origin
DEBUG org.web3j.protocol.http.HttpService:294 - x-envoy-upstream-service-time: 3
DEBUG org.web3j.protocol.http.HttpService:276 - 
DEBUG org.web3j.protocol.http.HttpService:277 - {"jsonrpc":"2.0","id":1,"result":"0xb"}
DEBUG org.web3j.protocol.http.HttpService:284 - <-- END HTTP (40-byte body)
DEBUG org.web3j.protocol.http.HttpService:169 - --> POST https://node-api.klaytnapi.com/v1/klaytn
DEBUG org.web3j.protocol.http.HttpService:176 - Content-Type: application/json; charset=utf-8
DEBUG org.web3j.protocol.http.HttpService:179 - Content-Length: 60
DEBUG org.web3j.protocol.http.HttpService:294 - Authorization: Basic S0FTS09HTTVMMkoyTFZFSVlKVzhZS01DOmo4RFpISG5SZktkZzdub3EzR3JwWld0WGhJYjZ0SEQ2YitUeFcrVXo=
DEBUG org.web3j.protocol.http.HttpService:294 - x-chain-id: 1001
DEBUG org.web3j.protocol.http.HttpService:208 - 
DEBUG org.web3j.protocol.http.HttpService:210 - {"jsonrpc":"2.0","method":"klay_chainID","params":[],"id":2}
DEBUG org.web3j.protocol.http.HttpService:211 - --> END POST (60-byte body)
DEBUG org.web3j.protocol.http.HttpService:233 - <-- 200 OK https://node-api.klaytnapi.com/v1/klaytn (23ms)
DEBUG org.web3j.protocol.http.HttpService:294 - content-length: 42
DEBUG org.web3j.protocol.http.HttpService:294 - content-type: application/json
DEBUG org.web3j.protocol.http.HttpService:294 - date: Mon, 07 Mar 2022 08:01:17 GMT
DEBUG org.web3j.protocol.http.HttpService:294 - server: istio-envoy
DEBUG org.web3j.protocol.http.HttpService:294 - vary: Origin
DEBUG org.web3j.protocol.http.HttpService:294 - x-envoy-upstream-service-time: 2
DEBUG org.web3j.protocol.http.HttpService:276 - 
DEBUG org.web3j.protocol.http.HttpService:277 - {"jsonrpc":"2.0","id":2,"result":"0x3e9"}
DEBUG org.web3j.protocol.http.HttpService:284 - <-- END HTTP (42-byte body)
DEBUG org.web3j.protocol.http.HttpService:169 - --> POST https://node-api.klaytnapi.com/v1/klaytn
DEBUG org.web3j.protocol.http.HttpService:176 - Content-Type: application/json; charset=utf-8
DEBUG org.web3j.protocol.http.HttpService:179 - Content-Length: 61
DEBUG org.web3j.protocol.http.HttpService:294 - Authorization: Basic S0FTS09HTTVMMkoyTFZFSVlKVzhZS01DOmo4RFpISG5SZktkZzdub3EzR3JwWld0WGhJYjZ0SEQ2YitUeFcrVXo=
DEBUG org.web3j.protocol.http.HttpService:294 - x-chain-id: 1001
DEBUG org.web3j.protocol.http.HttpService:208 - 
DEBUG org.web3j.protocol.http.HttpService:210 - {"jsonrpc":"2.0","method":"klay_gasPrice","params":[],"id":3}
DEBUG org.web3j.protocol.http.HttpService:211 - --> END POST (61-byte body)
DEBUG org.web3j.protocol.http.HttpService:233 - <-- 200 OK https://node-api.klaytnapi.com/v1/klaytn (22ms)
DEBUG org.web3j.protocol.http.HttpService:294 - content-length: 49
DEBUG org.web3j.protocol.http.HttpService:294 - content-type: application/json
DEBUG org.web3j.protocol.http.HttpService:294 - date: Mon, 07 Mar 2022 08:01:17 GMT
DEBUG org.web3j.protocol.http.HttpService:294 - server: istio-envoy
DEBUG org.web3j.protocol.http.HttpService:294 - vary: Origin
DEBUG org.web3j.protocol.http.HttpService:294 - x-envoy-upstream-service-time: 2
DEBUG org.web3j.protocol.http.HttpService:276 - 
DEBUG org.web3j.protocol.http.HttpService:277 - {"jsonrpc":"2.0","id":3,"result":"0xae9f7bcc00"}
DEBUG org.web3j.protocol.http.HttpService:284 - <-- END HTTP (49-byte body)
DEBUG org.web3j.protocol.http.HttpService:169 - --> POST https://node-api.klaytnapi.com/v1/klaytn
DEBUG org.web3j.protocol.http.HttpService:176 - Content-Type: application/json; charset=utf-8
DEBUG org.web3j.protocol.http.HttpService:179 - Content-Length: 809
DEBUG org.web3j.protocol.http.HttpService:294 - Authorization: Basic S0FTS09HTTVMMkoyTFZFSVlKVzhZS01DOmo4RFpISG5SZktkZzdub3EzR3JwWld0WGhJYjZ0SEQ2YitUeFcrVXo=
DEBUG org.web3j.protocol.http.HttpService:294 - x-chain-id: 1001
DEBUG org.web3j.protocol.http.HttpService:208 - 
DEBUG org.web3j.protocol.http.HttpService:210 - {"jsonrpc":"2.0","method":"klay_sendRawTransaction","params":["0x31f9016b0b85ae9f7bcc008401312d00947fc406663bee9b12845c83439e9b4c6c19cd4d1a8094fe774270cdc6b546cefbc4f31a3b8bab0f2cf4c0b844a9059cbb00000000000000000000000030f645dcce248679dbb51024c85865bcbed9b7f80000000000000000000000000000000000000000000000000de0b6b3a7640000f88ef8458207f5a016b42d04bf7b449ebacc61bf074f2329938b379d286f0702ba647a042453c9efa058fee434f4a4bffece25934b8b116ae4883b253a056efaa282e5d2e1417a1a69f8458207f6a07d48a15508f88d496bd79342f4dc807acfd6c591a6ee2a5c961a098f0dd8097aa06ca4caaca9526da1f8727297b53ffac33e08b48db1453cea4c24246e895a3d0794e6cb02f70943e3fe3565ec75ca36c3bc466e1a57f847f8458207f5a09a8a1109d627839e2e7315c7c9d85e2a253d55c725dbf4f614dbfdb2cf915b4ba05a9c6f036dda410e0917558680cfd5104bc01f0c12fa4a9f3435f7f629b6353c"],"id":4}
DEBUG org.web3j.protocol.http.HttpService:211 - --> END POST (809-byte body)
DEBUG org.web3j.protocol.http.HttpService:233 - <-- 200 OK https://node-api.klaytnapi.com/v1/klaytn (23ms)
DEBUG org.web3j.protocol.http.HttpService:294 - content-length: 110
DEBUG org.web3j.protocol.http.HttpService:294 - content-type: application/json
DEBUG org.web3j.protocol.http.HttpService:294 - date: Mon, 07 Mar 2022 08:01:17 GMT
DEBUG org.web3j.protocol.http.HttpService:294 - server: istio-envoy
DEBUG org.web3j.protocol.http.HttpService:294 - vary: Origin
DEBUG org.web3j.protocol.http.HttpService:294 - x-envoy-upstream-service-time: 3
DEBUG org.web3j.protocol.http.HttpService:276 - 
DEBUG org.web3j.protocol.http.HttpService:277 - {"jsonrpc":"2.0","id":4,"error":{"code":-32000,"message":"invalid transaction v, r, s values of the sender"}}
DEBUG org.web3j.protocol.http.HttpService:284 - <-- END HTTP (110-byte body)
DEBUG org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate:137 - Retrieved ApplicationContext [622772003] from cache with key [[WebMergedContextConfiguration@311bf055 testClass = Example, locations = '{}', classes = '{class test}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@3835c46, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@20ce78ec, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@1a451d4d, org.springframework.boot.test.autoconfigure.actuate.metrics.MetricsExportContextCustomizerFactory$DisableMetricExportContextCustomizer@6aba2b86, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@7ec7ffd3, org.springframework.boot.test.context.SpringBootTestArgs@1, org.springframework.boot.test.context.SpringBootTestWebEnvironment@1d76aeea], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]]]
DEBUG org.springframework.test.context.cache:290 - Spring test ApplicationContext cache statistics: [DefaultContextCache@11fb4f69 size = 1, maxSize = 32, parentContextCount = 0, hitCount = 6, missCount = 1]
DEBUG com.ulisesbocchio.jasyptspringboot.configuration.EnableEncryptablePropertiesBeanFactoryPostProcessor:64 - Application Event Raised: AfterTestExecutionEvent
DEBUG com.ulisesbocchio.jasyptspringboot.configuration.EnableEncryptablePropertiesBeanFactoryPostProcessor:64 - Application Event Raised: AfterTestExecutionEvent
DEBUG org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate:137 - Retrieved ApplicationContext [622772003] from cache with key [[WebMergedContextConfiguration@311bf055 testClass = Example, locations = '{}', classes = '{class test}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@3835c46, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@20ce78ec, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@1a451d4d, org.springframework.boot.test.autoconfigure.actuate.metrics.MetricsExportContextCustomizerFactory$DisableMetricExportContextCustomizer@6aba2b86, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@7ec7ffd3, org.springframework.boot.test.context.SpringBootTestArgs@1, org.springframework.boot.test.context.SpringBootTestWebEnvironment@1d76aeea], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]]]
DEBUG org.springframework.test.context.cache:290 - Spring test ApplicationContext cache statistics: [DefaultContextCache@11fb4f69 size = 1, maxSize = 32, parentContextCount = 0, hitCount = 7, missCount = 1]
DEBUG org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate:137 - Retrieved ApplicationContext [622772003] from cache with key [[WebMergedContextConfiguration@311bf055 testClass = Example, locations = '{}', classes = '{class test}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@3835c46, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@20ce78ec, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@1a451d4d, org.springframework.boot.test.autoconfigure.actuate.metrics.MetricsExportContextCustomizerFactory$DisableMetricExportContextCustomizer@6aba2b86, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@7ec7ffd3, org.springframework.boot.test.context.SpringBootTestArgs@1, org.springframework.boot.test.context.SpringBootTestWebEnvironment@1d76aeea], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]]]
DEBUG org.springframework.test.context.cache:290 - Spring test ApplicationContext cache statistics: [DefaultContextCache@11fb4f69 size = 1, maxSize = 32, parentContextCount = 0, hitCount = 8, missCount = 1]
DEBUG org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate:137 - Retrieved ApplicationContext [622772003] from cache with key [[WebMergedContextConfiguration@311bf055 testClass = Example, locations = '{}', classes = '{class test}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@3835c46, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@20ce78ec, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@1a451d4d, org.springframework.boot.test.autoconfigure.actuate.metrics.MetricsExportContextCustomizerFactory$DisableMetricExportContextCustomizer@6aba2b86, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@7ec7ffd3, org.springframework.boot.test.context.SpringBootTestArgs@1, org.springframework.boot.test.context.SpringBootTestWebEnvironment@1d76aeea], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]]]
DEBUG org.springframework.test.context.cache:290 - Spring test ApplicationContext cache statistics: [DefaultContextCache@11fb4f69 size = 1, maxSize = 32, parentContextCount = 0, hitCount = 9, missCount = 1]
DEBUG org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate:137 - Retrieved ApplicationContext [622772003] from cache with key [[WebMergedContextConfiguration@311bf055 testClass = Example, locations = '{}', classes = '{class test}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@3835c46, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@20ce78ec, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@1a451d4d, org.springframework.boot.test.autoconfigure.actuate.metrics.MetricsExportContextCustomizerFactory$DisableMetricExportContextCustomizer@6aba2b86, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@7ec7ffd3, org.springframework.boot.test.context.SpringBootTestArgs@1, org.springframework.boot.test.context.SpringBootTestWebEnvironment@1d76aeea], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]]]
DEBUG org.springframework.test.context.cache:290 - Spring test ApplicationContext cache statistics: [DefaultContextCache@11fb4f69 size = 1, maxSize = 32, parentContextCount = 0, hitCount = 10, missCount = 1]
DEBUG org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate:137 - Retrieved ApplicationContext [622772003] from cache with key [[WebMergedContextConfiguration@311bf055 testClass = Example, locations = '{}', classes = '{class test}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@3835c46, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@20ce78ec, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@1a451d4d, org.springframework.boot.test.autoconfigure.actuate.metrics.MetricsExportContextCustomizerFactory$DisableMetricExportContextCustomizer@6aba2b86, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@7ec7ffd3, org.springframework.boot.test.context.SpringBootTestArgs@1, org.springframework.boot.test.context.SpringBootTestWebEnvironment@1d76aeea], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]]]
DEBUG org.springframework.test.context.cache:290 - Spring test ApplicationContext cache statistics: [DefaultContextCache@11fb4f69 size = 1, maxSize = 32, parentContextCount = 0, hitCount = 11, missCount = 1]
DEBUG com.ulisesbocchio.jasyptspringboot.configuration.EnableEncryptablePropertiesBeanFactoryPostProcessor:64 - Application Event Raised: AfterTestMethodEvent
DEBUG com.ulisesbocchio.jasyptspringboot.configuration.EnableEncryptablePropertiesBeanFactoryPostProcessor:64 - Application Event Raised: AfterTestMethodEvent
DEBUG org.springframework.test.context.support.AbstractDirtiesContextTestExecutionListener:108 - After test method: context [DefaultTestContext@6d5620ce testClass = Example, testInstance = test.klaytn.Example@57596d71, testMethod = privateKeyTransfer@Example, testException = java.io.IOException: invalid transaction v, r, s values of the sender, mergedContextConfiguration = [WebMergedContextConfiguration@311bf055 testClass = Example, locations = '{}', classes = '{class test}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@3835c46, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@20ce78ec, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@1a451d4d, org.springframework.boot.test.autoconfigure.actuate.metrics.MetricsExportContextCustomizerFactory$DisableMetricExportContextCustomizer@6aba2b86, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@7ec7ffd3, org.springframework.boot.test.context.SpringBootTestArgs@1, org.springframework.boot.test.context.SpringBootTestWebEnvironment@1d76aeea], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.web.ServletTestExecutionListener.activateListener' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.populatedRequestContextHolder' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.resetRequestContextHolder' -> true, 'org.springframework.test.context.event.ApplicationEventsTestExecutionListener.recordApplicationEvents' -> false]], class annotated with @DirtiesContext [false] with mode [null], method annotated with @DirtiesContext [false] with mode [null].
DEBUG org.springframework.test.context.web.ServletTestExecutionListener:166 - Resetting RequestContextHolder for test context [DefaultTestContext@6d5620ce testClass = Example, testInstance = test.klaytn.Example@57596d71, testMethod = privateKeyTransfer@Example, testException = java.io.IOException: invalid transaction v, r, s values of the sender, mergedContextConfiguration = [WebMergedContextConfiguration@311bf055 testClass = Example, locations = '{}', classes = '{class test}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@3835c46, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@20ce78ec, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@1a451d4d, org.springframework.boot.test.autoconfigure.actuate.metrics.MetricsExportContextCustomizerFactory$DisableMetricExportContextCustomizer@6aba2b86, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@7ec7ffd3, org.springframework.boot.test.context.SpringBootTestArgs@1, org.springframework.boot.test.context.SpringBootTestWebEnvironment@1d76aeea], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.web.ServletTestExecutionListener.activateListener' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.populatedRequestContextHolder' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.resetRequestContextHolder' -> true, 'org.springframework.test.context.event.ApplicationEventsTestExecutionListener.recordApplicationEvents' -> false]].

-- 서버로그 추가
java.io.IOException: insufficient funds of the fee payer for gas * price
at com.klaytn.caver.contract.ContractMethod.sendTransaction(ContractMethod.java:1067)
at com.klaytn.caver.contract.ContractMethod.send(ContractMethod.java:290)

@ToTheMoon

안녕하세요.
트랜잭션 객체를 만드실 때 어떻게 구성하셨는지 공유 부탁드려요.
트랜잭션 객체 생성하는 코드부분 공유해주시면 될 거 같습니다.

트랜잭션 속성값들이 모두 보였으면 합니다 :slight_smile:

@Denver

어제 밤에 소스를 전체적으로 훓어보았는데 오류는 해결했습니다
제가 댓글을 추가한다고 했는데 깜박했습니다…

근데 이해가 가지 않는 부분이 있습니다.

transfer하면서

SendOption sendOption = this.getDefaultSendOprions();
sendOptions.setFrom(fromAddress);
sendOptions.setGas(BigInteger.valueOf(20000000));

sendOption에 From의 주소와 GAS비용을 설정해주고 setDefaultSendOptions()를 호출하지 않았습니다.

그리고 trnasfer함수를 호출할때는

public TransactionReceipt.TransactionReceiptData transfer(String recipient, BigInteger amount) throws NoSuchMethodException, TransactionException, IOException, InstantiationException, IllegalAccessException, InvocationTargetException, ClassNotFoundException {
        return transfer(recipient, amount, this.getDefaultSendOptions());
    }

이런식으로 to주소와 이체수량만 전달받고 getDefaultSendOptioins()를 사용해서 transfer를 호출했는데
해당 오류가 발생하네요…

sendOption의 설정을 하는 과정에서 "sendOptions.setGas(BigInteger.valueOf(20000000));“을 주석처리해서 설정을 안하면 정상적으로 동작하고 해당 부분의 주석을 해제하면 " Insufficient funds of the fee payer for gas * price” 이런 오류가 발생했는데 어떤 차이인지 모르겠습니다…